imio.smartweb.core 1.2.38__py3-none-any.whl → 1.2.80__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 (223) hide show
  1. imio/smartweb/core/behaviors/categorization.py +24 -0
  2. imio/smartweb/core/behaviors/configure.zcml +7 -0
  3. imio/smartweb/core/browser/controlpanel.py +43 -0
  4. imio/smartweb/core/browser/faceted/block_view.pt +4 -4
  5. imio/smartweb/core/browser/faceted/summary_view.pt +4 -4
  6. imio/smartweb/core/browser/sitemap.py +10 -3
  7. imio/smartweb/core/browser/static/icons/action-delete.svg +3 -0
  8. imio/smartweb/core/browser/static/icons/action-engagement-2.svg +4 -0
  9. imio/smartweb/core/browser/static/icons/action-panneaux.svg +3 -0
  10. imio/smartweb/core/browser/static/icons/action-vote.svg +3 -0
  11. imio/smartweb/core/browser/static/icons/categorie-attention.svg +3 -0
  12. imio/smartweb/core/browser/static/icons/categorie-infos-travaux-2.svg +4 -0
  13. imio/smartweb/core/browser/static/icons/categorie-mon-dossier.svg +1 -1
  14. imio/smartweb/core/browser/static/icons/categorie-nature.svg +3 -0
  15. imio/smartweb/core/browser/static/icons/categorie-parcs-a-conteneurs.svg +4 -0
  16. imio/smartweb/core/browser/static/icons/categorie-plus.svg +3 -0
  17. imio/smartweb/core/browser/static/icons/categorie-primes-2.svg +5 -0
  18. imio/smartweb/core/browser/static/icons/categorie-sport-natation.svg +4 -0
  19. imio/smartweb/core/browser/static/icons/organisation-ecole-sac.svg +4 -0
  20. imio/smartweb/core/browser/static/icons/organisation-scout.svg +3 -0
  21. imio/smartweb/core/browser/static/icons/reseausocial-behance.svg +3 -0
  22. imio/smartweb/core/browser/static/icons/reseausocial-linkedin.svg +3 -0
  23. imio/smartweb/core/browser/static/smartweb-edit-compiled.css +1 -1
  24. imio/smartweb/core/browser/static/smartweb-view-compiled.css +1 -1
  25. imio/smartweb/core/browser/static/src/edit.less +42 -0
  26. imio/smartweb/core/browser/static/src/view.less +109 -56
  27. imio/smartweb/core/browser/vocabulary.py +8 -3
  28. imio/smartweb/core/contents/__init__.py +2 -0
  29. imio/smartweb/core/contents/configure.zcml +1 -0
  30. imio/smartweb/core/contents/folder/block_view.pt +8 -8
  31. imio/smartweb/core/contents/folder/summary_view.pt +4 -4
  32. imio/smartweb/core/contents/pages/cirkwi/content.py +5 -0
  33. imio/smartweb/core/contents/pages/cirkwi/view.py +2 -1
  34. imio/smartweb/core/contents/pages/configure.zcml +1 -0
  35. imio/smartweb/core/contents/pages/portal_page/view.py +3 -0
  36. imio/smartweb/core/contents/pages/views.py +47 -1
  37. imio/smartweb/core/contents/publication/__init__.py +0 -0
  38. imio/smartweb/core/contents/publication/configure.zcml +5 -0
  39. imio/smartweb/core/contents/publication/content.py +23 -0
  40. imio/smartweb/core/contents/rest/base.py +9 -7
  41. imio/smartweb/core/contents/rest/directory/endpoint.py +2 -2
  42. imio/smartweb/core/contents/rest/directory/view.pt +2 -1
  43. imio/smartweb/core/contents/rest/events/content.py +13 -0
  44. imio/smartweb/core/contents/rest/events/endpoint.py +5 -3
  45. imio/smartweb/core/contents/rest/events/view.pt +5 -1
  46. imio/smartweb/core/contents/rest/events/view.py +12 -0
  47. imio/smartweb/core/contents/rest/news/content.py +6 -0
  48. imio/smartweb/core/contents/rest/news/endpoint.py +4 -2
  49. imio/smartweb/core/contents/rest/news/view.pt +4 -1
  50. imio/smartweb/core/contents/rest/news/view.py +8 -0
  51. imio/smartweb/core/contents/rest/utils.py +0 -1
  52. imio/smartweb/core/contents/rest/view.py +4 -0
  53. imio/smartweb/core/contents/sections/common_templates/carousel.pt +5 -1
  54. imio/smartweb/core/contents/sections/common_templates/table.pt +18 -4
  55. imio/smartweb/core/contents/sections/configure.zcml +18 -0
  56. imio/smartweb/core/contents/sections/contact/content.py +2 -2
  57. imio/smartweb/core/contents/sections/contact/macros.pt +28 -3
  58. imio/smartweb/core/contents/sections/contact/utils.py +2 -0
  59. imio/smartweb/core/contents/sections/contact/view.py +28 -12
  60. imio/smartweb/core/contents/sections/events/content.py +12 -4
  61. imio/smartweb/core/contents/sections/events/view.py +20 -2
  62. imio/smartweb/core/contents/sections/external_content/view.pt +4 -4
  63. imio/smartweb/core/contents/sections/external_content/views.py +6 -4
  64. imio/smartweb/core/contents/sections/files/content.py +7 -1
  65. imio/smartweb/core/contents/sections/files/view.py +43 -12
  66. imio/smartweb/core/contents/sections/links/view.py +5 -0
  67. imio/smartweb/core/contents/sections/macros.pt +26 -0
  68. imio/smartweb/core/contents/sections/news/content.py +11 -3
  69. imio/smartweb/core/contents/sections/news/view.py +20 -2
  70. imio/smartweb/core/contents/sections/text/views.py +2 -0
  71. imio/smartweb/core/contents/sections/views.py +73 -10
  72. imio/smartweb/core/interfaces.py +4 -0
  73. imio/smartweb/core/profiles/default/metadata.xml +1 -1
  74. imio/smartweb/core/profiles/default/taxonomies/page_category.xml +16 -0
  75. imio/smartweb/core/profiles/default/taxonomies/procedure_category.xml +26 -0
  76. imio/smartweb/core/profiles/default/types/imio.smartweb.EventsView.xml +1 -0
  77. imio/smartweb/core/profiles/default/types/imio.smartweb.NewsView.xml +1 -0
  78. imio/smartweb/core/profiles/default/types/imio.smartweb.Publication.xml +38 -0
  79. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionEvents.xml +1 -0
  80. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionFiles.xml +2 -0
  81. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionNews.xml +1 -0
  82. imio/smartweb/core/profiles/default/types.xml +1 -0
  83. imio/smartweb/core/profiles/icons/basic/registry.xml +120 -0
  84. imio/smartweb/core/rest/authentic_sources.py +17 -2
  85. imio/smartweb/core/subscribers.py +48 -0
  86. imio/smartweb/core/subscribers.zcml +12 -0
  87. imio/smartweb/core/tests/resources/json_iadeliberations_institutions.json +60 -0
  88. imio/smartweb/core/tests/resources/json_iadeliberations_publication.json +105 -0
  89. imio/smartweb/core/tests/resources/json_iadeliberations_publications.json +270 -0
  90. imio/smartweb/core/tests/resources/json_rest_events.json +6 -2
  91. imio/smartweb/core/tests/resources/json_rest_news.json +2 -2
  92. imio/smartweb/core/tests/resources/json_rest_specific_events.json +1 -1
  93. imio/smartweb/core/tests/test_htmx_in_sections.py +131 -0
  94. imio/smartweb/core/tests/test_iadeliberations.py +136 -0
  95. imio/smartweb/core/tests/test_icons.py +1 -1
  96. imio/smartweb/core/tests/test_rest.py +58 -17
  97. imio/smartweb/core/tests/test_section_contact.py +42 -10
  98. imio/smartweb/core/tests/test_section_events.py +28 -5
  99. imio/smartweb/core/tests/test_section_external_content.py +28 -2
  100. imio/smartweb/core/tests/test_section_news.py +30 -8
  101. imio/smartweb/core/tests/test_sections.py +17 -0
  102. imio/smartweb/core/tests/test_vocabularies.py +60 -3
  103. imio/smartweb/core/tests/test_vocabulary.py +43 -0
  104. imio/smartweb/core/upgrades/configure.zcml +108 -0
  105. imio/smartweb/core/upgrades/profiles/1055_to_1056/types/imio.smartweb.SectionFiles.xml +12 -0
  106. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.EventsView.xml +11 -0
  107. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.NewsView.xml +11 -0
  108. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.SectionEvents.xml +11 -0
  109. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.SectionNews.xml +11 -0
  110. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/page_category.cfg +9 -0
  111. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/page_category.xml +73 -0
  112. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/procedure_category.cfg +9 -0
  113. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/procedure_category.xml +118 -0
  114. imio/smartweb/core/upgrades/profiles/1058_to_1059/registry/linkedin-icon.xml +126 -0
  115. imio/smartweb/core/upgrades/profiles/1059_to_1060/registry/iadeliberation.xml +9 -0
  116. imio/smartweb/core/upgrades/profiles/1060_to_1061/types/imio.smartweb.Publication.xml +38 -0
  117. imio/smartweb/core/upgrades/profiles/1060_to_1061/types/imio.smartweb.SectionFiles.xml +11 -0
  118. imio/smartweb/core/upgrades/profiles/1060_to_1061/types.xml +4 -0
  119. imio/smartweb/core/upgrades/profiles/1060_to_1061/workflows.xml +6 -0
  120. imio/smartweb/core/utils.py +33 -2
  121. imio/smartweb/core/viewlets/configure.zcml +23 -1
  122. imio/smartweb/core/viewlets/footer.pt +5 -0
  123. imio/smartweb/core/viewlets/footer.py +5 -0
  124. imio/smartweb/core/viewlets/htmx.py +15 -0
  125. imio/smartweb/core/viewlets/htmx_js_header.pt +64 -0
  126. imio/smartweb/core/viewlets/ogptags.py +4 -3
  127. imio/smartweb/core/viewlets/social.py +23 -0
  128. imio/smartweb/core/vocabularies.py +65 -3
  129. imio/smartweb/core/vocabularies.zcml +18 -0
  130. imio/smartweb/core/webcomponents/build/1c1605a5fe9a2b10a88f.png +1 -0
  131. imio/smartweb/core/webcomponents/build/524db40e119aa11f4478.png +1 -0
  132. imio/smartweb/core/webcomponents/build/57d3b7cb1ab874660b39.svg +1 -0
  133. imio/smartweb/core/webcomponents/build/6cf03871df23ed2ee8b3.png +1 -0
  134. imio/smartweb/core/webcomponents/build/css/373.smartweb-webcomponents-compiled.css +1 -1
  135. imio/smartweb/core/webcomponents/build/css/486.smartweb-webcomponents-compiled.css +1 -1
  136. imio/smartweb/core/webcomponents/build/css/884.smartweb-webcomponents-compiled.css +1 -0
  137. imio/smartweb/core/webcomponents/build/css/919.smartweb-webcomponents-compiled.css +1 -1
  138. imio/smartweb/core/webcomponents/build/css/smartweb-webcomponents-compiled.css +1 -1
  139. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js +1 -1
  140. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js.LICENSE.txt +10 -8
  141. imio/smartweb/core/webcomponents/build/js/373.smartweb-webcomponents-compiled.js +2 -1
  142. imio/smartweb/core/webcomponents/build/js/{568.smartweb-webcomponents-compiled.js.LICENSE.txt → 373.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -4
  143. imio/smartweb/core/webcomponents/build/js/486.smartweb-webcomponents-compiled.js +1 -1
  144. imio/smartweb/core/webcomponents/build/js/499.smartweb-webcomponents-compiled.js +2 -0
  145. imio/smartweb/core/webcomponents/build/js/{674.smartweb-webcomponents-compiled.js.LICENSE.txt → 499.smartweb-webcomponents-compiled.js.LICENSE.txt} +1 -8
  146. imio/smartweb/core/webcomponents/build/js/799.smartweb-webcomponents-compiled.js +1 -1
  147. imio/smartweb/core/webcomponents/build/js/824.smartweb-webcomponents-compiled.js +2 -0
  148. imio/smartweb/core/webcomponents/build/js/828.smartweb-webcomponents-compiled.js +2 -0
  149. imio/smartweb/core/webcomponents/build/js/828.smartweb-webcomponents-compiled.js.LICENSE.txt +32 -0
  150. imio/smartweb/core/webcomponents/build/js/884.smartweb-webcomponents-compiled.js +1 -0
  151. imio/smartweb/core/webcomponents/build/js/919.smartweb-webcomponents-compiled.js +1 -1
  152. imio/smartweb/core/webcomponents/build/js/{568.smartweb-webcomponents-compiled.js → 963.smartweb-webcomponents-compiled.js} +2 -2
  153. imio/smartweb/core/webcomponents/build/js/963.smartweb-webcomponents-compiled.js.LICENSE.txt +3 -0
  154. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js +1 -1
  155. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js.LICENSE.txt +11 -14
  156. imio/smartweb/core/webcomponents/package.json +42 -40
  157. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.jsx +146 -79
  158. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.scss +415 -351
  159. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactCard/ContactCard.jsx +95 -62
  160. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/ContactContent.jsx +328 -168
  161. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactList/ContactList.jsx +21 -4
  162. imio/smartweb/core/webcomponents/src/components/Annuaire/Filters/Filter.jsx +213 -100
  163. imio/smartweb/core/webcomponents/src/components/Annuaire/index.js +1 -1
  164. imio/smartweb/core/webcomponents/src/components/Events/EventCard/EventCard.jsx +76 -33
  165. imio/smartweb/core/webcomponents/src/components/Events/EventContent/EventContent.jsx +604 -377
  166. imio/smartweb/core/webcomponents/src/components/Events/EventList/EventList.jsx +29 -4
  167. imio/smartweb/core/webcomponents/src/components/Events/Events.jsx +162 -88
  168. imio/smartweb/core/webcomponents/src/components/Events/Events.scss +496 -378
  169. imio/smartweb/core/webcomponents/src/components/Events/Filters/Filter.jsx +259 -91
  170. imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.jsx +62 -55
  171. imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.scss +68 -17
  172. imio/smartweb/core/webcomponents/src/components/Filters/IamData.jsx +42 -0
  173. imio/smartweb/core/webcomponents/src/components/Filters/MainFilter.scss +229 -0
  174. imio/smartweb/core/webcomponents/src/components/Filters/PublicTargetData.jsx +94 -0
  175. imio/smartweb/core/webcomponents/src/components/Filters/SelectStyles.js +58 -0
  176. imio/smartweb/core/webcomponents/src/components/Filters/TaxonomyFilter.jsx +149 -0
  177. imio/smartweb/core/webcomponents/src/components/Filters/TaxonomyFilter.scss +70 -0
  178. imio/smartweb/core/webcomponents/src/components/News/Filters/Filter.jsx +139 -83
  179. imio/smartweb/core/webcomponents/src/components/News/News.jsx +133 -67
  180. imio/smartweb/core/webcomponents/src/components/News/News.scss +170 -127
  181. imio/smartweb/core/webcomponents/src/components/News/NewsCard/NewsCard.jsx +76 -44
  182. imio/smartweb/core/webcomponents/src/components/News/NewsContent/NewsContent.jsx +261 -188
  183. imio/smartweb/core/webcomponents/src/components/News/NewsList/NewsList.jsx +48 -9
  184. imio/smartweb/core/webcomponents/src/components/Search/ContactResult/ContactResult.jsx +21 -10
  185. imio/smartweb/core/webcomponents/src/components/Search/EventsResult/EventsResult.jsx +21 -10
  186. imio/smartweb/core/webcomponents/src/components/Search/Filters/Filter.jsx +8 -9
  187. imio/smartweb/core/webcomponents/src/components/Search/NewsResult/NewsResult.jsx +23 -12
  188. imio/smartweb/core/webcomponents/src/components/Search/Search.jsx +7 -6
  189. imio/smartweb/core/webcomponents/src/components/Search/Search.scss +115 -96
  190. imio/smartweb/core/webcomponents/src/components/Search/WebResult/WebResult.jsx +12 -3
  191. imio/smartweb/core/webcomponents/src/components/Search/index.js +1 -1
  192. imio/smartweb/core/webcomponents/src/hooks/ScrollContext.jsx +3 -0
  193. imio/smartweb/core/webcomponents/src/hooks/useAxios.js +3 -3
  194. imio/smartweb/core/webcomponents/src/hooks/useFilterQuery.js +1 -2
  195. imio/smartweb/core/webcomponents/src/index.scss +255 -211
  196. imio/smartweb/core/webcomponents/src/utils/Map.jsx +26 -19
  197. imio/smartweb/core/webcomponents/src/utils/Map.scss +2 -2
  198. imio/smartweb/core/webcomponents/src/utils/translation.js +129 -9
  199. imio.smartweb.core-1.2.80-py3.8-nspkg.pth +2 -0
  200. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/METADATA +410 -10
  201. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/RECORD +207 -161
  202. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/WHEEL +1 -1
  203. imio/smartweb/core/webcomponents/build/assets/location-bla.1423bcce16ddcb21141430cac1428dc1.svg +0 -1
  204. imio/smartweb/core/webcomponents/build/assets/next-react-white.819cb069ac8eec300a9db6a7707712d6.svg +0 -1
  205. imio/smartweb/core/webcomponents/build/assets/next-react.17bc43ff4a6a86f4520f5782f6a89a72.svg +0 -1
  206. imio/smartweb/core/webcomponents/build/assets/search.57bdbf5b191499cd77514097d1c4972c.svg +0 -1
  207. imio/smartweb/core/webcomponents/build/css/686.smartweb-webcomponents-compiled.css +0 -1
  208. imio/smartweb/core/webcomponents/build/js/209.smartweb-webcomponents-compiled.js +0 -2
  209. imio/smartweb/core/webcomponents/build/js/40.smartweb-webcomponents-compiled.js +0 -1
  210. imio/smartweb/core/webcomponents/build/js/674.smartweb-webcomponents-compiled.js +0 -2
  211. imio/smartweb/core/webcomponents/build/js/686.smartweb-webcomponents-compiled.js +0 -1
  212. imio/smartweb/core/webcomponents/src/assets/facebook-news.svg +0 -1
  213. imio/smartweb/core/webcomponents/src/assets/location-bla.svg +0 -1
  214. imio/smartweb/core/webcomponents/src/assets/next-react.svg +0 -1
  215. imio/smartweb/core/webcomponents/src/assets/search.svg +0 -1
  216. imio/smartweb/core/webcomponents/src/assets/skeleton.svg +0 -1
  217. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/download.svg +0 -1
  218. imio.smartweb.core-1.2.38-py3.8-nspkg.pth +0 -3
  219. /imio/smartweb/core/webcomponents/build/js/{209.smartweb-webcomponents-compiled.js.LICENSE.txt → 824.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
  220. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/LICENSE.GPL +0 -0
  221. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/LICENSE.rst +0 -0
  222. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/namespace_packages.txt +0 -0
  223. {imio.smartweb.core-1.2.38.dist-info → imio.smartweb.core-1.2.80.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,3 @@
1
+ //! moment.js
2
+
3
+ //! moment.js locale configuration