@edifice.io/react 2.6.2-develop-b2school.20260803144443 → 2.6.2-develop-b2school.20260803165213
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/icons.js +340 -338
- package/dist/modules/homepage/components/HomeCard/HomeCard.d.ts +5 -1
- package/dist/modules/homepage/components/HomeCard/HomeCard.js +10 -2
- package/dist/modules/homepage/components/UserSpace/UserSpace.js +5 -2
- package/dist/modules/homepage/components/UserSpace/hooks/useChildren.d.ts +14 -0
- package/dist/modules/homepage/components/UserSpace/hooks/useChildren.js +23 -0
- package/dist/modules/homepage/components/UserSpace/hooks/useProfileLinks.d.ts +8 -0
- package/dist/modules/homepage/components/UserSpace/hooks/useProfileLinks.js +65 -0
- package/dist/modules/icons/components/IconClass.d.ts +7 -0
- package/dist/modules/icons/components/IconClass.js +13 -0
- package/dist/modules/icons/components/index.d.ts +1 -0
- package/package.json +6 -6
package/dist/icons.js
CHANGED
|
@@ -30,175 +30,176 @@ import { default as default30 } from "./modules/icons/components/IconCantoo.js";
|
|
|
30
30
|
import { default as default31 } from "./modules/icons/components/IconCenter.js";
|
|
31
31
|
import { default as default32 } from "./modules/icons/components/IconCheck.js";
|
|
32
32
|
import { default as default33 } from "./modules/icons/components/IconChecklist.js";
|
|
33
|
-
import { default as default34 } from "./modules/icons/components/
|
|
34
|
-
import { default as default35 } from "./modules/icons/components/
|
|
35
|
-
import { default as default36 } from "./modules/icons/components/
|
|
36
|
-
import { default as default37 } from "./modules/icons/components/
|
|
37
|
-
import { default as default38 } from "./modules/icons/components/
|
|
38
|
-
import { default as default39 } from "./modules/icons/components/
|
|
39
|
-
import { default as default40 } from "./modules/icons/components/
|
|
40
|
-
import { default as default41 } from "./modules/icons/components/
|
|
41
|
-
import { default as default42 } from "./modules/icons/components/
|
|
42
|
-
import { default as default43 } from "./modules/icons/components/
|
|
43
|
-
import { default as default44 } from "./modules/icons/components/
|
|
44
|
-
import { default as default45 } from "./modules/icons/components/
|
|
45
|
-
import { default as default46 } from "./modules/icons/components/
|
|
46
|
-
import { default as default47 } from "./modules/icons/components/
|
|
47
|
-
import { default as default48 } from "./modules/icons/components/
|
|
48
|
-
import { default as default49 } from "./modules/icons/components/
|
|
49
|
-
import { default as default50 } from "./modules/icons/components/
|
|
50
|
-
import { default as default51 } from "./modules/icons/components/
|
|
51
|
-
import { default as default52 } from "./modules/icons/components/
|
|
52
|
-
import { default as default53 } from "./modules/icons/components/
|
|
53
|
-
import { default as default54 } from "./modules/icons/components/
|
|
54
|
-
import { default as default55 } from "./modules/icons/components/
|
|
55
|
-
import { default as default56 } from "./modules/icons/components/
|
|
56
|
-
import { default as default57 } from "./modules/icons/components/
|
|
57
|
-
import { default as default58 } from "./modules/icons/components/
|
|
58
|
-
import { default as default59 } from "./modules/icons/components/
|
|
59
|
-
import { default as default60 } from "./modules/icons/components/
|
|
60
|
-
import { default as default61 } from "./modules/icons/components/
|
|
61
|
-
import { default as default62 } from "./modules/icons/components/
|
|
62
|
-
import { default as default63 } from "./modules/icons/components/
|
|
63
|
-
import { default as default64 } from "./modules/icons/components/
|
|
64
|
-
import { default as default65 } from "./modules/icons/components/
|
|
65
|
-
import { default as default66 } from "./modules/icons/components/
|
|
66
|
-
import { default as default67 } from "./modules/icons/components/
|
|
67
|
-
import { default as default68 } from "./modules/icons/components/
|
|
68
|
-
import { default as default69 } from "./modules/icons/components/
|
|
69
|
-
import { default as default70 } from "./modules/icons/components/
|
|
70
|
-
import { default as default71 } from "./modules/icons/components/
|
|
71
|
-
import { default as default72 } from "./modules/icons/components/
|
|
72
|
-
import { default as default73 } from "./modules/icons/components/
|
|
73
|
-
import { default as default74 } from "./modules/icons/components/
|
|
74
|
-
import { default as default75 } from "./modules/icons/components/
|
|
75
|
-
import { default as default76 } from "./modules/icons/components/
|
|
76
|
-
import { default as default77 } from "./modules/icons/components/
|
|
77
|
-
import { default as default78 } from "./modules/icons/components/
|
|
78
|
-
import { default as default79 } from "./modules/icons/components/
|
|
79
|
-
import { default as default80 } from "./modules/icons/components/
|
|
80
|
-
import { default as default81 } from "./modules/icons/components/
|
|
81
|
-
import { default as default82 } from "./modules/icons/components/
|
|
82
|
-
import { default as default83 } from "./modules/icons/components/
|
|
83
|
-
import { default as default84 } from "./modules/icons/components/
|
|
84
|
-
import { default as default85 } from "./modules/icons/components/
|
|
85
|
-
import { default as default86 } from "./modules/icons/components/
|
|
86
|
-
import { default as default87 } from "./modules/icons/components/
|
|
87
|
-
import { default as default88 } from "./modules/icons/components/
|
|
88
|
-
import { default as default89 } from "./modules/icons/components/
|
|
89
|
-
import { default as default90 } from "./modules/icons/components/
|
|
90
|
-
import { default as default91 } from "./modules/icons/components/
|
|
91
|
-
import { default as default92 } from "./modules/icons/components/
|
|
92
|
-
import { default as default93 } from "./modules/icons/components/
|
|
93
|
-
import { default as default94 } from "./modules/icons/components/
|
|
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/
|
|
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/
|
|
187
|
-
import { default as default188 } from "./modules/icons/components/
|
|
188
|
-
import { default as default189 } from "./modules/icons/components/
|
|
189
|
-
import { default as default190 } from "./modules/icons/components/
|
|
190
|
-
import { default as default191 } from "./modules/icons/components/
|
|
191
|
-
import { default as default192 } from "./modules/icons/components/
|
|
192
|
-
import { default as default193 } from "./modules/icons/components/
|
|
193
|
-
import { default as default194 } from "./modules/icons/components/
|
|
194
|
-
import { default as default195 } from "./modules/icons/components/
|
|
195
|
-
import { default as default196 } from "./modules/icons/components/
|
|
196
|
-
import { default as default197 } from "./modules/icons/components/
|
|
197
|
-
import { default as default198 } from "./modules/icons/components/
|
|
198
|
-
import { default as default199 } from "./modules/icons/components/
|
|
199
|
-
import { default as default200 } from "./modules/icons/components/
|
|
200
|
-
import { default as default201 } from "./modules/icons/components/
|
|
201
|
-
import { default as default202 } from "./modules/icons/components/
|
|
33
|
+
import { default as default34 } from "./modules/icons/components/IconClass.js";
|
|
34
|
+
import { default as default35 } from "./modules/icons/components/IconClockAlert.js";
|
|
35
|
+
import { default as default36 } from "./modules/icons/components/IconClock.js";
|
|
36
|
+
import { default as default37 } from "./modules/icons/components/IconCloseFullScreen.js";
|
|
37
|
+
import { default as default38 } from "./modules/icons/components/IconClose.js";
|
|
38
|
+
import { default as default39 } from "./modules/icons/components/IconCode.js";
|
|
39
|
+
import { default as default40 } from "./modules/icons/components/IconCollect.js";
|
|
40
|
+
import { default as default41 } from "./modules/icons/components/IconCopy.js";
|
|
41
|
+
import { default as default42 } from "./modules/icons/components/IconCrop.js";
|
|
42
|
+
import { default as default43 } from "./modules/icons/components/IconCut.js";
|
|
43
|
+
import { default as default44 } from "./modules/icons/components/IconDeleteColor.js";
|
|
44
|
+
import { default as default45 } from "./modules/icons/components/IconDeleteColumnHighlight.js";
|
|
45
|
+
import { default as default46 } from "./modules/icons/components/IconDeleteColumn.js";
|
|
46
|
+
import { default as default47 } from "./modules/icons/components/IconDeleteRowHighlight.js";
|
|
47
|
+
import { default as default48 } from "./modules/icons/components/IconDeleteRow.js";
|
|
48
|
+
import { default as default49 } from "./modules/icons/components/IconDelete.js";
|
|
49
|
+
import { default as default50 } from "./modules/icons/components/IconDepositeInbox.js";
|
|
50
|
+
import { default as default51 } from "./modules/icons/components/IconDownload.js";
|
|
51
|
+
import { default as default52 } from "./modules/icons/components/IconEdit.js";
|
|
52
|
+
import { default as default53 } from "./modules/icons/components/IconError.js";
|
|
53
|
+
import { default as default54 } from "./modules/icons/components/IconExercizerAi.js";
|
|
54
|
+
import { default as default55 } from "./modules/icons/components/IconExternalLink.js";
|
|
55
|
+
import { default as default56 } from "./modules/icons/components/IconFiles.js";
|
|
56
|
+
import { default as default57 } from "./modules/icons/components/IconFilter.js";
|
|
57
|
+
import { default as default58 } from "./modules/icons/components/IconFlag.js";
|
|
58
|
+
import { default as default59 } from "./modules/icons/components/IconFolderAdd.js";
|
|
59
|
+
import { default as default60 } from "./modules/icons/components/IconFolderDelete.js";
|
|
60
|
+
import { default as default61 } from "./modules/icons/components/IconFolderMove.js";
|
|
61
|
+
import { default as default62 } from "./modules/icons/components/IconFolder.js";
|
|
62
|
+
import { default as default63 } from "./modules/icons/components/IconForgoing.js";
|
|
63
|
+
import { default as default64 } from "./modules/icons/components/IconFullScreen.js";
|
|
64
|
+
import { default as default65 } from "./modules/icons/components/IconGlobe2.js";
|
|
65
|
+
import { default as default66 } from "./modules/icons/components/IconGlobe.js";
|
|
66
|
+
import { default as default67 } from "./modules/icons/components/IconGroupAvatar.js";
|
|
67
|
+
import { default as default68 } from "./modules/icons/components/IconHandMove.js";
|
|
68
|
+
import { default as default69 } from "./modules/icons/components/IconHeadphone.js";
|
|
69
|
+
import { default as default70 } from "./modules/icons/components/IconHide.js";
|
|
70
|
+
import { default as default71 } from "./modules/icons/components/IconHighlightColumn.js";
|
|
71
|
+
import { default as default72 } from "./modules/icons/components/IconHighlightRow.js";
|
|
72
|
+
import { default as default73 } from "./modules/icons/components/IconHome.js";
|
|
73
|
+
import { default as default74 } from "./modules/icons/components/IconHourglass.js";
|
|
74
|
+
import { default as default75 } from "./modules/icons/components/IconImageSizeLarge.js";
|
|
75
|
+
import { default as default76 } from "./modules/icons/components/IconImageSizeMedium.js";
|
|
76
|
+
import { default as default77 } from "./modules/icons/components/IconImageSizeSmall.js";
|
|
77
|
+
import { default as default78 } from "./modules/icons/components/IconInbox.js";
|
|
78
|
+
import { default as default79 } from "./modules/icons/components/IconInfoCircle.js";
|
|
79
|
+
import { default as default80 } from "./modules/icons/components/IconInfoRectangle.js";
|
|
80
|
+
import { default as default81 } from "./modules/icons/components/IconLabel.js";
|
|
81
|
+
import { default as default82 } from "./modules/icons/components/IconLandscape.js";
|
|
82
|
+
import { default as default83 } from "./modules/icons/components/IconLibrary.js";
|
|
83
|
+
import { default as default84 } from "./modules/icons/components/IconLink.js";
|
|
84
|
+
import { default as default85 } from "./modules/icons/components/IconListOrder.js";
|
|
85
|
+
import { default as default86 } from "./modules/icons/components/IconLoader.js";
|
|
86
|
+
import { default as default87 } from "./modules/icons/components/IconLock.js";
|
|
87
|
+
import { default as default88 } from "./modules/icons/components/IconLsuArt.js";
|
|
88
|
+
import { default as default89 } from "./modules/icons/components/IconLsuCompetenceNumerique.js";
|
|
89
|
+
import { default as default90 } from "./modules/icons/components/IconLsuEmc.js";
|
|
90
|
+
import { default as default91 } from "./modules/icons/components/IconLsuFrancais.js";
|
|
91
|
+
import { default as default92 } from "./modules/icons/components/IconLsuHistoireGeo.js";
|
|
92
|
+
import { default as default93 } from "./modules/icons/components/IconLsuLangue.js";
|
|
93
|
+
import { default as default94 } from "./modules/icons/components/IconLsuLangue2.js";
|
|
94
|
+
import { default as default95 } from "./modules/icons/components/IconLsuMath.js";
|
|
95
|
+
import { default as default96 } from "./modules/icons/components/IconLsuParcoursEducatif.js";
|
|
96
|
+
import { default as default97 } from "./modules/icons/components/IconLsuSport.js";
|
|
97
|
+
import { default as default98 } from "./modules/icons/components/IconLsuSvt.js";
|
|
98
|
+
import { default as default99 } from "./modules/icons/components/IconMailRecall.js";
|
|
99
|
+
import { default as default100 } from "./modules/icons/components/IconMail.js";
|
|
100
|
+
import { default as default101 } from "./modules/icons/components/IconMegaphone.js";
|
|
101
|
+
import { default as default102 } from "./modules/icons/components/IconMergeCells.js";
|
|
102
|
+
import { default as default103 } from "./modules/icons/components/IconMessageInfo.js";
|
|
103
|
+
import { default as default104 } from "./modules/icons/components/IconMicOff.js";
|
|
104
|
+
import { default as default105 } from "./modules/icons/components/IconMic.js";
|
|
105
|
+
import { default as default106 } from "./modules/icons/components/IconMinus.js";
|
|
106
|
+
import { default as default107 } from "./modules/icons/components/IconMove.js";
|
|
107
|
+
import { default as default108 } from "./modules/icons/components/IconNoColors.js";
|
|
108
|
+
import { default as default109 } from "./modules/icons/components/IconNotes.js";
|
|
109
|
+
import { default as default110 } from "./modules/icons/components/IconNotification.js";
|
|
110
|
+
import { default as default111 } from "./modules/icons/components/IconOptions.js";
|
|
111
|
+
import { default as default112 } from "./modules/icons/components/IconOrderedList.js";
|
|
112
|
+
import { default as default113 } from "./modules/icons/components/IconPaperclip.js";
|
|
113
|
+
import { default as default114 } from "./modules/icons/components/IconParcoursCitoyen.js";
|
|
114
|
+
import { default as default115 } from "./modules/icons/components/IconParcoursSecours.js";
|
|
115
|
+
import { default as default116 } from "./modules/icons/components/IconPause.js";
|
|
116
|
+
import { default as default117 } from "./modules/icons/components/IconPinOff.js";
|
|
117
|
+
import { default as default118 } from "./modules/icons/components/IconPinOn.js";
|
|
118
|
+
import { default as default119 } from "./modules/icons/components/IconPlaceholder.js";
|
|
119
|
+
import { default as default120 } from "./modules/icons/components/IconPlayFilled.js";
|
|
120
|
+
import { default as default121 } from "./modules/icons/components/IconPlay.js";
|
|
121
|
+
import { default as default122 } from "./modules/icons/components/IconPlus.js";
|
|
122
|
+
import { default as default123 } from "./modules/icons/components/IconPointerDefault.js";
|
|
123
|
+
import { default as default124 } from "./modules/icons/components/IconPointerHand.js";
|
|
124
|
+
import { default as default125 } from "./modules/icons/components/IconPrint.js";
|
|
125
|
+
import { default as default126 } from "./modules/icons/components/IconQuestionMark.js";
|
|
126
|
+
import { default as default127 } from "./modules/icons/components/IconQuestion.js";
|
|
127
|
+
import { default as default128 } from "./modules/icons/components/IconRafterDown.js";
|
|
128
|
+
import { default as default129 } from "./modules/icons/components/IconRafterLeft.js";
|
|
129
|
+
import { default as default130 } from "./modules/icons/components/IconRafterRight.js";
|
|
130
|
+
import { default as default131 } from "./modules/icons/components/IconRafterUp.js";
|
|
131
|
+
import { default as default132 } from "./modules/icons/components/IconReaction.js";
|
|
132
|
+
import { default as default133 } from "./modules/icons/components/IconReadMail.js";
|
|
133
|
+
import { default as default134 } from "./modules/icons/components/IconRecordPause.js";
|
|
134
|
+
import { default as default135 } from "./modules/icons/components/IconRecordStop.js";
|
|
135
|
+
import { default as default136 } from "./modules/icons/components/IconRecordVideo.js";
|
|
136
|
+
import { default as default137 } from "./modules/icons/components/IconRecord.js";
|
|
137
|
+
import { default as default138 } from "./modules/icons/components/IconRedo.js";
|
|
138
|
+
import { default as default139 } from "./modules/icons/components/IconRefresh.js";
|
|
139
|
+
import { default as default140 } from "./modules/icons/components/IconReset.js";
|
|
140
|
+
import { default as default141 } from "./modules/icons/components/IconRestart.js";
|
|
141
|
+
import { default as default142 } from "./modules/icons/components/IconRestore.js";
|
|
142
|
+
import { default as default143 } from "./modules/icons/components/IconSave.js";
|
|
143
|
+
import { default as default144 } from "./modules/icons/components/IconSearch.js";
|
|
144
|
+
import { default as default145 } from "./modules/icons/components/IconSee.js";
|
|
145
|
+
import { default as default146 } from "./modules/icons/components/IconSend.js";
|
|
146
|
+
import { default as default147 } from "./modules/icons/components/IconSetBackground.js";
|
|
147
|
+
import { default as default148 } from "./modules/icons/components/IconSettings.js";
|
|
148
|
+
import { default as default149 } from "./modules/icons/components/IconShare.js";
|
|
149
|
+
import { default as default150 } from "./modules/icons/components/IconSignature.js";
|
|
150
|
+
import { default as default151 } from "./modules/icons/components/IconSmartphone.js";
|
|
151
|
+
import { default as default152 } from "./modules/icons/components/IconSmiley.js";
|
|
152
|
+
import { default as default153 } from "./modules/icons/components/IconSortAscendingLetters.js";
|
|
153
|
+
import { default as default154 } from "./modules/icons/components/IconSortDescendingLetters.js";
|
|
154
|
+
import { default as default155 } from "./modules/icons/components/IconSortDescending.js";
|
|
155
|
+
import { default as default156 } from "./modules/icons/components/IconSortTime.js";
|
|
156
|
+
import { default as default157 } from "./modules/icons/components/IconSpeechToText.js";
|
|
157
|
+
import { default as default158 } from "./modules/icons/components/IconSplitCells.js";
|
|
158
|
+
import { default as default159 } from "./modules/icons/components/IconSquareRoot.js";
|
|
159
|
+
import { default as default160 } from "./modules/icons/components/IconStarFull.js";
|
|
160
|
+
import { default as default161 } from "./modules/icons/components/IconStar.js";
|
|
161
|
+
import { default as default162 } from "./modules/icons/components/IconSubmission.js";
|
|
162
|
+
import { default as default163 } from "./modules/icons/components/IconSubmitToValidate.js";
|
|
163
|
+
import { default as default164 } from "./modules/icons/components/IconSubscript.js";
|
|
164
|
+
import { default as default165 } from "./modules/icons/components/IconSuccessFill.js";
|
|
165
|
+
import { default as default166 } from "./modules/icons/components/IconSuccessOutline.js";
|
|
166
|
+
import { default as default167 } from "./modules/icons/components/IconSuperscript.js";
|
|
167
|
+
import { default as default168 } from "./modules/icons/components/IconTable.js";
|
|
168
|
+
import { default as default169 } from "./modules/icons/components/IconTeacher.js";
|
|
169
|
+
import { default as default170 } from "./modules/icons/components/IconTextBold.js";
|
|
170
|
+
import { default as default171 } from "./modules/icons/components/IconTextColor.js";
|
|
171
|
+
import { default as default172 } from "./modules/icons/components/IconTextHighlight.js";
|
|
172
|
+
import { default as default173 } from "./modules/icons/components/IconTextItalic.js";
|
|
173
|
+
import { default as default174 } from "./modules/icons/components/IconTextPage.js";
|
|
174
|
+
import { default as default175 } from "./modules/icons/components/IconTextSize.js";
|
|
175
|
+
import { default as default176 } from "./modules/icons/components/IconTextToSpeechOff.js";
|
|
176
|
+
import { default as default177 } from "./modules/icons/components/IconTextToSpeech.js";
|
|
177
|
+
import { default as default178 } from "./modules/icons/components/IconTextTypo.js";
|
|
178
|
+
import { default as default179 } from "./modules/icons/components/IconTextUnderline.js";
|
|
179
|
+
import { default as default180 } from "./modules/icons/components/IconTextVanilla.js";
|
|
180
|
+
import { default as default181 } from "./modules/icons/components/IconThumbDown.js";
|
|
181
|
+
import { default as default182 } from "./modules/icons/components/IconThumbUp.js";
|
|
182
|
+
import { default as default183 } from "./modules/icons/components/IconToolCenter.js";
|
|
183
|
+
import { default as default184 } from "./modules/icons/components/IconTool.js";
|
|
184
|
+
import { default as default185 } from "./modules/icons/components/IconTrendingUp.js";
|
|
185
|
+
import { default as default186 } from "./modules/icons/components/IconUndoAll.js";
|
|
186
|
+
import { default as default187 } from "./modules/icons/components/IconUndoSlashed.js";
|
|
187
|
+
import { default as default188 } from "./modules/icons/components/IconUndo.js";
|
|
188
|
+
import { default as default189 } from "./modules/icons/components/IconUnion.js";
|
|
189
|
+
import { default as default190 } from "./modules/icons/components/IconUnlink.js";
|
|
190
|
+
import { default as default191 } from "./modules/icons/components/IconUnlock.js";
|
|
191
|
+
import { default as default192 } from "./modules/icons/components/IconUnreadMail.js";
|
|
192
|
+
import { default as default193 } from "./modules/icons/components/IconUpload.js";
|
|
193
|
+
import { default as default194 } from "./modules/icons/components/IconUserSearch.js";
|
|
194
|
+
import { default as default195 } from "./modules/icons/components/IconUser.js";
|
|
195
|
+
import { default as default196 } from "./modules/icons/components/IconUsers.js";
|
|
196
|
+
import { default as default197 } from "./modules/icons/components/IconVideo.js";
|
|
197
|
+
import { default as default198 } from "./modules/icons/components/IconViewCalendar.js";
|
|
198
|
+
import { default as default199 } from "./modules/icons/components/IconViewList.js";
|
|
199
|
+
import { default as default200 } from "./modules/icons/components/IconWand.js";
|
|
200
|
+
import { default as default201 } from "./modules/icons/components/IconWrite.js";
|
|
201
|
+
import { default as default202 } from "./modules/icons/components/IconZoomIn.js";
|
|
202
|
+
import { default as default203 } from "./modules/icons/components/IconZoomOut.js";
|
|
202
203
|
export {
|
|
203
204
|
default3 as IconAdd,
|
|
204
205
|
default2 as IconAddUser,
|
|
@@ -232,173 +233,174 @@ export {
|
|
|
232
233
|
default31 as IconCenter,
|
|
233
234
|
default32 as IconCheck,
|
|
234
235
|
default33 as IconChecklist,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
default39 as
|
|
241
|
-
default40 as
|
|
242
|
-
default41 as
|
|
243
|
-
default42 as
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
default50 as
|
|
252
|
-
default51 as
|
|
253
|
-
default52 as
|
|
254
|
-
default53 as
|
|
255
|
-
default54 as
|
|
256
|
-
default55 as
|
|
257
|
-
default56 as
|
|
258
|
-
default57 as
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
default59 as
|
|
262
|
-
default60 as
|
|
263
|
-
|
|
264
|
-
default63 as
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
default67 as
|
|
269
|
-
default68 as
|
|
270
|
-
default69 as
|
|
271
|
-
default70 as
|
|
272
|
-
default71 as
|
|
273
|
-
default72 as
|
|
274
|
-
default73 as
|
|
275
|
-
default74 as
|
|
276
|
-
default75 as
|
|
277
|
-
default76 as
|
|
278
|
-
default77 as
|
|
279
|
-
default78 as
|
|
280
|
-
default79 as
|
|
281
|
-
default80 as
|
|
282
|
-
default81 as
|
|
283
|
-
default82 as
|
|
284
|
-
default83 as
|
|
285
|
-
default84 as
|
|
286
|
-
default85 as
|
|
287
|
-
default86 as
|
|
288
|
-
default87 as
|
|
289
|
-
default88 as
|
|
290
|
-
default89 as
|
|
291
|
-
default90 as
|
|
292
|
-
default91 as
|
|
293
|
-
default92 as
|
|
294
|
-
default93 as
|
|
295
|
-
default94 as
|
|
296
|
-
default95 as
|
|
297
|
-
default96 as
|
|
298
|
-
default97 as
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
default101 as
|
|
303
|
-
default102 as
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
default106 as
|
|
308
|
-
default107 as
|
|
309
|
-
default108 as
|
|
310
|
-
default109 as
|
|
311
|
-
default110 as
|
|
312
|
-
default111 as
|
|
313
|
-
default112 as
|
|
314
|
-
default113 as
|
|
315
|
-
default114 as
|
|
316
|
-
default115 as
|
|
317
|
-
default116 as
|
|
318
|
-
default117 as
|
|
319
|
-
default118 as
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
default122 as
|
|
324
|
-
default123 as
|
|
325
|
-
default124 as
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
default128 as
|
|
330
|
-
default129 as
|
|
331
|
-
default130 as
|
|
332
|
-
default131 as
|
|
333
|
-
default132 as
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
default134 as
|
|
337
|
-
default135 as
|
|
338
|
-
|
|
339
|
-
default138 as
|
|
340
|
-
default139 as
|
|
341
|
-
default140 as
|
|
342
|
-
default141 as
|
|
343
|
-
default142 as
|
|
344
|
-
default143 as
|
|
345
|
-
default144 as
|
|
346
|
-
default145 as
|
|
347
|
-
default146 as
|
|
348
|
-
default147 as
|
|
349
|
-
default148 as
|
|
350
|
-
default149 as
|
|
351
|
-
default150 as
|
|
352
|
-
default151 as
|
|
353
|
-
default152 as
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
default156 as
|
|
358
|
-
default157 as
|
|
359
|
-
default158 as
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
default162 as
|
|
364
|
-
default163 as
|
|
365
|
-
default164 as
|
|
366
|
-
default165 as
|
|
367
|
-
default166 as
|
|
368
|
-
default167 as
|
|
369
|
-
default168 as
|
|
370
|
-
default169 as
|
|
371
|
-
default170 as
|
|
372
|
-
default171 as
|
|
373
|
-
default172 as
|
|
374
|
-
default173 as
|
|
375
|
-
default174 as
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
default178 as
|
|
380
|
-
default179 as
|
|
381
|
-
default180 as
|
|
382
|
-
default181 as
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
default186 as
|
|
389
|
-
|
|
390
|
-
default189 as
|
|
391
|
-
default190 as
|
|
392
|
-
default191 as
|
|
393
|
-
default192 as
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
default196 as
|
|
398
|
-
default197 as
|
|
399
|
-
default198 as
|
|
400
|
-
default199 as
|
|
401
|
-
default200 as
|
|
402
|
-
default201 as
|
|
403
|
-
default202 as
|
|
236
|
+
default34 as IconClass,
|
|
237
|
+
default36 as IconClock,
|
|
238
|
+
default35 as IconClockAlert,
|
|
239
|
+
default38 as IconClose,
|
|
240
|
+
default37 as IconCloseFullScreen,
|
|
241
|
+
default39 as IconCode,
|
|
242
|
+
default40 as IconCollect,
|
|
243
|
+
default41 as IconCopy,
|
|
244
|
+
default42 as IconCrop,
|
|
245
|
+
default43 as IconCut,
|
|
246
|
+
default49 as IconDelete,
|
|
247
|
+
default44 as IconDeleteColor,
|
|
248
|
+
default46 as IconDeleteColumn,
|
|
249
|
+
default45 as IconDeleteColumnHighlight,
|
|
250
|
+
default48 as IconDeleteRow,
|
|
251
|
+
default47 as IconDeleteRowHighlight,
|
|
252
|
+
default50 as IconDepositeInbox,
|
|
253
|
+
default51 as IconDownload,
|
|
254
|
+
default52 as IconEdit,
|
|
255
|
+
default53 as IconError,
|
|
256
|
+
default54 as IconExercizerAi,
|
|
257
|
+
default55 as IconExternalLink,
|
|
258
|
+
default56 as IconFiles,
|
|
259
|
+
default57 as IconFilter,
|
|
260
|
+
default58 as IconFlag,
|
|
261
|
+
default62 as IconFolder,
|
|
262
|
+
default59 as IconFolderAdd,
|
|
263
|
+
default60 as IconFolderDelete,
|
|
264
|
+
default61 as IconFolderMove,
|
|
265
|
+
default63 as IconForgoing,
|
|
266
|
+
default64 as IconFullScreen,
|
|
267
|
+
default66 as IconGlobe,
|
|
268
|
+
default65 as IconGlobe2,
|
|
269
|
+
default67 as IconGroupAvatar,
|
|
270
|
+
default68 as IconHandMove,
|
|
271
|
+
default69 as IconHeadphone,
|
|
272
|
+
default70 as IconHide,
|
|
273
|
+
default71 as IconHighlightColumn,
|
|
274
|
+
default72 as IconHighlightRow,
|
|
275
|
+
default73 as IconHome,
|
|
276
|
+
default74 as IconHourglass,
|
|
277
|
+
default75 as IconImageSizeLarge,
|
|
278
|
+
default76 as IconImageSizeMedium,
|
|
279
|
+
default77 as IconImageSizeSmall,
|
|
280
|
+
default78 as IconInbox,
|
|
281
|
+
default79 as IconInfoCircle,
|
|
282
|
+
default80 as IconInfoRectangle,
|
|
283
|
+
default81 as IconLabel,
|
|
284
|
+
default82 as IconLandscape,
|
|
285
|
+
default83 as IconLibrary,
|
|
286
|
+
default84 as IconLink,
|
|
287
|
+
default85 as IconListOrder,
|
|
288
|
+
default86 as IconLoader,
|
|
289
|
+
default87 as IconLock,
|
|
290
|
+
default88 as IconLsuArt,
|
|
291
|
+
default89 as IconLsuCompetenceNumerique,
|
|
292
|
+
default90 as IconLsuEmc,
|
|
293
|
+
default91 as IconLsuFrancais,
|
|
294
|
+
default92 as IconLsuHistoireGeo,
|
|
295
|
+
default93 as IconLsuLangue,
|
|
296
|
+
default94 as IconLsuLangue2,
|
|
297
|
+
default95 as IconLsuMath,
|
|
298
|
+
default96 as IconLsuParcoursEducatif,
|
|
299
|
+
default97 as IconLsuSport,
|
|
300
|
+
default98 as IconLsuSvt,
|
|
301
|
+
default100 as IconMail,
|
|
302
|
+
default99 as IconMailRecall,
|
|
303
|
+
default101 as IconMegaphone,
|
|
304
|
+
default102 as IconMergeCells,
|
|
305
|
+
default103 as IconMessageInfo,
|
|
306
|
+
default105 as IconMic,
|
|
307
|
+
default104 as IconMicOff,
|
|
308
|
+
default106 as IconMinus,
|
|
309
|
+
default107 as IconMove,
|
|
310
|
+
default108 as IconNoColors,
|
|
311
|
+
default109 as IconNotes,
|
|
312
|
+
default110 as IconNotification,
|
|
313
|
+
default111 as IconOptions,
|
|
314
|
+
default112 as IconOrderedList,
|
|
315
|
+
default113 as IconPaperclip,
|
|
316
|
+
default114 as IconParcoursCitoyen,
|
|
317
|
+
default115 as IconParcoursSecours,
|
|
318
|
+
default116 as IconPause,
|
|
319
|
+
default117 as IconPinOff,
|
|
320
|
+
default118 as IconPinOn,
|
|
321
|
+
default119 as IconPlaceholder,
|
|
322
|
+
default121 as IconPlay,
|
|
323
|
+
default120 as IconPlayFilled,
|
|
324
|
+
default122 as IconPlus,
|
|
325
|
+
default123 as IconPointerDefault,
|
|
326
|
+
default124 as IconPointerHand,
|
|
327
|
+
default125 as IconPrint,
|
|
328
|
+
default127 as IconQuestion,
|
|
329
|
+
default126 as IconQuestionMark,
|
|
330
|
+
default128 as IconRafterDown,
|
|
331
|
+
default129 as IconRafterLeft,
|
|
332
|
+
default130 as IconRafterRight,
|
|
333
|
+
default131 as IconRafterUp,
|
|
334
|
+
default132 as IconReaction,
|
|
335
|
+
default133 as IconReadMail,
|
|
336
|
+
default137 as IconRecord,
|
|
337
|
+
default134 as IconRecordPause,
|
|
338
|
+
default135 as IconRecordStop,
|
|
339
|
+
default136 as IconRecordVideo,
|
|
340
|
+
default138 as IconRedo,
|
|
341
|
+
default139 as IconRefresh,
|
|
342
|
+
default140 as IconReset,
|
|
343
|
+
default141 as IconRestart,
|
|
344
|
+
default142 as IconRestore,
|
|
345
|
+
default143 as IconSave,
|
|
346
|
+
default144 as IconSearch,
|
|
347
|
+
default145 as IconSee,
|
|
348
|
+
default146 as IconSend,
|
|
349
|
+
default147 as IconSetBackground,
|
|
350
|
+
default148 as IconSettings,
|
|
351
|
+
default149 as IconShare,
|
|
352
|
+
default150 as IconSignature,
|
|
353
|
+
default151 as IconSmartphone,
|
|
354
|
+
default152 as IconSmiley,
|
|
355
|
+
default153 as IconSortAscendingLetters,
|
|
356
|
+
default155 as IconSortDescending,
|
|
357
|
+
default154 as IconSortDescendingLetters,
|
|
358
|
+
default156 as IconSortTime,
|
|
359
|
+
default157 as IconSpeechToText,
|
|
360
|
+
default158 as IconSplitCells,
|
|
361
|
+
default159 as IconSquareRoot,
|
|
362
|
+
default161 as IconStar,
|
|
363
|
+
default160 as IconStarFull,
|
|
364
|
+
default162 as IconSubmission,
|
|
365
|
+
default163 as IconSubmitToValidate,
|
|
366
|
+
default164 as IconSubscript,
|
|
367
|
+
default165 as IconSuccessFill,
|
|
368
|
+
default166 as IconSuccessOutline,
|
|
369
|
+
default167 as IconSuperscript,
|
|
370
|
+
default168 as IconTable,
|
|
371
|
+
default169 as IconTeacher,
|
|
372
|
+
default170 as IconTextBold,
|
|
373
|
+
default171 as IconTextColor,
|
|
374
|
+
default172 as IconTextHighlight,
|
|
375
|
+
default173 as IconTextItalic,
|
|
376
|
+
default174 as IconTextPage,
|
|
377
|
+
default175 as IconTextSize,
|
|
378
|
+
default177 as IconTextToSpeech,
|
|
379
|
+
default176 as IconTextToSpeechOff,
|
|
380
|
+
default178 as IconTextTypo,
|
|
381
|
+
default179 as IconTextUnderline,
|
|
382
|
+
default180 as IconTextVanilla,
|
|
383
|
+
default181 as IconThumbDown,
|
|
384
|
+
default182 as IconThumbUp,
|
|
385
|
+
default184 as IconTool,
|
|
386
|
+
default183 as IconToolCenter,
|
|
387
|
+
default185 as IconTrendingUp,
|
|
388
|
+
default188 as IconUndo,
|
|
389
|
+
default186 as IconUndoAll,
|
|
390
|
+
default187 as IconUndoSlashed,
|
|
391
|
+
default189 as IconUnion,
|
|
392
|
+
default190 as IconUnlink,
|
|
393
|
+
default191 as IconUnlock,
|
|
394
|
+
default192 as IconUnreadMail,
|
|
395
|
+
default193 as IconUpload,
|
|
396
|
+
default195 as IconUser,
|
|
397
|
+
default194 as IconUserSearch,
|
|
398
|
+
default196 as IconUsers,
|
|
399
|
+
default197 as IconVideo,
|
|
400
|
+
default198 as IconViewCalendar,
|
|
401
|
+
default199 as IconViewList,
|
|
402
|
+
default200 as IconWand,
|
|
403
|
+
default201 as IconWrite,
|
|
404
|
+
default202 as IconZoomIn,
|
|
405
|
+
default203 as IconZoomOut
|
|
404
406
|
};
|
|
@@ -20,9 +20,13 @@ export interface HomeCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
20
20
|
* `HomeCard.Header` is rendered with these props.
|
|
21
21
|
*/
|
|
22
22
|
headerProps?: HomeCardHeaderProps;
|
|
23
|
+
/**
|
|
24
|
+
* Optional footer
|
|
25
|
+
*/
|
|
26
|
+
footer?: ReactNode;
|
|
23
27
|
}
|
|
24
28
|
declare const HomeCard: {
|
|
25
|
-
({ variant, children, headerProps, className, ...rest }: HomeCardProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
({ variant, children, headerProps, footer, className, ...rest }: HomeCardProps): import("react/jsx-runtime").JSX.Element;
|
|
26
30
|
displayName: string;
|
|
27
31
|
} & {
|
|
28
32
|
Header: {
|
|
@@ -1,14 +1,22 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import HomeCardContent from "./HomeCardContent.js";
|
|
4
4
|
import HomeCardHeader from "./HomeCardHeader.js";
|
|
5
|
+
import Flex from "../../../../components/Flex/Flex.js";
|
|
5
6
|
const Root = ({
|
|
6
7
|
variant = "user",
|
|
7
8
|
children,
|
|
8
9
|
headerProps,
|
|
10
|
+
footer,
|
|
9
11
|
className,
|
|
10
12
|
...rest
|
|
11
|
-
}) =>
|
|
13
|
+
}) => {
|
|
14
|
+
const classNames = clsx("home-card", `home-card--${variant}`, className), content = /* @__PURE__ */ jsx("div", { "data-testid": "home-card", "data-variant": variant, className: classNames, ...rest, children: headerProps && !children ? /* @__PURE__ */ jsx(HomeCardHeader, { ...headerProps }) : children });
|
|
15
|
+
return footer ? /* @__PURE__ */ jsxs("div", { className: "home-card--with-footer", children: [
|
|
16
|
+
content,
|
|
17
|
+
/* @__PURE__ */ jsx(Flex, { direction: "row", gap: "8", className: "px-16 py-4 home-card-footer", children: footer })
|
|
18
|
+
] }) : content;
|
|
19
|
+
}, HomeCard = Object.assign(Root, {
|
|
12
20
|
Header: HomeCardHeader,
|
|
13
21
|
Content: HomeCardContent
|
|
14
22
|
});
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
|
+
import SvgIconClass from "../../../icons/components/IconClass.js";
|
|
4
|
+
import { useProfileLinks } from "./hooks/useProfileLinks.js";
|
|
3
5
|
import HomeCard from "../HomeCard/HomeCard.js";
|
|
4
6
|
import Flex from "../../../../components/Flex/Flex.js";
|
|
5
7
|
import Avatar from "../../../../components/Avatar/Avatar.js";
|
|
8
|
+
import ButtonBeta from "../../../../components/ButtonBeta/ButtonBeta.js";
|
|
6
9
|
function UserSpace({
|
|
7
10
|
name,
|
|
8
11
|
avatar,
|
|
@@ -11,8 +14,8 @@ function UserSpace({
|
|
|
11
14
|
}) {
|
|
12
15
|
const {
|
|
13
16
|
t
|
|
14
|
-
} = useTranslation();
|
|
15
|
-
return /* @__PURE__ */ jsxs(HomeCard, { variant: "user", children: [
|
|
17
|
+
} = useTranslation(), links = useProfileLinks(profile);
|
|
18
|
+
return /* @__PURE__ */ jsxs(HomeCard, { variant: "user", footer: !!links && /* @__PURE__ */ jsx(Flex, { children: links.map((link, index) => /* @__PURE__ */ jsx(ButtonBeta, { size: "sm", variant: "ghost", leftIcon: /* @__PURE__ */ jsx(SvgIconClass, {}), onClick: () => window.location.href = link.url, children: link.text }, `${link.url}-${index}`)) }), children: [
|
|
16
19
|
/* @__PURE__ */ jsxs(Flex, { className: "user-space", direction: "row", gap: "8", children: [
|
|
17
20
|
/* @__PURE__ */ jsx(Avatar, { className: "user-space--avatar", size: "auto", alt: name, src: avatar, variant: "circle" }),
|
|
18
21
|
/* @__PURE__ */ jsxs(Flex, { direction: "column", children: [
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Child, StructureChildren } from '@edifice.io/client';
|
|
2
|
+
export declare const childrenQueryKeys: {
|
|
3
|
+
all: (userId: string) => readonly ["children", string];
|
|
4
|
+
};
|
|
5
|
+
export declare const childrenQueryOptions: (userId: string | undefined, enabled: boolean) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<StructureChildren[], Error, Child[], import('@tanstack/react-query').QueryKey>, "queryFn"> & {
|
|
6
|
+
queryFn?: import('@tanstack/react-query').QueryFunction<StructureChildren[], import('@tanstack/react-query').QueryKey, never> | undefined;
|
|
7
|
+
} & {
|
|
8
|
+
queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, StructureChildren[]>;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Fetches the children of a "Relative" user across all their structures,
|
|
12
|
+
* merged into a single list.
|
|
13
|
+
*/
|
|
14
|
+
export declare function useChildren(userId: string | undefined, enabled: boolean): import('@tanstack/react-query').UseQueryResult<Child[], Error>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { odeServices } from "@edifice.io/client";
|
|
2
|
+
import { useQuery, queryOptions } from "@tanstack/react-query";
|
|
3
|
+
const childrenQueryKeys = {
|
|
4
|
+
all: (userId) => ["children", userId]
|
|
5
|
+
};
|
|
6
|
+
function flattenChildrenByStructure(structures) {
|
|
7
|
+
const seenIds = /* @__PURE__ */ new Set();
|
|
8
|
+
return structures.flatMap((structure) => structure.children).filter((child) => seenIds.has(child.id) ? !1 : (seenIds.add(child.id), !0));
|
|
9
|
+
}
|
|
10
|
+
const childrenQueryOptions = (userId, enabled) => queryOptions({
|
|
11
|
+
queryKey: childrenQueryKeys.all(userId ?? ""),
|
|
12
|
+
queryFn: () => odeServices.directory().getChildren(userId),
|
|
13
|
+
enabled: enabled && !!userId,
|
|
14
|
+
select: flattenChildrenByStructure
|
|
15
|
+
});
|
|
16
|
+
function useChildren(userId, enabled) {
|
|
17
|
+
return useQuery(childrenQueryOptions(userId, enabled));
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
childrenQueryKeys,
|
|
21
|
+
childrenQueryOptions,
|
|
22
|
+
useChildren
|
|
23
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UserProfile } from '@edifice.io/client';
|
|
2
|
+
type ProfileLink = {
|
|
3
|
+
url: string;
|
|
4
|
+
text: string;
|
|
5
|
+
};
|
|
6
|
+
/** Generates user's links to show in the UserSpace home component. */
|
|
7
|
+
export declare function useProfileLinks(profile: UserProfile[number]): Array<ProfileLink> | undefined;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { useTranslation } from "react-i18next";
|
|
2
|
+
import { useEdificeClient } from "../../../../../providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
3
|
+
import { useChildren } from "./useChildren.js";
|
|
4
|
+
function useProfileLinks(profile) {
|
|
5
|
+
var _a;
|
|
6
|
+
const {
|
|
7
|
+
user
|
|
8
|
+
} = useEdificeClient(), {
|
|
9
|
+
t
|
|
10
|
+
} = useTranslation(), isRelative = profile === "Relative", {
|
|
11
|
+
data: children
|
|
12
|
+
} = useChildren(user == null ? void 0 : user.userId, isRelative), structureId = (_a = user == null ? void 0 : user.structures) == null ? void 0 : _a[0];
|
|
13
|
+
if (structureId && profile) {
|
|
14
|
+
const baseUrl = "/userbook/annuaire#/search", buildStructureGroupsUrl = () => {
|
|
15
|
+
const params = new URLSearchParams({
|
|
16
|
+
filters: "groups",
|
|
17
|
+
structure: structureId
|
|
18
|
+
});
|
|
19
|
+
return `${baseUrl}?${params.toString()}`;
|
|
20
|
+
}, buildClassesUrl = (classIds = []) => {
|
|
21
|
+
const params = new URLSearchParams({
|
|
22
|
+
filters: "groups",
|
|
23
|
+
structure: structureId
|
|
24
|
+
});
|
|
25
|
+
return classIds.forEach((c) => params.append("class", String(c))), `${baseUrl}?${params.toString()}`;
|
|
26
|
+
};
|
|
27
|
+
switch (profile) {
|
|
28
|
+
case "Teacher":
|
|
29
|
+
return [{
|
|
30
|
+
text: t("homepage.userspace.teacher.link.classes"),
|
|
31
|
+
url: buildClassesUrl(user.classes)
|
|
32
|
+
}];
|
|
33
|
+
case "Student":
|
|
34
|
+
return [{
|
|
35
|
+
text: t("homepage.userspace.student.link.teachers"),
|
|
36
|
+
url: "/userbook/annuaire#/search?filters=groups&profile=Teacher"
|
|
37
|
+
}, {
|
|
38
|
+
text: t("homepage.userspace.student.link.classes"),
|
|
39
|
+
url: buildClassesUrl(user.classes)
|
|
40
|
+
}];
|
|
41
|
+
case "Relative":
|
|
42
|
+
return children != null && children.length ? children.map((child) => {
|
|
43
|
+
var _a2;
|
|
44
|
+
return {
|
|
45
|
+
text: t("homepage.userspace.relative.link.classes", {
|
|
46
|
+
childName: child.firstName
|
|
47
|
+
}),
|
|
48
|
+
url: buildClassesUrl((_a2 = child.classes) == null ? void 0 : _a2.map(({
|
|
49
|
+
id
|
|
50
|
+
}) => id))
|
|
51
|
+
};
|
|
52
|
+
}) : void 0;
|
|
53
|
+
case "Personnel":
|
|
54
|
+
return [{
|
|
55
|
+
text: t("homepage.userspace.personnel.link.classesAndGroups"),
|
|
56
|
+
url: buildStructureGroupsUrl()
|
|
57
|
+
}];
|
|
58
|
+
case "Guest":
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
useProfileLinks
|
|
65
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgIconClass: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgIconClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
const SvgIconClass = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
|
|
7
|
+
title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
|
|
8
|
+
/* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M2.074 17.258c.707-.837 1.705-1.349 2.79-1.349h5.727c1.085 0 2.083.512 2.79 1.35.701.831 1.073 1.928 1.073 3.044V22a1 1 0 1 1-2 0v-1.697c0-.684-.23-1.314-.603-1.755-.367-.436-.826-.639-1.26-.639H4.864c-.434 0-.893.203-1.261.64-.372.44-.603 1.07-.603 1.754V22a1 1 0 1 1-2 0v-1.697c0-1.116.372-2.213 1.074-3.045M7.728 8.5a2.182 2.182 0 1 0 0 4.364 2.182 2.182 0 0 0 0-4.364m-4.182 2.182a4.182 4.182 0 1 1 8.364 0 4.182 4.182 0 0 1-8.364 0", clipRule: "evenodd" }),
|
|
9
|
+
/* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M0 5a3 3 0 0 1 3-3h18a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3h-5a1 1 0 1 1 0-2h5a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v10a1 1 0 1 1-2 0z", clipRule: "evenodd" })
|
|
10
|
+
] });
|
|
11
|
+
export {
|
|
12
|
+
SvgIconClass as default
|
|
13
|
+
};
|
|
@@ -30,6 +30,7 @@ export { default as IconCantoo } from './IconCantoo';
|
|
|
30
30
|
export { default as IconCenter } from './IconCenter';
|
|
31
31
|
export { default as IconCheck } from './IconCheck';
|
|
32
32
|
export { default as IconChecklist } from './IconChecklist';
|
|
33
|
+
export { default as IconClass } from './IconClass';
|
|
33
34
|
export { default as IconClockAlert } from './IconClockAlert';
|
|
34
35
|
export { default as IconClock } from './IconClock';
|
|
35
36
|
export { default as IconCloseFullScreen } from './IconCloseFullScreen';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.6.2-develop-b2school.
|
|
3
|
+
"version": "2.6.2-develop-b2school.20260803165213",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -140,9 +140,9 @@
|
|
|
140
140
|
"swiper": "10.1.0",
|
|
141
141
|
"ua-parser-js": "1.0.36",
|
|
142
142
|
"zustand": "4.5.7",
|
|
143
|
-
"@edifice.io/bootstrap": "2.6.2-develop-b2school.
|
|
144
|
-
"@edifice.io/tiptap-extensions": "2.6.2-develop-b2school.
|
|
145
|
-
"@edifice.io/utilities": "2.6.2-develop-b2school.
|
|
143
|
+
"@edifice.io/bootstrap": "2.6.2-develop-b2school.20260803165213",
|
|
144
|
+
"@edifice.io/tiptap-extensions": "2.6.2-develop-b2school.20260803165213",
|
|
145
|
+
"@edifice.io/utilities": "2.6.2-develop-b2school.20260803165213"
|
|
146
146
|
},
|
|
147
147
|
"devDependencies": {
|
|
148
148
|
"@babel/plugin-transform-react-pure-annotations": "7.27.1",
|
|
@@ -173,8 +173,8 @@
|
|
|
173
173
|
"vite": "5.4.14",
|
|
174
174
|
"vite-plugin-dts": "4.5.4",
|
|
175
175
|
"vite-tsconfig-paths": "5.1.4",
|
|
176
|
-
"@edifice.io/client": "2.6.2-develop-b2school.
|
|
177
|
-
"@edifice.io/config": "2.6.2-develop-b2school.
|
|
176
|
+
"@edifice.io/client": "2.6.2-develop-b2school.20260803165213",
|
|
177
|
+
"@edifice.io/config": "2.6.2-develop-b2school.20260803165213"
|
|
178
178
|
},
|
|
179
179
|
"peerDependencies": {
|
|
180
180
|
"@react-spring/web": "9.7.5",
|