imio.smartweb.core 1.2.37__py3-none-any.whl → 1.2.79__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.
- imio/smartweb/core/behaviors/categorization.py +24 -0
- imio/smartweb/core/behaviors/configure.zcml +7 -0
- imio/smartweb/core/browser/controlpanel.py +43 -0
- imio/smartweb/core/browser/faceted/block_view.pt +4 -4
- imio/smartweb/core/browser/faceted/summary_view.pt +4 -4
- imio/smartweb/core/browser/sitemap.py +10 -3
- imio/smartweb/core/browser/static/icons/action-delete.svg +3 -0
- imio/smartweb/core/browser/static/icons/action-engagement-2.svg +4 -0
- imio/smartweb/core/browser/static/icons/action-panneaux.svg +3 -0
- imio/smartweb/core/browser/static/icons/action-vote.svg +3 -0
- imio/smartweb/core/browser/static/icons/categorie-attention.svg +3 -0
- imio/smartweb/core/browser/static/icons/categorie-infos-travaux-2.svg +4 -0
- imio/smartweb/core/browser/static/icons/categorie-nature.svg +3 -0
- imio/smartweb/core/browser/static/icons/categorie-parcs-a-conteneurs.svg +4 -0
- imio/smartweb/core/browser/static/icons/categorie-plus.svg +3 -0
- imio/smartweb/core/browser/static/icons/categorie-primes-2.svg +5 -0
- imio/smartweb/core/browser/static/icons/categorie-sport-natation.svg +4 -0
- imio/smartweb/core/browser/static/icons/organisation-ecole-sac.svg +4 -0
- imio/smartweb/core/browser/static/icons/organisation-scout.svg +3 -0
- imio/smartweb/core/browser/static/icons/reseausocial-behance.svg +3 -0
- imio/smartweb/core/browser/static/icons/reseausocial-linkedin.svg +3 -0
- imio/smartweb/core/browser/static/smartweb-edit-compiled.css +1 -1
- imio/smartweb/core/browser/static/smartweb-view-compiled.css +1 -1
- imio/smartweb/core/browser/static/src/edit.less +42 -0
- imio/smartweb/core/browser/static/src/view.less +109 -56
- imio/smartweb/core/browser/vocabulary.py +8 -3
- imio/smartweb/core/contents/__init__.py +2 -0
- imio/smartweb/core/contents/configure.zcml +1 -0
- imio/smartweb/core/contents/folder/block_view.pt +8 -8
- imio/smartweb/core/contents/folder/summary_view.pt +4 -4
- imio/smartweb/core/contents/pages/cirkwi/content.py +5 -0
- imio/smartweb/core/contents/pages/cirkwi/view.py +2 -1
- imio/smartweb/core/contents/pages/configure.zcml +1 -0
- imio/smartweb/core/contents/pages/portal_page/view.py +3 -0
- imio/smartweb/core/contents/pages/views.py +47 -1
- imio/smartweb/core/contents/publication/__init__.py +0 -0
- imio/smartweb/core/contents/publication/configure.zcml +5 -0
- imio/smartweb/core/contents/publication/content.py +23 -0
- imio/smartweb/core/contents/rest/base.py +9 -7
- imio/smartweb/core/contents/rest/directory/endpoint.py +2 -2
- imio/smartweb/core/contents/rest/directory/view.pt +2 -1
- imio/smartweb/core/contents/rest/events/content.py +13 -0
- imio/smartweb/core/contents/rest/events/endpoint.py +5 -3
- imio/smartweb/core/contents/rest/events/view.pt +5 -1
- imio/smartweb/core/contents/rest/events/view.py +12 -0
- imio/smartweb/core/contents/rest/news/content.py +6 -0
- imio/smartweb/core/contents/rest/news/endpoint.py +4 -2
- imio/smartweb/core/contents/rest/news/view.pt +4 -1
- imio/smartweb/core/contents/rest/news/view.py +8 -0
- imio/smartweb/core/contents/rest/utils.py +0 -1
- imio/smartweb/core/contents/rest/view.py +4 -0
- imio/smartweb/core/contents/sections/common_templates/carousel.pt +5 -1
- imio/smartweb/core/contents/sections/common_templates/table.pt +18 -4
- imio/smartweb/core/contents/sections/configure.zcml +18 -0
- imio/smartweb/core/contents/sections/contact/content.py +2 -2
- imio/smartweb/core/contents/sections/contact/macros.pt +28 -3
- imio/smartweb/core/contents/sections/contact/utils.py +2 -0
- imio/smartweb/core/contents/sections/contact/view.py +28 -12
- imio/smartweb/core/contents/sections/events/content.py +12 -4
- imio/smartweb/core/contents/sections/events/view.py +20 -2
- imio/smartweb/core/contents/sections/external_content/view.pt +4 -4
- imio/smartweb/core/contents/sections/external_content/views.py +6 -4
- imio/smartweb/core/contents/sections/files/content.py +7 -1
- imio/smartweb/core/contents/sections/files/view.py +43 -12
- imio/smartweb/core/contents/sections/links/view.py +5 -0
- imio/smartweb/core/contents/sections/macros.pt +26 -0
- imio/smartweb/core/contents/sections/news/content.py +11 -3
- imio/smartweb/core/contents/sections/news/view.py +20 -2
- imio/smartweb/core/contents/sections/text/views.py +2 -0
- imio/smartweb/core/contents/sections/views.py +73 -10
- imio/smartweb/core/interfaces.py +4 -0
- imio/smartweb/core/profiles/default/metadata.xml +1 -1
- imio/smartweb/core/profiles/default/taxonomies/page_category.xml +16 -0
- imio/smartweb/core/profiles/default/taxonomies/procedure_category.xml +26 -0
- imio/smartweb/core/profiles/default/types/imio.smartweb.EventsView.xml +1 -0
- imio/smartweb/core/profiles/default/types/imio.smartweb.NewsView.xml +1 -0
- imio/smartweb/core/profiles/default/types/imio.smartweb.Publication.xml +38 -0
- imio/smartweb/core/profiles/default/types/imio.smartweb.SectionEvents.xml +1 -0
- imio/smartweb/core/profiles/default/types/imio.smartweb.SectionFiles.xml +2 -0
- imio/smartweb/core/profiles/default/types/imio.smartweb.SectionNews.xml +1 -0
- imio/smartweb/core/profiles/default/types.xml +1 -0
- imio/smartweb/core/profiles/icons/basic/registry.xml +120 -0
- imio/smartweb/core/rest/authentic_sources.py +17 -2
- imio/smartweb/core/subscribers.py +48 -0
- imio/smartweb/core/subscribers.zcml +12 -0
- imio/smartweb/core/tests/resources/json_iadeliberations_institutions.json +60 -0
- imio/smartweb/core/tests/resources/json_iadeliberations_publication.json +105 -0
- imio/smartweb/core/tests/resources/json_iadeliberations_publications.json +270 -0
- imio/smartweb/core/tests/resources/json_rest_events.json +6 -2
- imio/smartweb/core/tests/resources/json_rest_news.json +2 -2
- imio/smartweb/core/tests/resources/json_rest_specific_events.json +1 -1
- imio/smartweb/core/tests/test_htmx_in_sections.py +131 -0
- imio/smartweb/core/tests/test_iadeliberations.py +136 -0
- imio/smartweb/core/tests/test_icons.py +1 -1
- imio/smartweb/core/tests/test_rest.py +58 -17
- imio/smartweb/core/tests/test_section_contact.py +42 -10
- imio/smartweb/core/tests/test_section_events.py +28 -5
- imio/smartweb/core/tests/test_section_external_content.py +28 -2
- imio/smartweb/core/tests/test_section_news.py +30 -8
- imio/smartweb/core/tests/test_sections.py +17 -0
- imio/smartweb/core/tests/test_vocabularies.py +60 -3
- imio/smartweb/core/tests/test_vocabulary.py +43 -0
- imio/smartweb/core/upgrades/configure.zcml +108 -0
- imio/smartweb/core/upgrades/profiles/1055_to_1056/types/imio.smartweb.SectionFiles.xml +12 -0
- imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.EventsView.xml +11 -0
- imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.NewsView.xml +11 -0
- imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.SectionEvents.xml +11 -0
- imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.SectionNews.xml +11 -0
- imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/page_category.cfg +9 -0
- imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/page_category.xml +73 -0
- imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/procedure_category.cfg +9 -0
- imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/procedure_category.xml +118 -0
- imio/smartweb/core/upgrades/profiles/1058_to_1059/registry/linkedin-icon.xml +126 -0
- imio/smartweb/core/upgrades/profiles/1059_to_1060/registry/iadeliberation.xml +9 -0
- imio/smartweb/core/upgrades/profiles/1060_to_1061/types/imio.smartweb.Publication.xml +38 -0
- imio/smartweb/core/upgrades/profiles/1060_to_1061/types/imio.smartweb.SectionFiles.xml +11 -0
- imio/smartweb/core/upgrades/profiles/1060_to_1061/types.xml +4 -0
- imio/smartweb/core/upgrades/profiles/1060_to_1061/workflows.xml +6 -0
- imio/smartweb/core/utils.py +33 -2
- imio/smartweb/core/viewlets/configure.zcml +23 -1
- imio/smartweb/core/viewlets/footer.pt +5 -0
- imio/smartweb/core/viewlets/footer.py +5 -0
- imio/smartweb/core/viewlets/htmx.py +15 -0
- imio/smartweb/core/viewlets/htmx_js_header.pt +64 -0
- imio/smartweb/core/viewlets/ogptags.py +4 -3
- imio/smartweb/core/viewlets/social.py +23 -0
- imio/smartweb/core/vocabularies.py +65 -3
- imio/smartweb/core/vocabularies.zcml +18 -0
- imio/smartweb/core/webcomponents/build/1c1605a5fe9a2b10a88f.png +1 -0
- imio/smartweb/core/webcomponents/build/524db40e119aa11f4478.png +1 -0
- imio/smartweb/core/webcomponents/build/57d3b7cb1ab874660b39.svg +1 -0
- imio/smartweb/core/webcomponents/build/6cf03871df23ed2ee8b3.png +1 -0
- imio/smartweb/core/webcomponents/build/css/373.smartweb-webcomponents-compiled.css +1 -1
- imio/smartweb/core/webcomponents/build/css/486.smartweb-webcomponents-compiled.css +1 -1
- imio/smartweb/core/webcomponents/build/css/884.smartweb-webcomponents-compiled.css +1 -0
- imio/smartweb/core/webcomponents/build/css/919.smartweb-webcomponents-compiled.css +1 -1
- imio/smartweb/core/webcomponents/build/css/smartweb-webcomponents-compiled.css +1 -1
- imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js.LICENSE.txt +10 -8
- imio/smartweb/core/webcomponents/build/js/373.smartweb-webcomponents-compiled.js +2 -1
- imio/smartweb/core/webcomponents/build/js/{568.smartweb-webcomponents-compiled.js.LICENSE.txt → 373.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -4
- imio/smartweb/core/webcomponents/build/js/486.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/499.smartweb-webcomponents-compiled.js +2 -0
- imio/smartweb/core/webcomponents/build/js/{674.smartweb-webcomponents-compiled.js.LICENSE.txt → 499.smartweb-webcomponents-compiled.js.LICENSE.txt} +1 -8
- imio/smartweb/core/webcomponents/build/js/799.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/824.smartweb-webcomponents-compiled.js +2 -0
- imio/smartweb/core/webcomponents/build/js/828.smartweb-webcomponents-compiled.js +2 -0
- imio/smartweb/core/webcomponents/build/js/828.smartweb-webcomponents-compiled.js.LICENSE.txt +32 -0
- imio/smartweb/core/webcomponents/build/js/884.smartweb-webcomponents-compiled.js +1 -0
- imio/smartweb/core/webcomponents/build/js/919.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/{568.smartweb-webcomponents-compiled.js → 963.smartweb-webcomponents-compiled.js} +2 -2
- imio/smartweb/core/webcomponents/build/js/963.smartweb-webcomponents-compiled.js.LICENSE.txt +3 -0
- imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js.LICENSE.txt +11 -14
- imio/smartweb/core/webcomponents/package.json +42 -40
- imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.jsx +146 -79
- imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.scss +415 -351
- imio/smartweb/core/webcomponents/src/components/Annuaire/ContactCard/ContactCard.jsx +95 -62
- imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/ContactContent.jsx +328 -168
- imio/smartweb/core/webcomponents/src/components/Annuaire/ContactList/ContactList.jsx +21 -4
- imio/smartweb/core/webcomponents/src/components/Annuaire/Filters/Filter.jsx +213 -100
- imio/smartweb/core/webcomponents/src/components/Annuaire/index.js +1 -1
- imio/smartweb/core/webcomponents/src/components/Events/EventCard/EventCard.jsx +76 -33
- imio/smartweb/core/webcomponents/src/components/Events/EventContent/EventContent.jsx +604 -377
- imio/smartweb/core/webcomponents/src/components/Events/EventList/EventList.jsx +29 -4
- imio/smartweb/core/webcomponents/src/components/Events/Events.jsx +162 -88
- imio/smartweb/core/webcomponents/src/components/Events/Events.scss +496 -378
- imio/smartweb/core/webcomponents/src/components/Events/Filters/Filter.jsx +259 -91
- imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.jsx +62 -55
- imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.scss +68 -17
- imio/smartweb/core/webcomponents/src/components/Filters/IamData.jsx +42 -0
- imio/smartweb/core/webcomponents/src/components/Filters/MainFilter.scss +229 -0
- imio/smartweb/core/webcomponents/src/components/Filters/PublicTargetData.jsx +94 -0
- imio/smartweb/core/webcomponents/src/components/Filters/SelectStyles.js +58 -0
- imio/smartweb/core/webcomponents/src/components/Filters/TaxonomyFilter.jsx +149 -0
- imio/smartweb/core/webcomponents/src/components/Filters/TaxonomyFilter.scss +70 -0
- imio/smartweb/core/webcomponents/src/components/News/Filters/Filter.jsx +139 -83
- imio/smartweb/core/webcomponents/src/components/News/News.jsx +133 -67
- imio/smartweb/core/webcomponents/src/components/News/News.scss +170 -127
- imio/smartweb/core/webcomponents/src/components/News/NewsCard/NewsCard.jsx +76 -44
- imio/smartweb/core/webcomponents/src/components/News/NewsContent/NewsContent.jsx +261 -188
- imio/smartweb/core/webcomponents/src/components/News/NewsList/NewsList.jsx +48 -9
- imio/smartweb/core/webcomponents/src/components/Search/ContactResult/ContactResult.jsx +21 -10
- imio/smartweb/core/webcomponents/src/components/Search/EventsResult/EventsResult.jsx +21 -10
- imio/smartweb/core/webcomponents/src/components/Search/Filters/Filter.jsx +8 -9
- imio/smartweb/core/webcomponents/src/components/Search/NewsResult/NewsResult.jsx +23 -12
- imio/smartweb/core/webcomponents/src/components/Search/Search.jsx +7 -6
- imio/smartweb/core/webcomponents/src/components/Search/Search.scss +115 -96
- imio/smartweb/core/webcomponents/src/components/Search/WebResult/WebResult.jsx +12 -3
- imio/smartweb/core/webcomponents/src/components/Search/index.js +1 -1
- imio/smartweb/core/webcomponents/src/hooks/ScrollContext.jsx +3 -0
- imio/smartweb/core/webcomponents/src/hooks/useAxios.js +3 -3
- imio/smartweb/core/webcomponents/src/hooks/useFilterQuery.js +1 -2
- imio/smartweb/core/webcomponents/src/index.scss +255 -211
- imio/smartweb/core/webcomponents/src/utils/Map.jsx +26 -19
- imio/smartweb/core/webcomponents/src/utils/Map.scss +2 -2
- imio/smartweb/core/webcomponents/src/utils/translation.js +129 -9
- imio.smartweb.core-1.2.79-py3.8-nspkg.pth +2 -0
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.79.dist-info}/METADATA +413 -10
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.79.dist-info}/RECORD +206 -160
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.79.dist-info}/WHEEL +1 -1
- imio/smartweb/core/webcomponents/build/assets/location-bla.1423bcce16ddcb21141430cac1428dc1.svg +0 -1
- imio/smartweb/core/webcomponents/build/assets/next-react-white.819cb069ac8eec300a9db6a7707712d6.svg +0 -1
- imio/smartweb/core/webcomponents/build/assets/next-react.17bc43ff4a6a86f4520f5782f6a89a72.svg +0 -1
- imio/smartweb/core/webcomponents/build/assets/search.57bdbf5b191499cd77514097d1c4972c.svg +0 -1
- imio/smartweb/core/webcomponents/build/css/686.smartweb-webcomponents-compiled.css +0 -1
- imio/smartweb/core/webcomponents/build/js/209.smartweb-webcomponents-compiled.js +0 -2
- imio/smartweb/core/webcomponents/build/js/674.smartweb-webcomponents-compiled.js +0 -2
- imio/smartweb/core/webcomponents/build/js/686.smartweb-webcomponents-compiled.js +0 -1
- imio/smartweb/core/webcomponents/build/js/804.smartweb-webcomponents-compiled.js +0 -1
- imio/smartweb/core/webcomponents/src/assets/facebook-news.svg +0 -1
- imio/smartweb/core/webcomponents/src/assets/location-bla.svg +0 -1
- imio/smartweb/core/webcomponents/src/assets/next-react.svg +0 -1
- imio/smartweb/core/webcomponents/src/assets/search.svg +0 -1
- imio/smartweb/core/webcomponents/src/assets/skeleton.svg +0 -1
- imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/download.svg +0 -1
- imio.smartweb.core-1.2.37-py3.10-nspkg.pth +0 -3
- /imio/smartweb/core/webcomponents/build/js/{209.smartweb-webcomponents-compiled.js.LICENSE.txt → 824.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.79.dist-info}/LICENSE.GPL +0 -0
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.79.dist-info}/LICENSE.rst +0 -0
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.79.dist-info}/namespace_packages.txt +0 -0
- {imio.smartweb.core-1.2.37.dist-info → imio.smartweb.core-1.2.79.dist-info}/top_level.txt +0 -0
@@ -1,275 +1,301 @@
|
|
1
|
-
.portaltype-imio-smartweb-directoryview{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
.portaltype-imio-smartweb-directoryview {
|
2
|
+
#portal-header {
|
3
|
+
margin-bottom: 0 !important;
|
4
|
+
}
|
5
|
+
|
6
|
+
#portal-breadcrumbs {
|
7
|
+
margin-bottom: 0 !important;
|
8
|
+
|
9
|
+
.breadcrumb {
|
10
|
+
margin-bottom: 0 !important;
|
11
|
+
}
|
9
12
|
}
|
10
|
-
}
|
11
13
|
}
|
12
14
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
.r-wrapper {
|
16
|
+
position: relative;
|
17
|
+
|
18
|
+
figure {
|
19
|
+
display: block;
|
20
|
+
}
|
19
21
|
}
|
20
|
-
|
22
|
+
|
21
23
|
.r-actu-wrapper {
|
22
|
-
|
24
|
+
padding-top: 1rem;
|
23
25
|
}
|
26
|
+
|
24
27
|
.r-result {
|
25
|
-
|
26
|
-
|
27
|
-
display: flex;
|
28
|
-
flex-wrap: wrap;
|
29
|
-
gap: 20px;
|
30
|
-
padding-bottom: 20px;
|
31
|
-
border-bottom: solid 1px #cccc;
|
32
|
-
align-items: center;
|
33
|
-
.r-filter {
|
34
|
-
width: 100%;
|
35
|
-
max-width: 200px;
|
36
|
-
label {
|
37
|
-
display: block;
|
38
|
-
}
|
39
|
-
.r-filter-search {
|
40
|
-
position: relative;
|
41
|
-
.input-custom-class {
|
42
|
-
line-height: 50px;
|
43
|
-
border: 1px solid #CCCCCC;
|
44
|
-
height: 50px;
|
45
|
-
padding: 0 10px;
|
46
|
-
font-weight: bold;
|
47
|
-
color: #000;
|
48
|
-
width: 100%;
|
49
|
-
letter-spacing: 1.2px;
|
50
|
-
&::placeholder {
|
51
|
-
color: #000;
|
52
|
-
font-size: 12px;
|
53
|
-
opacity: 1;
|
54
|
-
text-transform: uppercase;
|
55
|
-
letter-spacing: '1.2px';
|
56
|
-
}
|
57
|
-
}
|
58
|
-
button {
|
59
|
-
background: url(./assets/search.svg) no-repeat;
|
60
|
-
background-position: center;
|
61
|
-
background-size: 80%;
|
62
|
-
border: none;
|
63
|
-
width: 20px;
|
64
|
-
position: absolute;
|
65
|
-
right: 10px;
|
66
|
-
top: 0;
|
67
|
-
bottom: 0;
|
68
|
-
}
|
69
|
-
}
|
28
|
+
position: relative;
|
29
|
+
}
|
70
30
|
|
31
|
+
.r-add-event,
|
32
|
+
.r-add-news,
|
33
|
+
.r-add-contact {
|
34
|
+
@media screen and (min-width: 992px) {
|
35
|
+
position: absolute;
|
36
|
+
right: 0;
|
37
|
+
bottom: 0px;
|
38
|
+
padding-bottom: 1rem;
|
39
|
+
}
|
40
|
+
a {
|
41
|
+
color: #2d2d2d;
|
42
|
+
text-decoration: none;
|
43
|
+
display: flex;
|
44
|
+
flex-direction: row;
|
45
|
+
align-items: center;
|
46
|
+
gap: 7px;
|
47
|
+
&:hover,
|
48
|
+
&:focus {
|
49
|
+
text-decoration: underline;
|
50
|
+
}
|
71
51
|
}
|
72
|
-
}
|
73
|
-
}
|
74
|
-
.r-add-event,.r-add-news,.r-add-contact{
|
75
|
-
a{
|
76
|
-
background: #000;
|
77
|
-
color: #fff;
|
78
|
-
text-decoration: none;
|
79
|
-
padding: 1rem;
|
80
|
-
}
|
81
52
|
}
|
53
|
+
|
82
54
|
/* list item */
|
83
55
|
.r-list-item-link {
|
84
|
-
|
85
|
-
|
56
|
+
inset: 0px !important;
|
57
|
+
position: absolute !important;
|
86
58
|
}
|
59
|
+
|
87
60
|
.r-list-item-group {
|
88
|
-
|
89
|
-
|
61
|
+
margin: 15px 0;
|
62
|
+
position: relative;
|
90
63
|
}
|
64
|
+
|
91
65
|
.r-list-item {
|
92
|
-
|
93
|
-
|
94
|
-
|
66
|
+
display: flex;
|
67
|
+
height: 100%;
|
68
|
+
align-items: stretch;
|
95
69
|
}
|
70
|
+
|
96
71
|
/* load-more-link */
|
97
72
|
.load-more-link {
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
73
|
+
background: transparent;
|
74
|
+
margin: 0 auto;
|
75
|
+
border: none;
|
76
|
+
display: block;
|
102
77
|
}
|
103
78
|
|
104
79
|
//// for bla ////
|
105
|
-
|
106
|
-
.r-filter {
|
107
|
-
label {
|
108
|
-
text-transform: uppercase;
|
109
|
-
font-weight: bold;
|
110
|
-
font-size: 13px;
|
111
|
-
margin-bottom: 10px;
|
112
|
-
}
|
113
|
-
}
|
80
|
+
|
114
81
|
// content
|
115
82
|
.r-content-description {
|
116
|
-
|
83
|
+
font-weight: 500;
|
117
84
|
}
|
85
|
+
|
118
86
|
.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text {
|
119
|
-
|
87
|
+
flex: min-content;
|
120
88
|
}
|
121
89
|
|
122
90
|
// map
|
123
91
|
|
124
92
|
.leaflet-popup {
|
125
|
-
|
93
|
+
padding: 0 !important;
|
126
94
|
}
|
95
|
+
|
127
96
|
.leaflet-container {
|
128
|
-
|
97
|
+
opacity: 1 !important;
|
129
98
|
}
|
130
99
|
|
131
|
-
|
132
100
|
// Flies and gallery
|
133
101
|
|
102
|
+
.r-content-files {
|
103
|
+
margin: 2rem 0;
|
134
104
|
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
105
|
+
&-title {
|
106
|
+
margin-bottom: 1rem;
|
107
|
+
}
|
108
|
+
|
109
|
+
.r-content-file {
|
110
|
+
margin: 1rem 0;
|
111
|
+
|
112
|
+
&-link {
|
113
|
+
text-decoration: none;
|
114
|
+
display: flex;
|
115
|
+
gap: 20px;
|
116
|
+
padding: 1rem;
|
117
|
+
border: solid 1px #e6e6e6;
|
118
|
+
justify-content: space-between;
|
119
|
+
|
120
|
+
&:hover {
|
121
|
+
border: solid 1px #868686;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
&-title {
|
125
|
+
display: flex;
|
126
|
+
align-items: center;
|
127
|
+
gap: 5px;
|
128
|
+
&-size {
|
129
|
+
font-size: 14px;
|
130
|
+
opacity: 0.5;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
span {
|
136
|
+
display: block;
|
152
137
|
}
|
153
|
-
}
|
154
|
-
span{
|
155
|
-
display: block;
|
156
|
-
}
|
157
138
|
}
|
158
139
|
|
159
|
-
.r-content-gallery{
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
140
|
+
.r-content-gallery {
|
141
|
+
margin: 2rem 0;
|
142
|
+
|
143
|
+
&.flexbin > * > img {
|
144
|
+
height: 226px;
|
145
|
+
}
|
146
|
+
|
147
|
+
&.flexbin > * {
|
148
|
+
height: 226px;
|
149
|
+
}
|
167
150
|
}
|
168
151
|
|
169
152
|
// loaer
|
170
|
-
.lds-roller-container{
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
153
|
+
.lds-roller-container {
|
154
|
+
position: absolute;
|
155
|
+
bottom: 0;
|
156
|
+
top: 0;
|
157
|
+
left: 0;
|
158
|
+
right: 0;
|
159
|
+
background: hsla(0, 0%, 100%, 0.82);
|
177
160
|
}
|
161
|
+
|
178
162
|
.lds-roller {
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
163
|
+
display: inline-block;
|
164
|
+
position: absolute;
|
165
|
+
width: 80px;
|
166
|
+
height: 80px;
|
167
|
+
top: 5rem;
|
168
|
+
left: 50%;
|
169
|
+
transform: translate(-50%, -50%);
|
170
|
+
z-index: 0;
|
187
171
|
}
|
172
|
+
|
188
173
|
.lds-roller div {
|
189
|
-
|
190
|
-
|
174
|
+
animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
175
|
+
transform-origin: 40px 40px;
|
191
176
|
}
|
177
|
+
|
192
178
|
.lds-roller div:after {
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
179
|
+
content: " ";
|
180
|
+
display: block;
|
181
|
+
position: absolute;
|
182
|
+
width: 7px;
|
183
|
+
height: 7px;
|
184
|
+
border-radius: 50%;
|
185
|
+
background: rgb(51, 51, 51);
|
186
|
+
margin: -4px 0 0 -4px;
|
201
187
|
}
|
188
|
+
|
202
189
|
.lds-roller div:nth-child(1) {
|
203
|
-
|
190
|
+
animation-delay: -0.036s;
|
204
191
|
}
|
192
|
+
|
205
193
|
.lds-roller div:nth-child(1):after {
|
206
|
-
|
207
|
-
|
194
|
+
top: 63px;
|
195
|
+
left: 63px;
|
208
196
|
}
|
197
|
+
|
209
198
|
.lds-roller div:nth-child(2) {
|
210
|
-
|
199
|
+
animation-delay: -0.072s;
|
211
200
|
}
|
201
|
+
|
212
202
|
.lds-roller div:nth-child(2):after {
|
213
|
-
|
214
|
-
|
203
|
+
top: 68px;
|
204
|
+
left: 56px;
|
215
205
|
}
|
206
|
+
|
216
207
|
.lds-roller div:nth-child(3) {
|
217
|
-
|
208
|
+
animation-delay: -0.108s;
|
218
209
|
}
|
210
|
+
|
219
211
|
.lds-roller div:nth-child(3):after {
|
220
|
-
|
221
|
-
|
212
|
+
top: 71px;
|
213
|
+
left: 48px;
|
222
214
|
}
|
215
|
+
|
223
216
|
.lds-roller div:nth-child(4) {
|
224
|
-
|
217
|
+
animation-delay: -0.144s;
|
225
218
|
}
|
219
|
+
|
226
220
|
.lds-roller div:nth-child(4):after {
|
227
|
-
|
228
|
-
|
221
|
+
top: 72px;
|
222
|
+
left: 40px;
|
229
223
|
}
|
224
|
+
|
230
225
|
.lds-roller div:nth-child(5) {
|
231
|
-
|
226
|
+
animation-delay: -0.18s;
|
232
227
|
}
|
228
|
+
|
233
229
|
.lds-roller div:nth-child(5):after {
|
234
|
-
|
235
|
-
|
230
|
+
top: 71px;
|
231
|
+
left: 32px;
|
236
232
|
}
|
233
|
+
|
237
234
|
.lds-roller div:nth-child(6) {
|
238
|
-
|
235
|
+
animation-delay: -0.216s;
|
239
236
|
}
|
237
|
+
|
240
238
|
.lds-roller div:nth-child(6):after {
|
241
|
-
|
242
|
-
|
239
|
+
top: 68px;
|
240
|
+
left: 24px;
|
243
241
|
}
|
242
|
+
|
244
243
|
.lds-roller div:nth-child(7) {
|
245
|
-
|
244
|
+
animation-delay: -0.252s;
|
246
245
|
}
|
246
|
+
|
247
247
|
.lds-roller div:nth-child(7):after {
|
248
|
-
|
249
|
-
|
248
|
+
top: 63px;
|
249
|
+
left: 17px;
|
250
250
|
}
|
251
|
+
|
251
252
|
.lds-roller div:nth-child(8) {
|
252
|
-
|
253
|
+
animation-delay: -0.288s;
|
253
254
|
}
|
255
|
+
|
254
256
|
.lds-roller div:nth-child(8):after {
|
255
|
-
|
256
|
-
|
257
|
+
top: 56px;
|
258
|
+
left: 12px;
|
257
259
|
}
|
260
|
+
|
258
261
|
@keyframes lds-roller {
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
262
|
+
0% {
|
263
|
+
transform: rotate(0deg);
|
264
|
+
}
|
265
|
+
|
266
|
+
100% {
|
267
|
+
transform: rotate(360deg);
|
268
|
+
}
|
265
269
|
}
|
266
270
|
|
267
271
|
// image figure
|
268
272
|
.r-content-figure {
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
+
position: relative;
|
274
|
+
aspect-ratio: 16/9;
|
275
|
+
background-color: #000;
|
276
|
+
|
277
|
+
&-blur {
|
278
|
+
position: absolute;
|
279
|
+
width: 100%;
|
280
|
+
height: 100%;
|
281
|
+
top: 0;
|
282
|
+
left: 0;
|
283
|
+
background-size: cover;
|
284
|
+
background-position: center;
|
285
|
+
opacity: 0.8;
|
286
|
+
}
|
287
|
+
|
288
|
+
&-img {
|
289
|
+
position: absolute;
|
290
|
+
width: 100%;
|
291
|
+
height: 100%;
|
292
|
+
object-fit: cover;
|
293
|
+
object-position: center;
|
294
|
+
backdrop-filter: blur(10px);
|
295
|
+
}
|
296
|
+
}
|
297
|
+
|
298
|
+
.r-content-img-blur {
|
273
299
|
position: absolute;
|
274
300
|
width: 100%;
|
275
301
|
height: 100%;
|
@@ -277,35 +303,53 @@
|
|
277
303
|
left: 0;
|
278
304
|
background-size: cover;
|
279
305
|
background-position: center;
|
280
|
-
opacity: 0.8;
|
281
|
-
}
|
282
|
-
&-img{
|
283
|
-
position: absolute;
|
284
|
-
width: 100%;
|
285
|
-
height: 100%;
|
286
|
-
object-fit: cover;
|
287
|
-
object-position: center;
|
288
|
-
backdrop-filter: blur(10px);
|
289
|
-
}
|
290
|
-
}
|
291
|
-
.r-content-img-blur {
|
292
|
-
position: absolute;
|
293
|
-
width: 100%;
|
294
|
-
height: 100%;
|
295
|
-
top: 0;
|
296
|
-
left: 0;
|
297
|
-
background-size: cover;
|
298
|
-
background-position: center;
|
299
306
|
}
|
300
307
|
|
301
308
|
.img-cover {
|
302
|
-
|
303
|
-
|
309
|
+
background-size: cover;
|
310
|
+
background-position: center;
|
304
311
|
}
|
312
|
+
|
305
313
|
.img-contain {
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
}
|
314
|
+
object-fit: contain;
|
315
|
+
object-position: center;
|
316
|
+
background-size: contain;
|
317
|
+
background-repeat: no-repeat;
|
318
|
+
background-position: center;
|
319
|
+
}
|
320
|
+
|
321
|
+
.no-search-item-img {
|
322
|
+
background: black;
|
323
|
+
background-color: #c9c9c9 !important;
|
324
|
+
background-position: center !important;
|
325
|
+
}
|
326
|
+
|
327
|
+
.r-search-img {
|
328
|
+
background-color: #c9c9c9 !important;
|
329
|
+
}
|
330
|
+
|
331
|
+
.portaltype-imio-smartweb-eventsview,
|
332
|
+
.portaltype-imio-smartweb-directoryview,
|
333
|
+
.portaltype-imio-smartweb-newsview {
|
334
|
+
#portal-breadcrumbs,
|
335
|
+
#portal-header {
|
336
|
+
margin-bottom: 0 !important;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
|
340
|
+
.edit-rest-elements {
|
341
|
+
position: absolute;
|
342
|
+
right: 5px;
|
343
|
+
top: 5px;
|
344
|
+
display: flex;
|
345
|
+
flex-direction: column;
|
346
|
+
align-items: center;
|
347
|
+
padding: 10px;
|
348
|
+
}
|
349
|
+
|
350
|
+
.edit-rest-elements-content {
|
351
|
+
top: 10px;
|
352
|
+
}
|
353
|
+
.edit-rest-elements-news {
|
354
|
+
padding: 10px;
|
355
|
+
}
|
@@ -8,6 +8,7 @@ import { Link } from "react-router-dom";
|
|
8
8
|
import "./Map.scss";
|
9
9
|
import "leaflet/dist/leaflet.css";
|
10
10
|
import removeAccents from "remove-accents";
|
11
|
+
import queryString from "query-string";
|
11
12
|
|
12
13
|
function ChangeMapView({ activeItem, arrayOfLatLngs }) {
|
13
14
|
const map = useMap();
|
@@ -27,13 +28,17 @@ function Map(props) {
|
|
27
28
|
const [activeItem, setActiveItem] = useState(null);
|
28
29
|
const [filterGeoArray, setFilterGeoArray] = useState([]);
|
29
30
|
const [allPosition, setAllPosition] = useState(null);
|
30
|
-
const
|
31
|
-
|
32
|
-
|
33
|
-
);
|
31
|
+
const { u, ...parsed } = Object.assign({
|
32
|
+
UID: queryString.parse(useFilterQuery().toString())["u"],
|
33
|
+
});
|
34
34
|
// Delete Imio positions
|
35
35
|
useEffect(() => {
|
36
|
-
const filterArray = props.items.filter(
|
36
|
+
const filterArray = props.items.filter(
|
37
|
+
(isgeo) =>
|
38
|
+
isgeo.geolocation.latitude &&
|
39
|
+
isgeo.geolocation.latitude !== 50.4989185 &&
|
40
|
+
isgeo.geolocation.longitude !== 4.7184485
|
41
|
+
);
|
37
42
|
setFilterGeoArray(filterArray);
|
38
43
|
}, [props]);
|
39
44
|
|
@@ -43,7 +48,7 @@ function Map(props) {
|
|
43
48
|
iconUrl: url,
|
44
49
|
iconSize: [29, 37],
|
45
50
|
});
|
46
|
-
}
|
51
|
+
};
|
47
52
|
// Get Marker Icon and Z-index
|
48
53
|
const getMarkerIcon = (index) => {
|
49
54
|
if (index === parsed.UID) {
|
@@ -66,13 +71,12 @@ function Map(props) {
|
|
66
71
|
|
67
72
|
useEffect(() => {
|
68
73
|
var result =
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
}, [filterGeoArray]);
|
75
|
-
|
74
|
+
filterGeoArray &&
|
75
|
+
filterGeoArray.filter((obj) => {
|
76
|
+
return obj.UID === parsed.UID;
|
77
|
+
});
|
78
|
+
setActiveItem(result[0]);
|
79
|
+
}, [filterGeoArray]);
|
76
80
|
|
77
81
|
useEffect(() => {
|
78
82
|
if (filterGeoArray.length > 0) {
|
@@ -87,9 +91,9 @@ function Map(props) {
|
|
87
91
|
}, [filterGeoArray]);
|
88
92
|
const position = [50.85034, 4.35171];
|
89
93
|
|
90
|
-
const markers = filterGeoArray.map((mark) => (
|
94
|
+
const markers = filterGeoArray.map((mark,i) => (
|
91
95
|
<Marker
|
92
|
-
key={
|
96
|
+
key={i}
|
93
97
|
icon={getMarkerIcon(mark.UID)}
|
94
98
|
zIndexOffset={getMarkerZindex(mark.UID)}
|
95
99
|
position={[
|
@@ -107,9 +111,12 @@ function Map(props) {
|
|
107
111
|
className="r-map-popup"
|
108
112
|
style={{ textDecoration: "none" }}
|
109
113
|
to={{
|
110
|
-
pathname:
|
111
|
-
|
112
|
-
|
114
|
+
pathname:
|
115
|
+
"/" +
|
116
|
+
removeAccents(mark.title)
|
117
|
+
.replace(/[^a-zA-Z ]/g, "")
|
118
|
+
.replace(/\s/g, "-")
|
119
|
+
.toLowerCase(),
|
113
120
|
search: `?u=${mark.UID}`,
|
114
121
|
state: {
|
115
122
|
idItem: mark.UID,
|
@@ -143,7 +150,7 @@ function Map(props) {
|
|
143
150
|
) : (
|
144
151
|
""
|
145
152
|
)}
|
146
|
-
{filterGeoArray && markers
|
153
|
+
{filterGeoArray && markers}
|
147
154
|
</MapContainer>
|
148
155
|
</div>
|
149
156
|
);
|