design-comuni-plone-theme 11.26.4 → 11.27.0

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 (85) hide show
  1. package/.yarn/cache/{volto-venue-npm-4.1.0-481d5ba425-64ca36bc93.zip → volto-venue-npm-4.1.1-d5be247928-f796d519ad.zip} +0 -0
  2. package/.yarn/install-state.gz +0 -0
  3. package/CHANGELOG.md +53 -0
  4. package/RELEASE.md +38 -0
  5. package/locales/de/LC_MESSAGES/volto.po +102 -7
  6. package/locales/en/LC_MESSAGES/volto.po +104 -9
  7. package/locales/es/LC_MESSAGES/volto.po +102 -7
  8. package/locales/fr/LC_MESSAGES/volto.po +102 -7
  9. package/locales/it/LC_MESSAGES/volto.po +103 -8
  10. package/locales/volto.pot +103 -8
  11. package/package.json +2 -2
  12. package/publiccode.yml +2 -2
  13. package/src/components/ImageWithErrors/ImageWithErrors.jsx +0 -1
  14. package/src/components/ItaliaTheme/Blocks/Accordion/Block/ViewBlock.jsx +1 -0
  15. package/src/components/ItaliaTheme/Blocks/Listing/AttachmentCardTemplate.jsx +13 -10
  16. package/src/components/ItaliaTheme/Blocks/Listing/CardWithImage/CardWithImageDefault.jsx +7 -7
  17. package/src/components/ItaliaTheme/Blocks/Listing/CardWithSlideUpTextTemplate.jsx +23 -14
  18. package/src/components/ItaliaTheme/Blocks/Listing/Commons/ListingImage.jsx +51 -16
  19. package/src/components/ItaliaTheme/Blocks/Listing/CompleteBlockLinksTemplate.jsx +15 -10
  20. package/src/components/ItaliaTheme/Blocks/Listing/ContentInEvidenceTemplate.jsx +11 -9
  21. package/src/components/ItaliaTheme/Blocks/Listing/GridGalleryTemplate.jsx +4 -3
  22. package/src/components/ItaliaTheme/Blocks/Listing/InEvidenceTemplate.jsx +8 -8
  23. package/src/components/ItaliaTheme/Blocks/Listing/PhotogalleryTemplate.jsx +7 -6
  24. package/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx +9 -6
  25. package/src/components/ItaliaTheme/Blocks/Listing/SmallBlockLinksTemplate.jsx +19 -23
  26. package/src/components/ItaliaTheme/Blocks/__tests__/Accordion.test.jsx +0 -3
  27. package/src/components/ItaliaTheme/Cards/CardPersona.jsx +5 -8
  28. package/src/components/ItaliaTheme/CustomerSatisfaction/FeedbackForm.jsx +9 -1
  29. package/src/components/ItaliaTheme/Header/HeaderSearch/HeaderSearch.jsx +9 -1
  30. package/src/components/ItaliaTheme/Header/HeaderSearch/SearchModal.jsx +10 -1
  31. package/src/components/ItaliaTheme/Header/HeaderSlim/HeaderSlim.jsx +15 -2
  32. package/src/components/ItaliaTheme/Header/HeaderSlim/TertiaryMenu.jsx +1 -1
  33. package/src/components/ItaliaTheme/Header/ParentSiteMenu.jsx +14 -1
  34. package/src/components/ItaliaTheme/SkipLinks/SkipLinks.jsx +9 -1
  35. package/src/components/ItaliaTheme/View/BandoView/BandoView.jsx +19 -1
  36. package/src/components/ItaliaTheme/View/Commons/GenericCard.jsx +14 -13
  37. package/src/components/ItaliaTheme/View/Commons/LocationItem.jsx +15 -9
  38. package/src/components/ItaliaTheme/View/Commons/OfficeCard.jsx +7 -3
  39. package/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeader.jsx +3 -4
  40. package/src/components/ItaliaTheme/View/Commons/RelatedItemInEvidence/RelatedItemInEvidence.jsx +14 -1
  41. package/src/components/ItaliaTheme/View/Commons/RelatedItems.jsx +5 -1
  42. package/src/components/ItaliaTheme/View/Commons/SideMenu.jsx +10 -6
  43. package/src/components/ItaliaTheme/View/Commons/Sponsors.jsx +14 -10
  44. package/src/components/ItaliaTheme/View/Commons/VenuesSmall.jsx +13 -6
  45. package/src/components/ItaliaTheme/View/DocumentoView/DocumentoView.jsx +20 -1
  46. package/src/components/ItaliaTheme/View/EventoView/EventoContatti.jsx +8 -7
  47. package/src/components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreEsterno.jsx +1 -12
  48. package/src/components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreInterno.jsx +1 -12
  49. package/src/components/ItaliaTheme/View/EventoView/EventoOrganizzatoDa.jsx +38 -0
  50. package/src/components/ItaliaTheme/View/EventoView/EventoPatrocinatoDa.jsx +38 -0
  51. package/src/components/ItaliaTheme/View/EventoView/EventoUlterioriInformazioni.jsx +0 -18
  52. package/src/components/ItaliaTheme/View/EventoView/EventoView.jsx +20 -1
  53. package/src/components/ItaliaTheme/View/FAQ/FaqFolder/SearchBar.jsx +2 -0
  54. package/src/components/ItaliaTheme/View/NewsItemView/NewsItemText.jsx +1 -0
  55. package/src/components/ItaliaTheme/View/NewsItemView/NewsItemView.jsx +19 -1
  56. package/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoViewNoBlocks.jsx +14 -1
  57. package/src/components/ItaliaTheme/View/PersonaView/PersonaView.jsx +20 -1
  58. package/src/components/ItaliaTheme/View/ServizioView/ServizioView.jsx +19 -2
  59. package/src/components/ItaliaTheme/View/UOView/UOView.jsx +20 -1
  60. package/src/components/ItaliaTheme/View/VenueView/VenueView.jsx +24 -11
  61. package/src/components/SelectInput/SelectInput.jsx +10 -4
  62. package/src/components/TextInput.jsx +1 -0
  63. package/src/config/Blocks/ListingOptions/attachmentCardTemplate.js +1 -1
  64. package/src/config/Blocks/ListingOptions/cardWithSlideUpTextTemplate.js +1 -6
  65. package/src/customizations/volto/components/manage/UniversalLink/UniversalLink.jsx +15 -11
  66. package/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +5 -2
  67. package/src/customizations/volto/components/theme/Navigation/Navigation.jsx +16 -2
  68. package/src/customizations/volto/components/theme/View/ListingView.jsx +3 -3
  69. package/src/customizations/volto/helpers/FormValidation/FormValidation.js +8 -5
  70. package/src/customizations/volto-form-block/components/Field.jsx +7 -0
  71. package/src/customizations/volto-form-block/fieldSchema.js +345 -0
  72. package/src/helpers/images.js +25 -1
  73. package/src/helpers/index.js +4 -1
  74. package/src/overrideTranslations.jsx +4 -0
  75. package/src/theme/ItaliaTheme/Blocks/_cardWithImage.scss +5 -0
  76. package/src/theme/ItaliaTheme/Blocks/_cardWithSlideUpTextTemplate.scss +10 -0
  77. package/src/theme/ItaliaTheme/Blocks/_gridBlock.scss +9 -0
  78. package/src/theme/ItaliaTheme/Blocks/_search.scss +8 -2
  79. package/src/theme/ItaliaTheme/Components/_cardLocationItem.scss +12 -0
  80. package/src/theme/ItaliaTheme/Components/_cardPersona.scss +21 -1
  81. package/src/theme/ItaliaTheme/Widgets/_blocksWidget.scss +36 -0
  82. package/src/theme/ItaliaTheme/_ar.scss +3 -2
  83. package/src/theme/_cms-ui.scss +21 -0
  84. package/src/theme/bootstrap-override/_bootstrap-italia-site.scss +1 -0
  85. package/src/theme/bootstrap-override/bootstrap-italia/_avatar.scss +28 -0
@@ -553,6 +553,11 @@ msgstr "Seleziona tutti i tipi di contenuti o nessuno"
553
553
  msgid "Select all or none"
554
554
  msgstr "Seleziona tutti o nessuno"
555
555
 
556
+ #: components/SelectInput/SelectInput
557
+ # defaultMessage: Seleziona un'opzione
558
+ msgid "SelectInput_default_label"
559
+ msgstr ""
560
+
556
561
  #: components/ItaliaTheme/manage/Widgets/FileWidget
557
562
  # defaultMessage: Seleziona un file
558
563
  msgid "Seleziona un file"
@@ -670,6 +675,11 @@ msgstr "Digita testo…"
670
675
  msgid "Type the title…"
671
676
  msgstr "Digita il titolo…"
672
677
 
678
+ #: components/ItaliaTheme/View/UOView/UOView
679
+ # defaultMessage: Contenuto dell'unità organizzativa
680
+ msgid "UOContent"
681
+ msgstr ""
682
+
673
683
  #: components/ItaliaTheme/Unauthorized/Unauthorized
674
684
  # defaultMessage: Unauthorized
675
685
  msgid "Unauthorized"
@@ -870,6 +880,11 @@ msgstr "Area responsabile"
870
880
  msgid "argoment"
871
881
  msgstr "Argomento"
872
882
 
883
+ #: components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoViewNoBlocks
884
+ # defaultMessage: Contenuto dell'argomento
885
+ msgid "argomentoContent"
886
+ msgstr ""
887
+
873
888
  #: components/ItaliaTheme/Blocks/Listing/RibbonCardTemplate
874
889
  #: components/ItaliaTheme/Blocks/Listing/SimpleCard/SimpleCardTemplateCompact
875
890
  # defaultMessage: Icona {type}
@@ -1051,6 +1066,11 @@ msgstr "Sfondo del blocco"
1051
1066
  msgid "bandi_search_no_filters"
1052
1067
  msgstr "Nessun filtro da mostrare. Seleziona i filtri di ricerca da mostrare dalla sidebar laterale."
1053
1068
 
1069
+ #: components/ItaliaTheme/View/BandoView/BandoView
1070
+ # defaultMessage: Contenuto del Bando
1071
+ msgid "bandoContent"
1072
+ msgstr ""
1073
+
1054
1074
  #: components/ItaliaTheme/View/Commons/BandoStatus
1055
1075
  # defaultMessage: Scaduto
1056
1076
  msgid "bando_closed"
@@ -1734,6 +1754,11 @@ msgstr "Dichiarazioni di insussistenza e incompatibilità"
1734
1754
  msgid "dirigente"
1735
1755
  msgstr "Dirigente"
1736
1756
 
1757
+ #: components/ItaliaTheme/View/DocumentoView/DocumentoView
1758
+ # defaultMessage: Contenuto del documento
1759
+ msgid "documentContent"
1760
+ msgstr ""
1761
+
1737
1762
  #: components/ItaliaTheme/View/Commons/RelatedItems
1738
1763
  # defaultMessage: Documenti e dati
1739
1764
  msgid "documenti-e-dati"
@@ -1997,6 +2022,11 @@ msgstr "Strutture politiche coinvolte"
1997
2022
  msgid "event_url"
1998
2023
  msgstr "Url dell'evento"
1999
2024
 
2025
+ #: components/ItaliaTheme/View/EventoView/EventoView
2026
+ # defaultMessage: Contenuto dell'evento
2027
+ msgid "eventoContent"
2028
+ msgstr ""
2029
+
2000
2030
  #: components/ItaliaTheme/View/Commons/Events
2001
2031
  # defaultMessage: Appuntamenti
2002
2032
  msgid "events"
@@ -2095,6 +2125,11 @@ msgstr "Le indicazioni erano complete"
2095
2125
  msgid "feedback_error"
2096
2126
  msgstr "Errore"
2097
2127
 
2128
+ #: components/ItaliaTheme/CustomerSatisfaction/FeedbackForm
2129
+ # defaultMessage: Feedback form
2130
+ msgid "feedback_form_aria_title"
2131
+ msgstr "Modulo di soddisfazione"
2132
+
2098
2133
  #: components/ItaliaTheme/CustomerSatisfaction/FeedbackForm
2099
2134
  # defaultMessage: Next
2100
2135
  msgid "feedback_form_button_next"
@@ -2389,6 +2424,11 @@ msgstr "Importi di viaggio e/o servizi"
2389
2424
  msgid "importi_viaggio"
2390
2425
  msgstr "Importi di viaggio e/o servizio"
2391
2426
 
2427
+ #: components/ItaliaTheme/View/Commons/RelatedItemInEvidence/RelatedItemInEvidence
2428
+ # defaultMessage: Contenuti in evidenza
2429
+ msgid "inEvidenceItems"
2430
+ msgstr ""
2431
+
2392
2432
  #: components/ItaliaTheme/Blocks/Listing/serviziAmministrazioneTrasparenteTemplate
2393
2433
  #: helpers/amministrazioneTrasparenteHelper
2394
2434
  # defaultMessage: incarico
@@ -2611,6 +2651,11 @@ msgstr "mail@example.com"
2611
2651
  msgid "mailto"
2612
2652
  msgstr "Invia"
2613
2653
 
2654
+ #: overrideTranslations
2655
+ # defaultMessage: Menu principale
2656
+ msgid "mainMenu"
2657
+ msgstr ""
2658
+
2614
2659
  #: config/Blocks/ListingOptions/mapTemplate
2615
2660
  # defaultMessage: Grande
2616
2661
  msgid "map_size_large"
@@ -2696,6 +2741,11 @@ msgstr "Formati alternativi"
2696
2741
  msgid "natural_image_size"
2697
2742
  msgstr "Non alterare le dimensioni naturali dell'immagine"
2698
2743
 
2744
+ #: components/ItaliaTheme/View/NewsItemView/NewsItemView
2745
+ # defaultMessage: Contenuto della notizia
2746
+ msgid "newsContent"
2747
+ msgstr ""
2748
+
2699
2749
  #: components/ItaliaTheme/View/NewsItemView/NewsItemText
2700
2750
  # defaultMessage: Contenuto
2701
2751
  msgid "news_item_contenuto"
@@ -2842,16 +2892,11 @@ msgstr "Orario per il pubblico"
2842
2892
  msgid "order_by"
2843
2893
  msgstr "Ordina per"
2844
2894
 
2845
- #: components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreInterno
2895
+ #: components/ItaliaTheme/View/EventoView/EventoOrganizzatoDa
2846
2896
  # defaultMessage: Organizzato da
2847
2897
  msgid "organizzato_da"
2848
2898
  msgstr "Organizzato da"
2849
2899
 
2850
- #: components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreEsterno
2851
- # defaultMessage: Organizzatore
2852
- msgid "organizzatore"
2853
- msgstr ""
2854
-
2855
2900
  #: components/ItaliaTheme/View/Commons/TrasparenzaFields
2856
2901
  #: components/ItaliaTheme/View/TrasparenzaView/DettagliProcedimentiView
2857
2902
  # defaultMessage: Organo competente adozione provvedimento finale
@@ -2894,11 +2939,17 @@ msgstr "Questa pagina è gestita da"
2894
2939
  msgid "paginationLabel"
2895
2940
  msgstr "Selettore di pagina"
2896
2941
 
2942
+ #: components/ItaliaTheme/Header/ParentSiteMenu
2943
+ # defaultMessage: Main site menu
2944
+ msgid "parent_site_menu"
2945
+ msgstr "Menu principale del sito"
2946
+
2897
2947
  #: components/ItaliaTheme/View/EventoView/EventoCosE
2898
2948
  # defaultMessage: Parteciperanno
2899
2949
  msgid "parteciperanno"
2900
2950
  msgstr "Parteciperanno"
2901
2951
 
2952
+ #: components/ItaliaTheme/View/EventoView/EventoPatrocinatoDa
2902
2953
  #: components/ItaliaTheme/View/EventoView/EventoUlterioriInformazioni
2903
2954
  # defaultMessage: Patrocinato da
2904
2955
  msgid "patrocinato_da"
@@ -2915,6 +2966,11 @@ msgstr "PEC"
2915
2966
  msgid "persona"
2916
2967
  msgstr "Persona"
2917
2968
 
2969
+ #: components/ItaliaTheme/View/PersonaView/PersonaView
2970
+ # defaultMessage: Contenuto del profilo della persona
2971
+ msgid "personaContent"
2972
+ msgstr ""
2973
+
2918
2974
  #: components/ItaliaTheme/View/PersonaView/PersonaRuolo
2919
2975
  # defaultMessage: Fa parte di
2920
2976
  msgid "persona_strutture_correlate"
@@ -3367,6 +3423,7 @@ msgstr "Cerca contenuti in"
3367
3423
  msgid "searchInSection"
3368
3424
  msgstr "Cerca nella sezione"
3369
3425
 
3426
+ #: components/ItaliaTheme/Header/HeaderSearch/HeaderSearch
3370
3427
  #: components/ItaliaTheme/Header/HeaderSearch/SearchModal
3371
3428
  # defaultMessage: Cerca nel sito
3372
3429
  msgid "searchLabel"
@@ -3609,6 +3666,11 @@ msgstr "Servizi correlati"
3609
3666
  msgid "servizi_offerti"
3610
3667
  msgstr "Servizi disponibili"
3611
3668
 
3669
+ #: components/ItaliaTheme/View/ServizioView/ServizioView
3670
+ # defaultMessage: Contenuto del servizio
3671
+ msgid "servizioContent"
3672
+ msgstr ""
3673
+
3612
3674
  #: components/ItaliaTheme/View/ServizioView/ServizioAccedi
3613
3675
  # defaultMessage: Accedi al servizio
3614
3676
  msgid "servizio_canale_digitale"
@@ -3737,9 +3799,9 @@ msgid "show_only_first_ribbon"
3737
3799
  msgstr "Mostra il nastro solo sulla prima card"
3738
3800
 
3739
3801
  #: config/Blocks/ListingOptions/attachmentCardTemplate
3740
- # defaultMessage: Permette di aprire l'anteprima di tutti i PDF di questo elenco in una tab separata altrimenti vengono scaricati.
3802
+ # defaultMessage: Permette di aprire l'anteprima di tutti i PDF di questo elenco in una tab separata. Se non impostato, i PDF vengono scaricati.
3741
3803
  msgid "show_pdf_desc"
3742
- msgstr "Permette di aprire l'anteprima di tutti i PDF di questo elenco in una tab separata altrimenti vengono scaricati."
3804
+ msgstr "Permette di aprire l'anteprima di tutti i PDF di questo elenco in una tab separata. Se non impostato, i PDF vengono scaricati."
3743
3805
 
3744
3806
  #: config/Blocks/ListingOptions/attachmentCardTemplate
3745
3807
  # defaultMessage: Mostra i PDF in anteprima
@@ -3774,6 +3836,24 @@ msgstr "Mostra gli argomenti"
3774
3836
  msgid "show_type"
3775
3837
  msgstr "Mostra il tipo"
3776
3838
 
3839
+ #: components/ItaliaTheme/View/BandoView/BandoView
3840
+ #: components/ItaliaTheme/View/DocumentoView/DocumentoView
3841
+ #: components/ItaliaTheme/View/EventoView/EventoView
3842
+ #: components/ItaliaTheme/View/NewsItemView/NewsItemView
3843
+ #: components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoViewNoBlocks
3844
+ #: components/ItaliaTheme/View/PersonaView/PersonaView
3845
+ #: components/ItaliaTheme/View/ServizioView/ServizioView
3846
+ #: components/ItaliaTheme/View/UOView/UOView
3847
+ #: components/ItaliaTheme/View/VenueView/VenueView
3848
+ # defaultMessage: Indice della pagina
3849
+ msgid "sideMenuIndex"
3850
+ msgstr ""
3851
+
3852
+ #: components/ItaliaTheme/View/Commons/SideMenu
3853
+ # defaultMessage: Navigazione della pagina
3854
+ msgid "sideMenuNavigation"
3855
+ msgstr ""
3856
+
3777
3857
  #: components/ItaliaTheme/View/Commons/TrasparenzaFields
3778
3858
  #: components/ItaliaTheme/View/TrasparenzaView/DettagliProcedimentiView
3779
3859
  # defaultMessage: Silenzio assenso/Dichiarazione dell'interessato sostitutiva del provvedimento finale
@@ -3815,6 +3895,11 @@ msgstr "Vai al contenuto"
3815
3895
  msgid "skiplink-navigation"
3816
3896
  msgstr "Vai alla navigazione"
3817
3897
 
3898
+ #: components/ItaliaTheme/SkipLinks/SkipLinks
3899
+ # defaultMessage: Skiplinks
3900
+ msgid "skiplinks-description"
3901
+ msgstr "Punti di riferimento"
3902
+
3818
3903
  #: components/ItaliaTheme/View/PuntoDiContattoView/PuntoDiContattoView
3819
3904
  #: helpers/contentHelper
3820
3905
  # defaultMessage: Skype
@@ -4216,11 +4301,21 @@ msgstr "Data di aggiornamento"
4216
4301
  msgid "url"
4217
4302
  msgstr "Sito web"
4218
4303
 
4304
+ #: components/ItaliaTheme/Header/HeaderSlim/HeaderSlim
4305
+ # defaultMessage: Utility Menu
4306
+ msgid "utilityMenu"
4307
+ msgstr "Link utili"
4308
+
4219
4309
  #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
4220
4310
  # defaultMessage: Variazione situazione patrimoniale
4221
4311
  msgid "variazione_situazione_patrimoniale"
4222
4312
  msgstr "Variazione situazione patrimoniale"
4223
4313
 
4314
+ #: components/ItaliaTheme/View/VenueView/VenueView
4315
+ # defaultMessage: Informazioni sulla struttura
4316
+ msgid "venueContent"
4317
+ msgstr ""
4318
+
4224
4319
  #: components/ItaliaTheme/Blocks/BandiSearch/Body
4225
4320
  #: components/ItaliaTheme/Blocks/EventSearch/Body
4226
4321
  #: components/ItaliaTheme/Blocks/EventSearch/DefaultFilters
package/locales/volto.pot CHANGED
@@ -1,7 +1,7 @@
1
1
  msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Plone\n"
4
- "POT-Creation-Date: 2025-01-03T12:21:33.430Z\n"
4
+ "POT-Creation-Date: 2025-02-26T10:23:56.371Z\n"
5
5
  "Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
6
6
  "Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
7
7
  "MIME-Version: 1.0\n"
@@ -555,6 +555,11 @@ msgstr ""
555
555
  msgid "Select all or none"
556
556
  msgstr ""
557
557
 
558
+ #: components/SelectInput/SelectInput
559
+ # defaultMessage: Seleziona un'opzione
560
+ msgid "SelectInput_default_label"
561
+ msgstr ""
562
+
558
563
  #: components/ItaliaTheme/manage/Widgets/FileWidget
559
564
  # defaultMessage: Seleziona un file
560
565
  msgid "Seleziona un file"
@@ -672,6 +677,11 @@ msgstr ""
672
677
  msgid "Type the title…"
673
678
  msgstr ""
674
679
 
680
+ #: components/ItaliaTheme/View/UOView/UOView
681
+ # defaultMessage: Contenuto dell'unità organizzativa
682
+ msgid "UOContent"
683
+ msgstr ""
684
+
675
685
  #: components/ItaliaTheme/Unauthorized/Unauthorized
676
686
  # defaultMessage: Unauthorized
677
687
  msgid "Unauthorized"
@@ -872,6 +882,11 @@ msgstr ""
872
882
  msgid "argoment"
873
883
  msgstr ""
874
884
 
885
+ #: components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoViewNoBlocks
886
+ # defaultMessage: Contenuto dell'argomento
887
+ msgid "argomentoContent"
888
+ msgstr ""
889
+
875
890
  #: components/ItaliaTheme/Blocks/Listing/RibbonCardTemplate
876
891
  #: components/ItaliaTheme/Blocks/Listing/SimpleCard/SimpleCardTemplateCompact
877
892
  # defaultMessage: Icona {type}
@@ -1053,6 +1068,11 @@ msgstr ""
1053
1068
  msgid "bandi_search_no_filters"
1054
1069
  msgstr ""
1055
1070
 
1071
+ #: components/ItaliaTheme/View/BandoView/BandoView
1072
+ # defaultMessage: Contenuto del Bando
1073
+ msgid "bandoContent"
1074
+ msgstr ""
1075
+
1056
1076
  #: components/ItaliaTheme/View/Commons/BandoStatus
1057
1077
  # defaultMessage: Scaduto
1058
1078
  msgid "bando_closed"
@@ -1736,6 +1756,11 @@ msgstr ""
1736
1756
  msgid "dirigente"
1737
1757
  msgstr ""
1738
1758
 
1759
+ #: components/ItaliaTheme/View/DocumentoView/DocumentoView
1760
+ # defaultMessage: Contenuto del documento
1761
+ msgid "documentContent"
1762
+ msgstr ""
1763
+
1739
1764
  #: components/ItaliaTheme/View/Commons/RelatedItems
1740
1765
  # defaultMessage: Documenti e dati
1741
1766
  msgid "documenti-e-dati"
@@ -1999,6 +2024,11 @@ msgstr ""
1999
2024
  msgid "event_url"
2000
2025
  msgstr ""
2001
2026
 
2027
+ #: components/ItaliaTheme/View/EventoView/EventoView
2028
+ # defaultMessage: Contenuto dell'evento
2029
+ msgid "eventoContent"
2030
+ msgstr ""
2031
+
2002
2032
  #: components/ItaliaTheme/View/Commons/Events
2003
2033
  # defaultMessage: Appuntamenti
2004
2034
  msgid "events"
@@ -2097,6 +2127,11 @@ msgstr ""
2097
2127
  msgid "feedback_error"
2098
2128
  msgstr ""
2099
2129
 
2130
+ #: components/ItaliaTheme/CustomerSatisfaction/FeedbackForm
2131
+ # defaultMessage: Feedback form
2132
+ msgid "feedback_form_aria_title"
2133
+ msgstr ""
2134
+
2100
2135
  #: components/ItaliaTheme/CustomerSatisfaction/FeedbackForm
2101
2136
  # defaultMessage: Next
2102
2137
  msgid "feedback_form_button_next"
@@ -2391,6 +2426,11 @@ msgstr ""
2391
2426
  msgid "importi_viaggio"
2392
2427
  msgstr ""
2393
2428
 
2429
+ #: components/ItaliaTheme/View/Commons/RelatedItemInEvidence/RelatedItemInEvidence
2430
+ # defaultMessage: Contenuti in evidenza
2431
+ msgid "inEvidenceItems"
2432
+ msgstr ""
2433
+
2394
2434
  #: components/ItaliaTheme/Blocks/Listing/serviziAmministrazioneTrasparenteTemplate
2395
2435
  #: helpers/amministrazioneTrasparenteHelper
2396
2436
  # defaultMessage: incarico
@@ -2613,6 +2653,11 @@ msgstr ""
2613
2653
  msgid "mailto"
2614
2654
  msgstr ""
2615
2655
 
2656
+ #: overrideTranslations
2657
+ # defaultMessage: Menu principale
2658
+ msgid "mainMenu"
2659
+ msgstr ""
2660
+
2616
2661
  #: config/Blocks/ListingOptions/mapTemplate
2617
2662
  # defaultMessage: Grande
2618
2663
  msgid "map_size_large"
@@ -2698,6 +2743,11 @@ msgstr ""
2698
2743
  msgid "natural_image_size"
2699
2744
  msgstr ""
2700
2745
 
2746
+ #: components/ItaliaTheme/View/NewsItemView/NewsItemView
2747
+ # defaultMessage: Contenuto della notizia
2748
+ msgid "newsContent"
2749
+ msgstr ""
2750
+
2701
2751
  #: components/ItaliaTheme/View/NewsItemView/NewsItemText
2702
2752
  # defaultMessage: Contenuto
2703
2753
  msgid "news_item_contenuto"
@@ -2844,16 +2894,11 @@ msgstr ""
2844
2894
  msgid "order_by"
2845
2895
  msgstr ""
2846
2896
 
2847
- #: components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreInterno
2897
+ #: components/ItaliaTheme/View/EventoView/EventoOrganizzatoDa
2848
2898
  # defaultMessage: Organizzato da
2849
2899
  msgid "organizzato_da"
2850
2900
  msgstr ""
2851
2901
 
2852
- #: components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreEsterno
2853
- # defaultMessage: Organizzatore
2854
- msgid "organizzatore"
2855
- msgstr ""
2856
-
2857
2902
  #: components/ItaliaTheme/View/Commons/TrasparenzaFields
2858
2903
  #: components/ItaliaTheme/View/TrasparenzaView/DettagliProcedimentiView
2859
2904
  # defaultMessage: Organo competente adozione provvedimento finale
@@ -2896,11 +2941,17 @@ msgstr ""
2896
2941
  msgid "paginationLabel"
2897
2942
  msgstr ""
2898
2943
 
2944
+ #: components/ItaliaTheme/Header/ParentSiteMenu
2945
+ # defaultMessage: Main site menu
2946
+ msgid "parent_site_menu"
2947
+ msgstr ""
2948
+
2899
2949
  #: components/ItaliaTheme/View/EventoView/EventoCosE
2900
2950
  # defaultMessage: Parteciperanno
2901
2951
  msgid "parteciperanno"
2902
2952
  msgstr ""
2903
2953
 
2954
+ #: components/ItaliaTheme/View/EventoView/EventoPatrocinatoDa
2904
2955
  #: components/ItaliaTheme/View/EventoView/EventoUlterioriInformazioni
2905
2956
  # defaultMessage: Patrocinato da
2906
2957
  msgid "patrocinato_da"
@@ -2917,6 +2968,11 @@ msgstr ""
2917
2968
  msgid "persona"
2918
2969
  msgstr ""
2919
2970
 
2971
+ #: components/ItaliaTheme/View/PersonaView/PersonaView
2972
+ # defaultMessage: Contenuto del profilo della persona
2973
+ msgid "personaContent"
2974
+ msgstr ""
2975
+
2920
2976
  #: components/ItaliaTheme/View/PersonaView/PersonaRuolo
2921
2977
  # defaultMessage: Fa parte di
2922
2978
  msgid "persona_strutture_correlate"
@@ -3369,6 +3425,7 @@ msgstr ""
3369
3425
  msgid "searchInSection"
3370
3426
  msgstr ""
3371
3427
 
3428
+ #: components/ItaliaTheme/Header/HeaderSearch/HeaderSearch
3372
3429
  #: components/ItaliaTheme/Header/HeaderSearch/SearchModal
3373
3430
  # defaultMessage: Cerca nel sito
3374
3431
  msgid "searchLabel"
@@ -3611,6 +3668,11 @@ msgstr ""
3611
3668
  msgid "servizi_offerti"
3612
3669
  msgstr ""
3613
3670
 
3671
+ #: components/ItaliaTheme/View/ServizioView/ServizioView
3672
+ # defaultMessage: Contenuto del servizio
3673
+ msgid "servizioContent"
3674
+ msgstr ""
3675
+
3614
3676
  #: components/ItaliaTheme/View/ServizioView/ServizioAccedi
3615
3677
  # defaultMessage: Accedi al servizio
3616
3678
  msgid "servizio_canale_digitale"
@@ -3739,7 +3801,7 @@ msgid "show_only_first_ribbon"
3739
3801
  msgstr ""
3740
3802
 
3741
3803
  #: config/Blocks/ListingOptions/attachmentCardTemplate
3742
- # defaultMessage: Permette di aprire l'anteprima di tutti i PDF di questo elenco in una tab separata altrimenti vengono scaricati.
3804
+ # defaultMessage: Permette di aprire l'anteprima di tutti i PDF di questo elenco in una tab separata. Se non impostato, i PDF vengono scaricati.
3743
3805
  msgid "show_pdf_desc"
3744
3806
  msgstr ""
3745
3807
 
@@ -3776,6 +3838,24 @@ msgstr ""
3776
3838
  msgid "show_type"
3777
3839
  msgstr ""
3778
3840
 
3841
+ #: components/ItaliaTheme/View/BandoView/BandoView
3842
+ #: components/ItaliaTheme/View/DocumentoView/DocumentoView
3843
+ #: components/ItaliaTheme/View/EventoView/EventoView
3844
+ #: components/ItaliaTheme/View/NewsItemView/NewsItemView
3845
+ #: components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoViewNoBlocks
3846
+ #: components/ItaliaTheme/View/PersonaView/PersonaView
3847
+ #: components/ItaliaTheme/View/ServizioView/ServizioView
3848
+ #: components/ItaliaTheme/View/UOView/UOView
3849
+ #: components/ItaliaTheme/View/VenueView/VenueView
3850
+ # defaultMessage: Indice della pagina
3851
+ msgid "sideMenuIndex"
3852
+ msgstr ""
3853
+
3854
+ #: components/ItaliaTheme/View/Commons/SideMenu
3855
+ # defaultMessage: Navigazione della pagina
3856
+ msgid "sideMenuNavigation"
3857
+ msgstr ""
3858
+
3779
3859
  #: components/ItaliaTheme/View/Commons/TrasparenzaFields
3780
3860
  #: components/ItaliaTheme/View/TrasparenzaView/DettagliProcedimentiView
3781
3861
  # defaultMessage: Silenzio assenso/Dichiarazione dell'interessato sostitutiva del provvedimento finale
@@ -3817,6 +3897,11 @@ msgstr ""
3817
3897
  msgid "skiplink-navigation"
3818
3898
  msgstr ""
3819
3899
 
3900
+ #: components/ItaliaTheme/SkipLinks/SkipLinks
3901
+ # defaultMessage: Skiplinks
3902
+ msgid "skiplinks-description"
3903
+ msgstr ""
3904
+
3820
3905
  #: components/ItaliaTheme/View/PuntoDiContattoView/PuntoDiContattoView
3821
3906
  #: helpers/contentHelper
3822
3907
  # defaultMessage: Skype
@@ -4218,11 +4303,21 @@ msgstr ""
4218
4303
  msgid "url"
4219
4304
  msgstr ""
4220
4305
 
4306
+ #: components/ItaliaTheme/Header/HeaderSlim/HeaderSlim
4307
+ # defaultMessage: Utility Menu
4308
+ msgid "utilityMenu"
4309
+ msgstr ""
4310
+
4221
4311
  #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
4222
4312
  # defaultMessage: Variazione situazione patrimoniale
4223
4313
  msgid "variazione_situazione_patrimoniale"
4224
4314
  msgstr ""
4225
4315
 
4316
+ #: components/ItaliaTheme/View/VenueView/VenueView
4317
+ # defaultMessage: Informazioni sulla struttura
4318
+ msgid "venueContent"
4319
+ msgstr ""
4320
+
4226
4321
  #: components/ItaliaTheme/Blocks/BandiSearch/Body
4227
4322
  #: components/ItaliaTheme/Blocks/EventSearch/Body
4228
4323
  #: components/ItaliaTheme/Blocks/EventSearch/DefaultFilters
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "design-comuni-plone-theme",
3
3
  "description": "Volto Theme for Italia design guidelines",
4
4
  "license": "GPL-v3",
5
- "version": "11.26.4",
5
+ "version": "11.27.0",
6
6
  "main": "src/index.js",
7
7
  "repository": {
8
8
  "type": "git",
@@ -165,7 +165,7 @@
165
165
  "volto-subblocks": "2.1.0",
166
166
  "volto-subfooter": "3.1.1",
167
167
  "volto-subsites": "4.0.2",
168
- "volto-venue": "4.1.0",
168
+ "volto-venue": "4.1.1",
169
169
  "webpack-image-resize-loader": "^5.0.0"
170
170
  },
171
171
  "devDependencies": {
package/publiccode.yml CHANGED
@@ -227,9 +227,9 @@ maintenance:
227
227
  name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici
228
228
  platforms:
229
229
  - web
230
- releaseDate: '2025-01-16'
230
+ releaseDate: '2025-02-26'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.26.4
232
+ softwareVersion: 11.27.0
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -11,7 +11,6 @@ const ImageWithErrors = ({ src, fallbackSrc = '', ...rest }) => {
11
11
  className,
12
12
  sizes,
13
13
  });
14
-
15
14
  let commonProps = { ...rest };
16
15
  const fallbackStyle = getFallbackImageStyle({
17
16
  src,
@@ -70,6 +70,7 @@ const ViewBlock = ({ data, isOpen, toggle, id, index }) => {
70
70
  id={`content-${id}-${index}`}
71
71
  role="region"
72
72
  aria-labelledby={`${id}-${index}`}
73
+ hidden={!isOpen}
73
74
  >
74
75
  <div className="accordion-inner" onFocus={toggle()}>
75
76
  {redraft(
@@ -52,16 +52,18 @@ const AttachmentCardTemplate = ({
52
52
  {items.map((item, index) => {
53
53
  let itemUrl = { ...item };
54
54
  //la parte qui sotto commentata non serve perchè gestisce gia tutto UniversalLink e in view si vedrebbe /@@download/file duplicato nell url
55
- // if (item['@type'] === 'File') {
56
- // itemUrl = {
57
- // ...item,
58
- // file: item,
59
- // '@id':
60
- // show_pdf_preview && item?.mime_type === 'application/pdf'
61
- // ? item?.['@id'] + '/@@display-file/file'
62
- // : item?.['@id'] + '/@@download/file',
63
- // };
64
- // }
55
+ if (
56
+ item['@type'] === 'File' &&
57
+ item?.mime_type === 'application/pdf'
58
+ ) {
59
+ itemUrl = {
60
+ ...item,
61
+ file: item,
62
+ '@id': show_pdf_preview
63
+ ? item?.['@id'] + '/@@display-file/file'
64
+ : item?.['@id'] + '/@@download/file',
65
+ };
66
+ }
65
67
 
66
68
  return (
67
69
  <Card
@@ -86,6 +88,7 @@ const AttachmentCardTemplate = ({
86
88
  item={!isEditMode ? itemUrl : null}
87
89
  href={isEditMode ? '#' : null}
88
90
  data-element={id_lighthouse}
91
+ download={!show_pdf_preview}
89
92
  >
90
93
  {item.title || item.id}
91
94
  </UniversalLink>
@@ -21,6 +21,7 @@ import {
21
21
  getCalendarDate,
22
22
  getEventRecurrenceMore,
23
23
  getComponentWithFallback,
24
+ contentHasImage,
24
25
  } from 'design-comuni-plone-theme/helpers';
25
26
  import { getCategory } from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Listing/Commons/utils';
26
27
 
@@ -61,10 +62,10 @@ const CardWithImageDefault = (props) => {
61
62
  : getEventRecurrenceMore(item, isEditMode);
62
63
  const listingText = show_description ? <ListingText item={item} /> : null;
63
64
 
64
- const image = ListingImage({ item, showTitleAttr: false });
65
-
66
- const showImage =
67
- (index < imagesToShow || always_show_image) && image != null;
65
+ const showImage = contentHasImage(
66
+ item,
67
+ index < imagesToShow || always_show_image,
68
+ );
68
69
  const category = getCategory(item, show_type, show_section, props);
69
70
  const topics = show_topics ? item.tassonomia_argomenti : null;
70
71
 
@@ -72,7 +73,6 @@ const CardWithImageDefault = (props) => {
72
73
  name: 'BlockExtraTags',
73
74
  dependencies: ['CardWithImageDefault', item['@type']],
74
75
  }).component;
75
-
76
76
  const isEventAppointment =
77
77
  item?.parent?.['@type'] === 'Event' && item?.['@type'] === 'Event';
78
78
 
@@ -106,7 +106,7 @@ const CardWithImageDefault = (props) => {
106
106
  })}
107
107
  >
108
108
  <div className="img-responsive img-responsive-panoramic">
109
- {image}
109
+ <ListingImage item={item} />
110
110
  {item['@type'] === 'Event' && (
111
111
  <CardCalendar
112
112
  start={item.start}
@@ -151,7 +151,7 @@ const CardWithImageDefault = (props) => {
151
151
  <BlockExtraTags {...props} item={item} itemIndex={index} />
152
152
  {topics?.length > 0 && (
153
153
  <div
154
- className={cx('', {
154
+ className={cx('card-with-image-additional-links', {
155
155
  'mb-3': eventRecurrenceMore,
156
156
  })}
157
157
  >