imio.smartweb.core 1.2.37__py3-none-any.whl → 1.2.39__py3-none-any.whl

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.
Files changed (83) hide show
  1. imio/smartweb/core/contents/rest/events/content.py +7 -0
  2. imio/smartweb/core/contents/rest/events/view.pt +1 -0
  3. imio/smartweb/core/contents/rest/events/view.py +4 -0
  4. imio/smartweb/core/contents/sections/common_templates/carousel.pt +5 -1
  5. imio/smartweb/core/contents/sections/events/content.py +7 -0
  6. imio/smartweb/core/contents/sections/events/view.py +7 -0
  7. imio/smartweb/core/contents/sections/external_content/view.pt +3 -3
  8. imio/smartweb/core/contents/sections/news/content.py +7 -0
  9. imio/smartweb/core/contents/sections/news/view.py +7 -0
  10. imio/smartweb/core/contents/sections/views.py +4 -0
  11. imio/smartweb/core/webcomponents/build/10512eee43c7b5ed4757.svg +1 -0
  12. imio/smartweb/core/webcomponents/build/10dd862b2cdd9c68e1a8.svg +1 -0
  13. imio/smartweb/core/webcomponents/build/1c1605a5fe9a2b10a88f.png +1 -0
  14. imio/smartweb/core/webcomponents/build/524db40e119aa11f4478.png +1 -0
  15. imio/smartweb/core/webcomponents/build/57d3b7cb1ab874660b39.svg +1 -0
  16. imio/smartweb/core/webcomponents/build/6cf03871df23ed2ee8b3.png +1 -0
  17. imio/smartweb/core/webcomponents/build/a38272f263f8328349f2.svg +1 -0
  18. imio/smartweb/core/webcomponents/build/css/373.smartweb-webcomponents-compiled.css +1 -1
  19. imio/smartweb/core/webcomponents/build/css/486.smartweb-webcomponents-compiled.css +1 -1
  20. imio/smartweb/core/webcomponents/build/css/686.smartweb-webcomponents-compiled.css +1 -1
  21. imio/smartweb/core/webcomponents/build/css/919.smartweb-webcomponents-compiled.css +1 -1
  22. imio/smartweb/core/webcomponents/build/css/smartweb-webcomponents-compiled.css +1 -1
  23. imio/smartweb/core/webcomponents/build/f79b479fdc5c0fe0d553.svg +1 -0
  24. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js +1 -1
  25. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js.LICENSE.txt +5 -8
  26. imio/smartweb/core/webcomponents/build/js/373.smartweb-webcomponents-compiled.js +1 -1
  27. imio/smartweb/core/webcomponents/build/js/486.smartweb-webcomponents-compiled.js +1 -1
  28. imio/smartweb/core/webcomponents/build/js/496.smartweb-webcomponents-compiled.js +2 -0
  29. imio/smartweb/core/webcomponents/build/js/{674.smartweb-webcomponents-compiled.js.LICENSE.txt → 496.smartweb-webcomponents-compiled.js.LICENSE.txt} +1 -8
  30. imio/smartweb/core/webcomponents/build/js/686.smartweb-webcomponents-compiled.js +1 -1
  31. imio/smartweb/core/webcomponents/build/js/736.smartweb-webcomponents-compiled.js +2 -0
  32. imio/smartweb/core/webcomponents/build/js/736.smartweb-webcomponents-compiled.js.LICENSE.txt +32 -0
  33. imio/smartweb/core/webcomponents/build/js/799.smartweb-webcomponents-compiled.js +1 -1
  34. imio/smartweb/core/webcomponents/build/js/824.smartweb-webcomponents-compiled.js +2 -0
  35. imio/smartweb/core/webcomponents/build/js/919.smartweb-webcomponents-compiled.js +1 -1
  36. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js +1 -1
  37. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js.LICENSE.txt +11 -14
  38. imio/smartweb/core/webcomponents/package.json +40 -40
  39. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.jsx +17 -9
  40. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.scss +227 -141
  41. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/ContactContent.jsx +7 -6
  42. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactList/ContactList.jsx +2 -2
  43. imio/smartweb/core/webcomponents/src/components/Annuaire/Filters/Filter.jsx +18 -18
  44. imio/smartweb/core/webcomponents/src/components/Annuaire/index.js +1 -1
  45. imio/smartweb/core/webcomponents/src/components/Events/EventCard/EventCard.jsx +2 -2
  46. imio/smartweb/core/webcomponents/src/components/Events/EventContent/EventContent.jsx +8 -8
  47. imio/smartweb/core/webcomponents/src/components/Events/EventList/EventList.jsx +2 -2
  48. imio/smartweb/core/webcomponents/src/components/Events/Events.jsx +20 -11
  49. imio/smartweb/core/webcomponents/src/components/Events/Events.scss +244 -161
  50. imio/smartweb/core/webcomponents/src/components/Events/Filters/Filter.jsx +9 -8
  51. imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.jsx +27 -27
  52. imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.scss +10 -7
  53. imio/smartweb/core/webcomponents/src/components/News/Filters/Filter.jsx +11 -12
  54. imio/smartweb/core/webcomponents/src/components/News/News.jsx +53 -45
  55. imio/smartweb/core/webcomponents/src/components/News/NewsContent/NewsContent.jsx +101 -100
  56. imio/smartweb/core/webcomponents/src/components/News/NewsList/NewsList.jsx +3 -3
  57. imio/smartweb/core/webcomponents/src/components/Search/ContactResult/ContactResult.jsx +11 -11
  58. imio/smartweb/core/webcomponents/src/components/Search/EventsResult/EventsResult.jsx +11 -11
  59. imio/smartweb/core/webcomponents/src/components/Search/Filters/Filter.jsx +4 -5
  60. imio/smartweb/core/webcomponents/src/components/Search/NewsResult/NewsResult.jsx +5 -5
  61. imio/smartweb/core/webcomponents/src/components/Search/Search.jsx +5 -4
  62. imio/smartweb/core/webcomponents/src/components/Search/Search.scss +125 -105
  63. imio/smartweb/core/webcomponents/src/components/Search/WebResult/WebResult.jsx +2 -2
  64. imio/smartweb/core/webcomponents/src/components/Search/index.js +1 -1
  65. imio/smartweb/core/webcomponents/src/hooks/useAxios.js +3 -3
  66. imio/smartweb/core/webcomponents/src/hooks/useFilterQuery.js +1 -2
  67. imio/smartweb/core/webcomponents/src/index.jsx +3 -3
  68. imio/smartweb/core/webcomponents/src/index.scss +86 -22
  69. imio/smartweb/core/webcomponents/src/utils/Map.jsx +10 -10
  70. imio/smartweb/core/webcomponents/src/utils/Map.scss +2 -2
  71. imio/smartweb/core/webcomponents/src/utils/translation.js +8 -8
  72. {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/METADATA +23 -1
  73. {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/RECORD +80 -71
  74. imio/smartweb/core/webcomponents/build/js/209.smartweb-webcomponents-compiled.js +0 -2
  75. imio/smartweb/core/webcomponents/build/js/674.smartweb-webcomponents-compiled.js +0 -2
  76. imio/smartweb/core/webcomponents/build/js/804.smartweb-webcomponents-compiled.js +0 -1
  77. /imio/smartweb/core/webcomponents/build/js/{209.smartweb-webcomponents-compiled.js.LICENSE.txt → 824.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
  78. /imio.smartweb.core-1.2.37-py3.10-nspkg.pth → /imio.smartweb.core-1.2.39-py3.10-nspkg.pth +0 -0
  79. {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/LICENSE.GPL +0 -0
  80. {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/LICENSE.rst +0 -0
  81. {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/WHEEL +0 -0
  82. {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/namespace_packages.txt +0 -0
  83. {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.39.dist-info}/top_level.txt +0 -0
@@ -1,24 +1,29 @@
1
- html, body {
2
- max-width: 100%;
3
- overflow-x: initial!important;
1
+ html,
2
+ body {
3
+ max-width: 100%;
4
+ overflow-x: initial !important;
4
5
  }
5
- .row{
6
+
7
+ .row {
6
8
  padding: 0;
7
9
  margin: 0;
8
10
  }
11
+
9
12
  .breadcrumb {
10
- padding: 0;
13
+ padding: 0;
11
14
  }
15
+
12
16
  // FOR SCROLL
13
17
 
14
18
  body .outer-wrapper {
15
- & > .container{
16
- max-width: 100%!important;
17
- padding: 0!important;
19
+ &>.container {
20
+ max-width: 100% !important;
21
+ padding: 0 !important;
18
22
 
19
23
  }
20
24
  }
21
- .r-annuaire-wrapper{
25
+
26
+ .r-annuaire-wrapper {
22
27
  @media screen and (min-width:1200px) {
23
28
  max-width: 100%;
24
29
  margin-right: inherit;
@@ -26,43 +31,51 @@ body .outer-wrapper {
26
31
  padding-left: 0;
27
32
  }
28
33
  }
29
- #portal-column-content{
30
- padding: 0!important;
34
+
35
+ #portal-column-content {
36
+ padding: 0 !important;
31
37
  }
32
- .r-result-filter-container{
38
+
39
+ .r-result-filter-container {
33
40
  @media screen and (min-width:1200px) {
34
41
  position: sticky;
35
42
  }
43
+
36
44
  background: #fff;
37
45
  z-index: 1;
38
46
  }
39
- .annuaire-result-filter{
47
+
48
+ .annuaire-result-filter {
40
49
  padding: 0 .75rem;
41
50
  }
42
- #portal-column-content{
43
- h1{
51
+
52
+ #portal-column-content {
53
+ h1 {
44
54
  font-size: 0px;
45
55
  position: absolute;
46
56
  }
47
57
  }
48
58
 
49
59
  header#content-header {
50
- position: sticky;
51
- top: 0;
60
+ position: sticky;
61
+ top: 0;
52
62
  background: #fff;
53
63
  }
54
64
 
55
- #viewlet-below-content-title,#viewlet-below-content-description{
65
+ #viewlet-below-content-title,
66
+ #viewlet-below-content-description {
56
67
  display: none;
57
68
  }
58
- article > header {
59
- margin-bottom: 0px;
69
+
70
+ article>header {
71
+ margin-bottom: 0px;
60
72
  }
61
73
 
62
- .r-annuaire-result{
74
+ .r-annuaire-result {
63
75
  grid-area: 1 / 1 / 3 / 2;
64
76
  }
65
- .r-map.annuaire-map{
77
+
78
+ .r-map.annuaire-map {
66
79
  position: sticky;
67
80
  grid-area: 1 / 2 / 2 / 3;
68
81
  }
@@ -72,17 +85,19 @@ article > header {
72
85
 
73
86
 
74
87
 
75
- .r-results-numbers{
88
+ .r-results-numbers {
76
89
  width: 100%;
77
90
  margin-bottom: 0.5rem;
78
- span{
91
+
92
+ span {
79
93
  font-weight: bold;
80
94
  }
81
95
  }
82
96
 
83
- .r-wrapper{
97
+ .r-wrapper {
84
98
  display: block;
85
- @media screen and (min-width:1200px){
99
+
100
+ @media screen and (min-width:1200px) {
86
101
  display: grid;
87
102
  grid-template-columns: minmax(20px, 800px) minmax(20px, 100%);
88
103
  justify-content: space-between;
@@ -90,75 +105,97 @@ article > header {
90
105
  margin-left: auto;
91
106
  gap: 40px;
92
107
  }
93
- @media screen and (min-width:1400px){
108
+
109
+ @media screen and (min-width:1400px) {
94
110
  width: calc(648px + 50vw);
95
111
  }
96
- .r-result{
112
+
113
+ .r-result {
97
114
  padding-bottom: 2rem;
98
- &-list{
99
- padding:0;
100
- .r-list-item-group{
115
+
116
+ &-list {
117
+ padding: 0;
118
+
119
+ .r-list-item-group {
101
120
  position: relative;
102
121
  list-style: none;
103
- margin:1rem 0;
104
- .r-list-item-link{
122
+ margin: 1rem 0;
123
+
124
+ .r-list-item-link {
105
125
  inset: 0px !important;
106
126
  position: absolute !important;
107
127
  }
108
- .r-list-item{
128
+
129
+ .r-list-item {
109
130
  display: flex;
110
131
  height: 100%;
111
132
  flex-direction: column;
112
- @media screen and (min-width:600px){
113
- flex-direction: row;
133
+
134
+ @media screen and (min-width:600px) {
135
+ flex-direction: row;
114
136
  }
115
- .r-item-img{
137
+
138
+ .r-item-img {
116
139
  width: 100%;
117
140
  padding-bottom: 56%;
118
141
  position: relative;
119
142
  z-index: -1;
120
143
  background-color: #000;
121
- @media screen and (min-width:600px){
144
+
145
+ @media screen and (min-width:600px) {
122
146
  width: 246px;
123
147
  height: 149px;
124
148
  padding-bottom: 0;
125
149
  flex: 246px 0 0;
126
150
  }
151
+
127
152
  background-size: cover;
128
153
  border-radius: 5px;
129
- div,img {
154
+
155
+ div,
156
+ img {
130
157
  border-radius: 5px;
131
158
  }
132
159
  }
133
- .r-item-text{
160
+
161
+ .r-item-text {
134
162
  margin-top: 0.6rem;
135
- @media screen and (min-width:600px){
163
+
164
+ @media screen and (min-width:600px) {
136
165
  margin-left: 1.5rem;
137
166
  margin-top: 0;
138
167
  }
168
+
139
169
  flex-grow: 1;
140
- a{
170
+
171
+ a {
141
172
  position: relative;
142
173
  }
143
- .r-item-title{
174
+
175
+ .r-item-title {
144
176
  font-weight: bold;
145
177
  display: block;
146
178
  }
147
- .r-item-categorie{
179
+
180
+ .r-item-categorie {
148
181
  display: block;
149
182
  }
150
- .r-item-all{
183
+
184
+ .r-item-all {
151
185
  display: flex;
152
186
  gap: 10px;
153
- .r-item-adresse{
187
+
188
+ .r-item-adresse {
154
189
  width: 36%;
155
190
  }
191
+
156
192
  .phones {
157
193
  display: flex;
158
194
  gap: 0 5px;
159
195
  flex-wrap: wrap;
160
196
  }
161
- .mails{
197
+
198
+ .mails {
162
199
  display: flex;
163
200
  flex-direction: column;
164
201
  }
@@ -174,46 +211,62 @@ article > header {
174
211
  .r-content-description {
175
212
  border-bottom: solid 1px #e6e6e6;
176
213
  }
214
+
177
215
  .contactTextAll {
178
216
  margin-top: 1rem;
179
217
  position: relative;
218
+
180
219
  @media screen and (min-width:700px) {
181
220
  padding-right: 128px;
182
221
  }
183
- .annuaire-logo {
184
- margin-top: .5rem;
185
- max-width: 128px;
186
- @media screen and (min-width:700px) {
187
- position: absolute;
188
- top: 0;
189
- right: 0;
190
- }
222
+
223
+ .annuaire-logo {
224
+ margin-top: .5rem;
225
+ max-width: 128px;
226
+
227
+ @media screen and (min-width:700px) {
228
+ position: absolute;
229
+ top: 0;
230
+ right: 0;
191
231
  }
232
+ }
192
233
  }
234
+
193
235
  .annuaire-info-title {
194
236
  font-weight: bold;
195
237
  }
196
- .annuaire-website-link,.annaire-adresse,.annuaire-phone,.annuaire-website-mails,.annuaire-social-link,.annuaire-schedul {
238
+
239
+ .annuaire-website-link,
240
+ .annaire-adresse,
241
+ .annuaire-phone,
242
+ .annuaire-website-mails,
243
+ .annuaire-social-link,
244
+ .annuaire-schedul {
197
245
  display: flex;
198
246
  gap: 10px;
199
247
  align-items: first baseline;
200
248
  margin-bottom: .5rem;
249
+
201
250
  a {
202
251
  text-decoration: none;
203
252
  }
204
253
  }
205
- .annuaire-phone,.annuaire-website-mails {
254
+
255
+ .annuaire-phone,
256
+ .annuaire-website-mails {
206
257
  span {
207
258
  display: block;
208
259
  font-weight: 500;
260
+
209
261
  a {
210
262
  font-weight: 400;
211
263
  }
212
264
  }
213
265
  }
266
+
214
267
  .annuaire-website-mails {
215
268
 
216
- div{
269
+ div {
217
270
 
218
271
  span {
219
272
  display: block;
@@ -224,23 +277,27 @@ article > header {
224
277
 
225
278
  .annuaire-social-link {
226
279
  margin: .5rem 0;
227
- ul{
228
- display: flex;
229
- gap: 10px;
230
- margin:0;
231
- li{
280
+
281
+ ul {
282
+ display: flex;
283
+ gap: 10px;
284
+ margin: 0;
285
+
286
+ li {
232
287
  list-style: none;
233
288
  }
234
289
  }
235
290
  }
236
291
 
237
292
  .annuaire-website-link {
293
+
238
294
  // display: flex;
239
295
  // gap: 10px;
240
296
  // position: relative;
241
297
  // overflow: hidden;
242
298
  // margin: .5rem 0;
243
- ul{
299
+ ul {
300
+
244
301
  // display: flex;
245
302
  // flex-direction: row;
246
303
  // flex-wrap: wrap;
@@ -261,49 +318,58 @@ article > header {
261
318
  .annuaire-day-close {
262
319
  color: #e61d1d;
263
320
  }
321
+
264
322
  .annuaire-day-open {
265
- color:rgba(129,201,149,1.0);
323
+ color: rgba(129, 201, 149, 1.0);
266
324
  }
325
+
267
326
  .annuaire-schedul {
268
327
  li {
269
328
  list-style: none;
270
329
  }
271
330
  }
331
+
272
332
  // FOR BLA
273
333
 
274
- .r-wrapper{
334
+ .r-wrapper {
275
335
 
276
- .r-result{
277
- &-list{
278
- .r-list-item-group{
279
- .r-list-item{
280
- .r-item-img{
281
- }
282
- .r-item-text{
336
+ .r-result {
337
+ &-list {
338
+ .r-list-item-group {
339
+ .r-list-item {
340
+ .r-item-img {}
341
+
342
+ .r-item-text {
283
343
  font-size: 13px;
284
- &:after{
344
+
345
+ &:after {
285
346
  content: "";
286
347
  width: 50px;
287
348
  height: 50px;
288
349
  background: yellow;
289
350
  border-radius: 50px;
290
351
  }
291
- .r-item-title{
352
+
353
+ .r-item-title {
292
354
  font-size: 18px;
293
355
  }
294
- .r-item-categorie{
356
+
357
+ .r-item-categorie {
295
358
  margin-bottom: 5px;
296
359
  }
297
- .r-item-all{
360
+
361
+ .r-item-all {
298
362
  color: #727272;
299
363
 
300
- a{
364
+ a {
301
365
  color: #000;
302
366
  }
303
- .r-item-adresse{
304
- .itineraty{
367
+
368
+ .r-item-adresse {
369
+ .itineraty {
305
370
  margin-top: 5px;
306
- &:before{
371
+
372
+ &:before {
307
373
  content: "";
308
374
  width: 15px;
309
375
  height: 15px;
@@ -314,7 +380,8 @@ article > header {
314
380
  }
315
381
  }
316
382
  }
317
- .r-item-contact{
383
+
384
+ .r-item-contact {
318
385
  width: 100%;
319
386
  }
320
387
  }
@@ -326,10 +393,11 @@ article > header {
326
393
 
327
394
  }
328
395
 
329
- .r-load-more{
396
+ .r-load-more {
330
397
  margin-bottom: 2rem;
331
398
  text-align: center;
332
- button{
399
+
400
+ button {
333
401
  background: #000;
334
402
  border: solid 1px transparent;
335
403
  color: #fff;
@@ -341,18 +409,21 @@ article > header {
341
409
  font-size: 14px;
342
410
  margin: 0 auto;
343
411
  display: block;
344
- &:hover{
412
+
413
+ &:hover {
345
414
  background: rgba(0, 0, 0, 0.871);
346
415
  }
347
416
  }
348
417
  }
349
- .r-map{
350
- @media screen and (max-width:1200px){
351
- margin-top: 2rem!important;
418
+
419
+ .r-map {
420
+ @media screen and (max-width:1200px) {
421
+ margin-top: 2rem !important;
352
422
  }
353
- .leaflet-container{
354
- @media screen and (max-width:1200px){
355
- height: 50vh!important;
423
+
424
+ .leaflet-container {
425
+ @media screen and (max-width:1200px) {
426
+ height: 50vh !important;
356
427
  }
357
428
  }
358
429
  }
@@ -364,65 +435,79 @@ article > header {
364
435
  .no-map {
365
436
  @media screen and (min-width: 600px) {
366
437
  .r-annuaire-wrapper {
367
- display: block;
438
+ display: block;
368
439
  }
440
+
369
441
  .r-wrapper {
370
442
  .r-result-list {
371
- max-width: 1296px;
372
- display: grid;
373
- grid-template-columns: repeat(auto-fill,minmax(244px,1fr));
374
- gap: 20px;
443
+ max-width: 1296px;
444
+ display: grid;
445
+ grid-template-columns: repeat(auto-fill, minmax(244px, 1fr));
446
+ gap: 20px;
375
447
  }
448
+
376
449
  .r-list-item-group {
377
- display: block!important;
378
- transition: all .2s ease;
379
- &:hover,&:focus {
380
- transform: translateY(-10px)!important;
450
+ display: block !important;
451
+ transition: all .2s ease;
452
+
453
+ &:hover,
454
+ &:focus {
455
+ transform: translateY(-10px) !important;
456
+ }
457
+
458
+ .r-list-item {
459
+ flex-direction: column !important;
460
+ box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
461
+
462
+ .r-item-img {
463
+ flex: inherit;
464
+ width: 100% !important;
465
+ aspect-ratio: 5 / 3;
466
+ margin-bottom: 0;
467
+ height: auto;
381
468
  }
382
- .r-list-item {
383
- flex-direction: column!important;
384
- box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
385
- .r-item-img {
386
- flex: inherit;
387
- width: 100%!important;
388
- aspect-ratio: 5 / 3;
389
- margin-bottom: 0;
390
- height: auto;
469
+
470
+ .r-item-text {
471
+ display: block;
472
+ margin-right: 1.5rem;
473
+ margin-bottom: .5rem;
474
+ margin-top: .5rem;
475
+
476
+ &:after {
477
+ display: none;
478
+ }
479
+
480
+ .r-item-categorie {
481
+ margin-bottom: .25rem;
482
+ margin-top: .25rem;
483
+ }
484
+
485
+ .r-item-title {
486
+ margin-bottom: .25rem;
487
+ margin-top: .25rem;
488
+ font-size: 16px;
489
+ }
490
+
491
+ .r-item-all {
492
+ display: block !important;
493
+
494
+ .r-item-adresse {
495
+ margin-bottom: .25rem;
496
+ margin-top: .25rem;
497
+ width: auto;
391
498
  }
392
- .r-item-text {
393
- display: block;
394
- margin-right: 1.5rem;
395
- margin-bottom: .5rem;
396
- margin-top: .5rem;
397
- &:after {
398
- display: none;
399
- }
400
- .r-item-categorie {
401
- margin-bottom: .25rem;
402
- margin-top: .25rem;
403
- }
404
- .r-item-title {
405
- margin-bottom: .25rem;
406
- margin-top: .25rem;
407
- font-size: 16px;
408
- }
409
- .r-item-all {
410
- display: block!important;
411
- .r-item-adresse {
412
- margin-bottom: .25rem;
413
- margin-top: .25rem;
414
- width: auto;
415
- }
416
- .phones{
417
-
418
- }
419
- .mails,.phones,.topics {
420
- margin-bottom: .25rem;
421
- margin-top: .25rem;
422
- }
423
- }
499
+
500
+ .phones {}
501
+
502
+ .mails,
503
+ .phones,
504
+ .topics {
505
+ margin-bottom: .25rem;
506
+ margin-top: .25rem;
424
507
  }
508
+ }
425
509
  }
510
+ }
426
511
  }
427
512
  }
428
513
  }
@@ -434,6 +519,7 @@ article > header {
434
519
  .r-result.r-annuaire-result {
435
520
  max-width: 1296px;
436
521
  }
522
+
437
523
  .annuaire-content {
438
524
  max-width: 700px;
439
525
  margin: 0 auto;
@@ -1,4 +1,4 @@
1
- import { useHistory } from "react-router-dom";
1
+ import { useNavigate } from "react-router-dom";
2
2
  import React, { useEffect, useState } from "react";
3
3
  import useAxios from "../../../hooks/useAxios";
4
4
  import useFilterQuery from "../../../hooks/useFilterQuery";
@@ -6,10 +6,11 @@ import ReactMarkdown from 'react-markdown';
6
6
  import "spotlight.js";
7
7
  import "../../../../node_modules/flexbin/flexbin.css"
8
8
  import { Translate } from "react-translated";
9
+ import queryString from 'query-string';
10
+
9
11
 
10
12
  const ContactContent = ({ queryUrl, onChange }) => {
11
- let history = useHistory();
12
- const queryString = require("query-string");
13
+ const navigate = useNavigate();
13
14
  const { u, ...parsed } = Object.assign(
14
15
  { UID: queryString.parse(useFilterQuery().toString())['u'], fullobjects: 1 },
15
16
  );
@@ -71,7 +72,7 @@ const ContactContent = ({ queryUrl, onChange }) => {
71
72
  }, [item]);
72
73
 
73
74
  function handleClick() {
74
- history.push("./");
75
+ navigate("..");
75
76
  onChange(null);
76
77
  }
77
78
  let countryTitle = item.country && item.country.title
@@ -171,7 +172,7 @@ const ContactContent = ({ queryUrl, onChange }) => {
171
172
  {item.schedule_for_today}
172
173
  </span>
173
174
  <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="currentColor" class="bi bi-caret-down-fill" viewBox="0 0 16 16">
174
- <path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/>
175
+ <path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z" />
175
176
  </svg>
176
177
  </>
177
178
  ) : (
@@ -408,4 +409,4 @@ const ContactContent = ({ queryUrl, onChange }) => {
408
409
  </div>
409
410
  );
410
411
  };
411
- export default ContactContent;
412
+ export default ContactContent;
@@ -25,7 +25,7 @@ const ContactList = ({ contactArray, onChange, onHover, parentCallback }) => {
25
25
  className="r-list-item-link"
26
26
  style={{ textDecoration: "none" }}
27
27
  to={{
28
- pathname: "/"+removeAccents(item.title).replace(/[^a-zA-Z ]/g, "").replace(/\s/g, "-").toLowerCase(),
28
+ pathname: "/" + removeAccents(item.title).replace(/[^a-zA-Z ]/g, "").replace(/\s/g, "-").toLowerCase(),
29
29
  search: `?u=${item.UID}`,
30
30
  state: {
31
31
  idItem: item.UID,
@@ -39,4 +39,4 @@ const ContactList = ({ contactArray, onChange, onHover, parentCallback }) => {
39
39
  </React.Fragment>
40
40
  );
41
41
  };
42
- export default ContactList;
42
+ export default ContactList;