design-comuni-plone-theme 11.29.2 → 12.0.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 (227) hide show
  1. package/.github/workflows/main.yml +16 -16
  2. package/.github/workflows/npm.yml +1 -1
  3. package/.github/workflows/withnewsletter.yml +47 -0
  4. package/.release-it.json +1 -0
  5. package/.yarn/cache/@babel-helper-module-imports-npm-7.24.3-edb733448b-c23492189b.zip +0 -0
  6. package/.yarn/cache/@babel-types-npm-7.24.0-a0508cb308-4b574a37d4.zip +0 -0
  7. package/.yarn/cache/babel-plugin-lodash-npm-3.3.4-c7161075b6-044a4261e6.zip +0 -0
  8. package/.yarn/cache/braces-npm-3.0.3-582c14023c-b95aa0b3bd.zip +0 -0
  9. package/.yarn/cache/fill-range-npm-7.1.1-bf491486db-b4abfbca38.zip +0 -0
  10. package/.yarn/cache/micromatch-npm-4.0.8-c9570e4aca-79920eb634.zip +0 -0
  11. package/.yarn/cache/require-package-name-npm-2.0.1-ac9a206b63-00f4e9e467.zip +0 -0
  12. package/.yarn/install-state.gz +0 -0
  13. package/CHANGELOG.md +1728 -1659
  14. package/RELEASE.md +6 -0
  15. package/locales/de/LC_MESSAGES/volto.po +86 -19
  16. package/locales/en/LC_MESSAGES/volto.po +86 -19
  17. package/locales/es/LC_MESSAGES/volto.po +86 -19
  18. package/locales/fr/LC_MESSAGES/volto.po +86 -19
  19. package/locales/it/LC_MESSAGES/volto.po +87 -20
  20. package/locales/volto.pot +87 -20
  21. package/package.json +3 -1
  22. package/publiccode.yml +2 -2
  23. package/src/components/Collapse.jsx +1 -0
  24. package/src/components/ItaliaTheme/AppExtras/SiteSettingsExtras.jsx +0 -6
  25. package/src/components/ItaliaTheme/Blocks/Accordion/Block/EditBlock.jsx +29 -24
  26. package/src/components/ItaliaTheme/Blocks/Accordion/Block/ViewBlock.jsx +4 -12
  27. package/src/components/ItaliaTheme/Blocks/Accordion/Edit.jsx +118 -42
  28. package/src/components/ItaliaTheme/Blocks/Accordion/View.jsx +4 -18
  29. package/src/components/ItaliaTheme/Blocks/Alert/Edit.jsx +60 -113
  30. package/src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx +1 -0
  31. package/src/components/ItaliaTheme/Blocks/Alert/View.jsx +5 -14
  32. package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Block.jsx +16 -11
  33. package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Body.jsx +2 -1
  34. package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Edit.jsx +39 -1
  35. package/src/components/ItaliaTheme/Blocks/CTABlock/Block.jsx +35 -95
  36. package/src/components/ItaliaTheme/Blocks/Callout/Edit.jsx +108 -0
  37. package/src/components/ItaliaTheme/Blocks/Callout/Sidebar.jsx +173 -0
  38. package/src/components/ItaliaTheme/Blocks/Callout/View.jsx +45 -0
  39. package/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/EditBlock.jsx +86 -63
  40. package/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/ViewBlock.jsx +19 -39
  41. package/src/components/ItaliaTheme/Blocks/ContactsBlock/Edit.jsx +101 -22
  42. package/src/components/ItaliaTheme/Blocks/ContactsBlock/View.jsx +13 -21
  43. package/src/components/ItaliaTheme/Blocks/CountDown/Edit.jsx +21 -25
  44. package/src/components/ItaliaTheme/Blocks/CountDown/View.jsx +6 -15
  45. package/src/components/ItaliaTheme/Blocks/IconBlocks/Block/EditBlock.jsx +52 -22
  46. package/src/components/ItaliaTheme/Blocks/IconBlocks/Block/ViewBlock.jsx +9 -29
  47. package/src/components/ItaliaTheme/Blocks/IconBlocks/Edit.jsx +108 -21
  48. package/src/components/ItaliaTheme/Blocks/IconBlocks/Sidebar.jsx +1 -9
  49. package/src/components/ItaliaTheme/Blocks/IconBlocks/View.jsx +6 -14
  50. package/src/components/ItaliaTheme/Blocks/Listing/CardWithSlideUpTextTemplate.jsx +0 -1
  51. package/src/components/ItaliaTheme/Blocks/NumbersBlock/Block/EditBlock.jsx +45 -15
  52. package/src/components/ItaliaTheme/Blocks/NumbersBlock/Block/ViewBlock.jsx +2 -18
  53. package/src/components/ItaliaTheme/Blocks/NumbersBlock/Edit.jsx +98 -11
  54. package/src/components/ItaliaTheme/Blocks/NumbersBlock/View.jsx +2 -7
  55. package/src/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Block.jsx +35 -67
  56. package/src/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Edit.jsx +2 -8
  57. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/BodyWrapper.jsx +2 -1
  58. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Edit.jsx +98 -84
  59. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/View.jsx +20 -3
  60. package/src/components/ItaliaTheme/Blocks/UOSearch/Sidebar.jsx +11 -11
  61. package/src/components/ItaliaTheme/Blocks/__tests__/Accordion.test.jsx +11 -28
  62. package/src/components/ItaliaTheme/Blocks/__tests__/Alert.test.jsx +10 -14
  63. package/src/components/ItaliaTheme/Blocks/__tests__/ArgumentsInEvidence.test.jsx +20 -28
  64. package/src/components/ItaliaTheme/Blocks/__tests__/CTABlock.test.jsx +14 -29
  65. package/src/components/ItaliaTheme/Blocks/__tests__/CardWithImage.test.jsx +11 -28
  66. package/src/components/ItaliaTheme/Blocks/__tests__/ContactsBlock.test.jsx +75 -140
  67. package/src/components/ItaliaTheme/Blocks/__tests__/Countdown.test.jsx +20 -28
  68. package/src/components/ItaliaTheme/Blocks/__tests__/IconBlocks.test.jsx +22 -56
  69. package/src/components/ItaliaTheme/Blocks/__tests__/NumbersBlock.test.jsx +14 -43
  70. package/src/components/ItaliaTheme/Blocks/__tests__/SimpleCard.test.jsx +14 -30
  71. package/src/components/ItaliaTheme/BrandText/BrandText.jsx +8 -14
  72. package/src/components/ItaliaTheme/BrandTextFooter/BrandTextFooter.jsx +31 -2
  73. package/src/components/ItaliaTheme/Footer/FooterInfos.jsx +21 -8
  74. package/src/components/ItaliaTheme/Footer/FooterNavigation.jsx +3 -3
  75. package/src/components/ItaliaTheme/Header/HeaderSlim/HeaderSlim.jsx +0 -7
  76. package/src/components/ItaliaTheme/Icons/Icon.jsx +0 -1
  77. package/src/components/ItaliaTheme/MegaMenu/MegaMenu.jsx +5 -1
  78. package/src/components/ItaliaTheme/View/BandoView/BandoApprofondimenti.jsx +1 -2
  79. package/src/components/ItaliaTheme/View/CartellaModulisticaView/DocRow.jsx +14 -5
  80. package/src/components/ItaliaTheme/View/Commons/Attachment.jsx +19 -3
  81. package/src/components/ItaliaTheme/View/Commons/Attachments.jsx +0 -1
  82. package/src/components/ItaliaTheme/View/Commons/DownloadFileFormat.jsx +11 -7
  83. package/src/components/ItaliaTheme/View/Commons/Gallery.jsx +1 -0
  84. package/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderEventDates.jsx +0 -1
  85. package/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderLinkServizio.jsx +6 -2
  86. package/src/components/ItaliaTheme/View/Commons/RichTextRender.jsx +8 -6
  87. package/src/components/ItaliaTheme/View/Commons/__tests__/RichText.test.jsx +14 -17
  88. package/src/components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreEsterno.jsx +1 -1
  89. package/src/components/ItaliaTheme/View/EventoView/EventoUlterioriInformazioni.jsx +0 -4
  90. package/src/components/ItaliaTheme/View/ServizioView/ServizioAccedi.jsx +10 -7
  91. package/src/components/ItaliaTheme/View/ServizioView/ServizioMetatag.jsx +4 -3
  92. package/src/components/ItaliaTheme/View/__disabled_tests__/IncaricoView.test__disabled.jsx +24 -30
  93. package/src/components/ItaliaTheme/View/__tests__/CartellaModulisticaView.test.jsx +12 -1
  94. package/src/components/ItaliaTheme/View/__tests__/PageView.test.jsx +24 -2
  95. package/src/components/ItaliaTheme/View/__tests__/PersonaView.test.jsx +96 -92
  96. package/src/components/ItaliaTheme/View/__tests__/ServizioAChiSiRivolge.test.jsx +240 -286
  97. package/src/components/ItaliaTheme/View/__tests__/ServizioAccedi.test.jsx +240 -286
  98. package/src/components/ItaliaTheme/View/__tests__/ServizioCasiParticolari.test.jsx +240 -286
  99. package/src/components/ItaliaTheme/View/__tests__/ServizioComeFare.test.jsx +240 -286
  100. package/src/components/ItaliaTheme/View/__tests__/ServizioCondizioni.test.jsx +240 -286
  101. package/src/components/ItaliaTheme/View/__tests__/ServizioContatti.test.jsx +240 -286
  102. package/src/components/ItaliaTheme/View/__tests__/ServizioCosE.test.jsx +240 -286
  103. package/src/components/ItaliaTheme/View/__tests__/ServizioCosaServe.test.jsx +240 -286
  104. package/src/components/ItaliaTheme/View/__tests__/ServizioCosaSiOttiene.test.jsx +240 -286
  105. package/src/components/ItaliaTheme/View/__tests__/ServizioCostiVincoli.test.jsx +240 -286
  106. package/src/components/ItaliaTheme/View/__tests__/ServizioMetadati.test.jsx +240 -286
  107. package/src/components/ItaliaTheme/View/__tests__/ServizioModulistica.test.jsx +240 -286
  108. package/src/components/ItaliaTheme/View/__tests__/ServizioProcedure.test.jsx +240 -286
  109. package/src/components/ItaliaTheme/View/__tests__/ServizioSitiEsterni.test.jsx +240 -286
  110. package/src/components/ItaliaTheme/View/__tests__/ServizioTempiScadenze.test.jsx +240 -286
  111. package/src/components/ItaliaTheme/View/__tests__/ServizioUlterioriInformazioni.test.jsx +240 -286
  112. package/src/components/ItaliaTheme/View/__tests__/ServizioView.test.jsx +470 -560
  113. package/src/components/ItaliaTheme/View/__tests__/TrasparenzaView.test.jsx +12 -1
  114. package/src/components/ItaliaTheme/index.js +0 -1
  115. package/src/components/ItaliaTheme/manage/Widgets/ColorListWidget.jsx +11 -2
  116. package/src/components/ItaliaTheme/manage/Widgets/HtmlSlateWidget.jsx +156 -0
  117. package/src/components/ItaliaTheme/manage/Widgets/RichTextWidget.jsx +88 -0
  118. package/src/components/ItaliaTheme/manage/Widgets/SimpleTextEditorWidget.jsx +158 -0
  119. package/src/components/ItaliaTheme/manage/Widgets/TextEditorWidget.jsx +167 -270
  120. package/src/config/Blocks/ListingOptions/index.js +0 -1
  121. package/src/config/Blocks/ListingOptions/utils.js +0 -7
  122. package/src/config/Blocks/blocks.js +29 -8
  123. package/src/config/Blocks/listingVariations.js +1 -1
  124. package/src/config/Slate/Alignment/AlignMenu.jsx +169 -0
  125. package/src/config/Slate/Alignment/index.js +42 -0
  126. package/src/config/Slate/Blockquote/BlockquoteMenu.jsx +151 -0
  127. package/src/config/Slate/Blockquote/index.js +19 -0
  128. package/src/config/Slate/Headings/HeadingsMenu.jsx +139 -0
  129. package/src/config/Slate/Headings/headingsMenu.scss +44 -0
  130. package/src/config/Slate/Headings/index.js +62 -0
  131. package/src/config/Slate/Link/deserializer.js +25 -0
  132. package/src/config/Slate/Link/index.js +126 -0
  133. package/src/config/Slate/Link/renderer.jsx +99 -0
  134. package/src/config/Slate/LinkButton/index.js +47 -0
  135. package/src/config/Slate/TextLarger/index.js +51 -0
  136. package/src/config/Slate/Underline/index.js +10 -0
  137. package/src/config/Slate/config.js +43 -0
  138. package/src/config/Slate/deserializers.js +66 -0
  139. package/src/config/Slate/dropdownStyle.scss +14 -0
  140. package/src/config/Slate/dropdownUtils.js +422 -0
  141. package/src/config/Slate/extensions/breakList.js +91 -0
  142. package/src/config/Slate/handlers.js +243 -0
  143. package/src/config/Slate/utils.js +73 -0
  144. package/src/config/Widgets/widgets.js +1 -2
  145. package/src/config/italiaConfig.js +5 -53
  146. package/src/customizations/volto/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.jsx +361 -0
  147. package/src/customizations/volto/components/manage/Blocks/HeroImageLeft/Edit.jsx +75 -200
  148. package/src/customizations/volto/components/manage/Blocks/Video/Body.jsx +0 -1
  149. package/src/customizations/volto/components/manage/Blocks/Video/Edit.jsx +1 -1
  150. package/src/customizations/volto/components/manage/Form/BlocksToolbar.jsx +1 -1
  151. package/src/customizations/volto/components/manage/UniversalLink/UniversalLink.jsx +76 -18
  152. package/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +4 -0
  153. package/src/customizations/volto-form-block/components/Field.jsx +45 -22
  154. package/src/helpers/EnhanceLink.js +44 -0
  155. package/src/helpers/FormValidation/FormValidationHelpers.js +3 -0
  156. package/src/helpers/blocks.js +80 -0
  157. package/src/helpers/files.js +13 -13
  158. package/src/helpers/index.js +4 -3
  159. package/src/helpers/richTextHelper.js +10 -0
  160. package/src/icons/Group.svg +1 -0
  161. package/src/icons/blocco-icone.svg +0 -3
  162. package/src/icons/blockquote-card-dark.svg +1 -0
  163. package/src/icons/blockquote-card.svg +1 -0
  164. package/src/icons/blockquote-simple.svg +1 -0
  165. package/src/icons/text-larger.svg +1 -0
  166. package/src/theme/ItaliaTheme/Blocks/_accordion.scss +2 -22
  167. package/src/theme/ItaliaTheme/Blocks/_alert.scss +51 -4
  168. package/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +1 -0
  169. package/src/theme/ItaliaTheme/Blocks/_callout.scss +32 -0
  170. package/src/theme/ItaliaTheme/Blocks/_contacts.scss +17 -51
  171. package/src/theme/ItaliaTheme/Blocks/_countdown.scss +10 -1
  172. package/src/theme/ItaliaTheme/Blocks/_ctaBlock.scss +7 -23
  173. package/src/theme/ItaliaTheme/Blocks/_gridBlock.scss +1 -1
  174. package/src/theme/ItaliaTheme/Blocks/_hero.scss +1 -8
  175. package/src/theme/ItaliaTheme/Blocks/_iconBlocks.scss +6 -77
  176. package/src/theme/ItaliaTheme/Blocks/_imageCardTextBlock.scss +3 -2
  177. package/src/theme/ItaliaTheme/Blocks/_numbers.scss +6 -20
  178. package/src/theme/ItaliaTheme/Blocks/_simpleCardTextBlock.scss +8 -2
  179. package/src/theme/ItaliaTheme/Blocks/_subblocks-edit.scss +3 -1
  180. package/src/theme/ItaliaTheme/Blocks/_tableOfContents.scss +1 -0
  181. package/src/theme/ItaliaTheme/Components/_megamenu.scss +0 -4
  182. package/src/theme/ItaliaTheme/Components/_mobileMenu.scss +12 -16
  183. package/src/theme/ItaliaTheme/Print/_page.scss +1 -1
  184. package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_contacts.scss +3 -0
  185. package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_cta.scss +1 -0
  186. package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_searchSections.scss +1 -0
  187. package/src/theme/ItaliaTheme/Subsites/bootstrap-italia/custom/_headercenter.scss +1 -0
  188. package/src/theme/ItaliaTheme/Views/_cartellaModulistica.scss +11 -2
  189. package/src/theme/ItaliaTheme/Views/_servizio.scss +2 -2
  190. package/src/theme/ItaliaTheme/Views/_slider.scss +3 -0
  191. package/src/theme/ItaliaTheme/Widgets/_iconWidget.scss +4 -0
  192. package/src/theme/ItaliaTheme/_common.scss +1 -0
  193. package/src/theme/ItaliaTheme/_home.scss +0 -4
  194. package/src/theme/ItaliaTheme/_main.scss +78 -84
  195. package/src/theme/_cms-ui.scss +63 -160
  196. package/src/theme/_mixins.scss +13 -0
  197. package/src/theme/bootstrap-override/_bootstrap-italia-site.scss +1 -0
  198. package/src/theme/bootstrap-override/bootstrap-italia/_footer.scss +1 -1
  199. package/src/theme/bootstrap-override/bootstrap-italia/_forms.scss +7 -0
  200. package/src/theme/bootstrap-override/bootstrap-italia/_headercenter.scss +8 -3
  201. package/src/theme/extras/_forms.scss +2 -14
  202. package/src/theme/site.scss +1 -1
  203. package/test-setup-config.js +58 -0
  204. package/.yarn/cache/braces-npm-3.0.2-782240b28a-e2a8e769a8.zip +0 -0
  205. package/.yarn/cache/fill-range-npm-7.0.1-b8b1817caa-cc283f4e65.zip +0 -0
  206. package/.yarn/cache/micromatch-npm-4.0.5-cfab5d7669-02a17b671c.zip +0 -0
  207. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Block.jsx +0 -151
  208. package/src/components/ItaliaTheme/RemoveBodyClass/RemoveBodyClass.jsx +0 -84
  209. package/src/config/RichTextEditor/LinkEntity.jsx +0 -27
  210. package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/Link/index.jsx +0 -44
  211. package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/LinkButton/AddLinkForm.jsx +0 -349
  212. package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/LinkButton/index.js +0 -150
  213. package/src/config/RichTextEditor/Plugins/AnchorPlugin/index.js +0 -88
  214. package/src/config/RichTextEditor/ToolbarButtons/AlignButton.jsx +0 -61
  215. package/src/config/RichTextEditor/ToolbarButtons/ButtonsButton.jsx +0 -14
  216. package/src/config/RichTextEditor/ToolbarButtons/CalloutsButton.jsx +0 -38
  217. package/src/config/RichTextEditor/ToolbarButtons/DraftJsDropdownButton.jsx +0 -106
  218. package/src/config/RichTextEditor/ToolbarButtons/HeadingsButton.jsx +0 -57
  219. package/src/config/RichTextEditor/ToolbarButtons/TextSizeButton.jsx +0 -65
  220. package/src/config/RichTextEditor/ToolbarButtons/UnderlineButton.jsx +0 -14
  221. package/src/config/RichTextEditor/config.js +0 -253
  222. package/src/config/volto-gdpr-privacy-defaultPanelConfig.js +0 -292
  223. package/src/customizations/volto/components/manage/Blocks/ToC/View.jsx +0 -134
  224. package/src/customizations/volto/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx +0 -99
  225. package/src/customizations/volto/config/RichTextEditor/Plugins.jsx +0 -63
  226. package/src/helpers/redraftHelper.js +0 -9
  227. package/src/theme/ItaliaTheme/Components/_logo.scss +0 -10
@@ -116,21 +116,18 @@ const mock_allfields = {
116
116
  compensi: {
117
117
  blocks: {
118
118
  'f943ce1c-cc67-4568-8526-1281f01a9202': {
119
- '@type': 'text',
120
- text: {
121
- blocks: [
122
- {
123
- data: {},
124
- depth: 0,
125
- entityRanges: [],
126
- inlineStyleRanges: [],
127
- key: '4ruln',
128
- text: "You don't ever say too much",
129
- type: 'unstyled',
130
- },
131
- ],
132
- entityMap: {},
133
- },
119
+ '@type': 'slate',
120
+ plaintext: "You don't ever say too much",
121
+ value: [
122
+ {
123
+ children: [
124
+ {
125
+ text: "You don't ever say too much",
126
+ },
127
+ ],
128
+ type: 'p',
129
+ },
130
+ ],
134
131
  },
135
132
  },
136
133
  blocks_layout: {
@@ -151,21 +148,18 @@ const mock_allfields = {
151
148
  importi_viaggio_servizio: {
152
149
  blocks: {
153
150
  '2d2dd70c-3af5-4ff8-816b-46b34ea186b7': {
154
- '@type': 'text',
155
- text: {
156
- blocks: [
157
- {
158
- data: {},
159
- depth: 0,
160
- entityRanges: [],
161
- inlineStyleRanges: [],
162
- key: '3v7r',
163
- text: "You don't really read into",
164
- type: 'unstyled',
165
- },
166
- ],
167
- entityMap: {},
168
- },
151
+ '@type': 'slate',
152
+ plaintext: "You don't really read into",
153
+ value: [
154
+ {
155
+ children: [
156
+ {
157
+ text: "You don't really read into",
158
+ },
159
+ ],
160
+ type: 'p',
161
+ },
162
+ ],
169
163
  },
170
164
  },
171
165
  blocks_layout: {
@@ -116,7 +116,18 @@ const mock_allfields = {
116
116
  '@type': 'title',
117
117
  },
118
118
  'd2043aa9-157f-4393-a51c-05811f6e760e': {
119
- '@type': 'text',
119
+ '@type': 'slate',
120
+ plaintext: '',
121
+ value: [
122
+ {
123
+ children: [
124
+ {
125
+ text: '',
126
+ },
127
+ ],
128
+ type: 'p',
129
+ },
130
+ ],
120
131
  },
121
132
  },
122
133
  blocks_layout: {
@@ -77,7 +77,18 @@ const mock_allfields = {
77
77
  variation: 'simpleCard',
78
78
  },
79
79
  'e274abbd-0239-46ac-b3a8-dad1dee0691c': {
80
- '@type': 'text',
80
+ '@type': 'slate',
81
+ plaintext: '',
82
+ value: [
83
+ {
84
+ children: [
85
+ {
86
+ text: '',
87
+ },
88
+ ],
89
+ type: 'p',
90
+ },
91
+ ],
81
92
  },
82
93
  'fcfde1bb-0d46-4678-bb6a-2f64fc0084b9': {
83
94
  '@type': 'title',
@@ -756,7 +767,18 @@ const store = mockStore({
756
767
  variation: 'simpleCard',
757
768
  },
758
769
  'e274abbd-0239-46ac-b3a8-dad1dee0691c': {
759
- '@type': 'text',
770
+ '@type': 'slate',
771
+ plaintext: '',
772
+ value: [
773
+ {
774
+ children: [
775
+ {
776
+ text: '',
777
+ },
778
+ ],
779
+ type: 'p',
780
+ },
781
+ ],
760
782
  },
761
783
  'fcfde1bb-0d46-4678-bb6a-2f64fc0084b9': {
762
784
  '@type': 'title',
@@ -148,21 +148,18 @@ const mock_allfields = {
148
148
  biografia: {
149
149
  blocks: {
150
150
  '49066162-9327-4aa7-930c-ebc24971bfef': {
151
- '@type': 'text',
152
- text: {
153
- blocks: [
154
- {
155
- data: {},
156
- depth: 0,
157
- entityRanges: [],
158
- inlineStyleRanges: [],
159
- key: 'att33',
160
- text: 'No escape from reality',
161
- type: 'unstyled',
162
- },
163
- ],
164
- entityMap: {},
165
- },
151
+ '@type': 'slate',
152
+ plaintext: 'No escape from reality',
153
+ value: [
154
+ {
155
+ children: [
156
+ {
157
+ text: 'No escape from reality',
158
+ },
159
+ ],
160
+ type: 'p',
161
+ },
162
+ ],
166
163
  },
167
164
  },
168
165
  blocks_layout: {
@@ -173,21 +170,18 @@ const mock_allfields = {
173
170
  competenze: {
174
171
  blocks: {
175
172
  '353a16e6-e4c0-4305-a19d-2638b720881a': {
176
- '@type': 'text',
177
- text: {
178
- blocks: [
179
- {
180
- data: {},
181
- depth: 0,
182
- entityRanges: [],
183
- inlineStyleRanges: [],
184
- key: '6923e',
185
- text: 'Is this just fantasy?',
186
- type: 'unstyled',
187
- },
188
- ],
189
- entityMap: {},
190
- },
173
+ '@type': 'slate',
174
+ plaintext: 'Is this jusst fantasy?',
175
+ value: [
176
+ {
177
+ children: [
178
+ {
179
+ text: 'Is this just fantasy?',
180
+ },
181
+ ],
182
+ type: 'p',
183
+ },
184
+ ],
191
185
  },
192
186
  },
193
187
  blocks_layout: {
@@ -207,21 +201,18 @@ const mock_allfields = {
207
201
  deleghe: {
208
202
  blocks: {
209
203
  '792eac6b-5110-4878-9c11-31ef3de20c45': {
210
- '@type': 'text',
211
- text: {
212
- blocks: [
213
- {
214
- data: {},
215
- depth: 0,
216
- entityRanges: [],
217
- inlineStyleRanges: [],
218
- key: '5hop7',
219
- text: 'Caught in a landside',
220
- type: 'unstyled',
221
- },
222
- ],
223
- entityMap: {},
224
- },
204
+ '@type': 'slate',
205
+ plaintext: 'Caught in a landside',
206
+ value: [
207
+ {
208
+ children: [
209
+ {
210
+ text: 'Caught in a landside',
211
+ },
212
+ ],
213
+ type: 'p',
214
+ },
215
+ ],
225
216
  },
226
217
  },
227
218
  blocks_layout: {
@@ -659,21 +650,18 @@ const mock_allfields = {
659
650
  ulteriori_informazioni: {
660
651
  blocks: {
661
652
  'f11ecf5a-7248-49d5-95d8-970c05577860': {
662
- '@type': 'text',
663
- text: {
664
- blocks: [
665
- {
666
- data: {},
667
- depth: 0,
668
- entityRanges: [],
669
- inlineStyleRanges: [],
670
- key: '71kmg',
671
- text: 'Open your eyes',
672
- type: 'unstyled',
673
- },
674
- ],
675
- entityMap: {},
676
- },
653
+ '@type': 'slate',
654
+ plaintext: 'Open your eyes',
655
+ value: [
656
+ {
657
+ children: [
658
+ {
659
+ text: 'Open your eyes',
660
+ },
661
+ ],
662
+ type: 'p',
663
+ },
664
+ ],
677
665
  },
678
666
  },
679
667
  blocks_layout: {
@@ -1888,21 +1876,18 @@ const store = mockStore({
1888
1876
  competenze: {
1889
1877
  blocks: {
1890
1878
  'd1cb20b4-1adb-4475-9ac5-2aa3c01679be': {
1891
- '@type': 'text',
1892
- text: {
1893
- blocks: [
1894
- {
1895
- data: {},
1896
- depth: 0,
1897
- entityRanges: [],
1898
- inlineStyleRanges: [],
1899
- key: '9n2eu',
1900
- text: 'Prova',
1901
- type: 'unstyled',
1902
- },
1903
- ],
1904
- entityMap: {},
1905
- },
1879
+ '@type': 'slate',
1880
+ plaintext: 'Prova',
1881
+ value: [
1882
+ {
1883
+ children: [
1884
+ {
1885
+ text: 'Prova',
1886
+ },
1887
+ ],
1888
+ type: 'p',
1889
+ },
1890
+ ],
1906
1891
  },
1907
1892
  },
1908
1893
  blocks_layout: {
@@ -2074,7 +2059,18 @@ const store = mockStore({
2074
2059
  orario_pubblico: {
2075
2060
  blocks: {
2076
2061
  '006b939d-cb64-4e40-b585-a352c666847c': {
2077
- '@type': 'text',
2062
+ '@type': 'slate',
2063
+ plaintext: '',
2064
+ value: [
2065
+ {
2066
+ children: [
2067
+ {
2068
+ text: '',
2069
+ },
2070
+ ],
2071
+ type: 'p',
2072
+ },
2073
+ ],
2078
2074
  },
2079
2075
  },
2080
2076
  blocks_layout: {
@@ -2344,21 +2340,18 @@ const store = mockStore({
2344
2340
  orario_pubblico: {
2345
2341
  blocks: {
2346
2342
  'b87e0b6c-e210-4d75-964b-17d71a281ada': {
2347
- '@type': 'text',
2348
- text: {
2349
- blocks: [
2350
- {
2351
- data: {},
2352
- depth: 0,
2353
- entityRanges: [],
2354
- inlineStyleRanges: [],
2355
- key: 'b1c6n',
2356
- text: 'Built a home and watched it burn',
2357
- type: 'unstyled',
2358
- },
2359
- ],
2360
- entityMap: {},
2361
- },
2343
+ '@type': 'slate',
2344
+ plaintext: 'Built a home and watched it burn',
2345
+ value: [
2346
+ {
2347
+ children: [
2348
+ {
2349
+ text: 'Built a home and watched it burn',
2350
+ },
2351
+ ],
2352
+ type: 'p',
2353
+ },
2354
+ ],
2362
2355
  },
2363
2356
  },
2364
2357
  blocks_layout: {
@@ -2400,7 +2393,18 @@ const store = mockStore({
2400
2393
  ulteriori_informazioni: {
2401
2394
  blocks: {
2402
2395
  'e4d319e0-0b67-449e-b625-1bcfbb267117': {
2403
- '@type': 'text',
2396
+ '@type': 'slate',
2397
+ plaintext: '',
2398
+ value: [
2399
+ {
2400
+ children: [
2401
+ {
2402
+ text: '',
2403
+ },
2404
+ ],
2405
+ type: 'p',
2406
+ },
2407
+ ],
2404
2408
  },
2405
2409
  },
2406
2410
  blocks_layout: {