design-comuni-plone-theme 11.10.1 → 12.0.0-alpha.1

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 (194) hide show
  1. package/.github/workflows/slate.yml +47 -0
  2. package/.yarn/cache/@babel-helper-module-imports-npm-7.24.3-edb733448b-c23492189b.zip +0 -0
  3. package/.yarn/cache/@babel-types-npm-7.24.0-a0508cb308-4b574a37d4.zip +0 -0
  4. package/.yarn/cache/babel-plugin-lodash-npm-3.3.4-c7161075b6-044a4261e6.zip +0 -0
  5. package/.yarn/cache/require-package-name-npm-2.0.1-ac9a206b63-00f4e9e467.zip +0 -0
  6. package/.yarn/cache/{volto-form-block-npm-3.7.2-f24953a510-7387a1b85a.zip → volto-form-block-npm-3.8.2-e49cbe07d5-5b72a06a5e.zip} +0 -0
  7. package/.yarn/install-state.gz +0 -0
  8. package/CHANGELOG.md +878 -904
  9. package/RELEASE.md +8 -0
  10. package/locales/de/LC_MESSAGES/volto.po +86 -18
  11. package/locales/en/LC_MESSAGES/volto.po +86 -18
  12. package/locales/es/LC_MESSAGES/volto.po +86 -18
  13. package/locales/fr/LC_MESSAGES/volto.po +86 -18
  14. package/locales/it/LC_MESSAGES/volto.po +86 -18
  15. package/locales/volto.pot +87 -19
  16. package/package.json +4 -2
  17. package/publiccode.yml +2 -2
  18. package/src/components/Collapse.jsx +1 -0
  19. package/src/components/ItaliaTheme/Blocks/Accordion/Block/EditBlock.jsx +29 -24
  20. package/src/components/ItaliaTheme/Blocks/Accordion/Block/ViewBlock.jsx +4 -12
  21. package/src/components/ItaliaTheme/Blocks/Accordion/Edit.jsx +67 -6
  22. package/src/components/ItaliaTheme/Blocks/Alert/Edit.jsx +60 -113
  23. package/src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx +1 -0
  24. package/src/components/ItaliaTheme/Blocks/Alert/View.jsx +5 -14
  25. package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Block.jsx +16 -11
  26. package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Body.jsx +2 -1
  27. package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Edit.jsx +39 -1
  28. package/src/components/ItaliaTheme/Blocks/CTABlock/Block.jsx +35 -95
  29. package/src/components/ItaliaTheme/Blocks/Callout/Edit.jsx +108 -0
  30. package/src/components/ItaliaTheme/Blocks/Callout/Sidebar.jsx +173 -0
  31. package/src/components/ItaliaTheme/Blocks/Callout/View.jsx +45 -0
  32. package/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/EditBlock.jsx +84 -63
  33. package/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/ViewBlock.jsx +19 -39
  34. package/src/components/ItaliaTheme/Blocks/ContactsBlock/Edit.jsx +92 -19
  35. package/src/components/ItaliaTheme/Blocks/ContactsBlock/View.jsx +13 -21
  36. package/src/components/ItaliaTheme/Blocks/CountDown/Edit.jsx +21 -25
  37. package/src/components/ItaliaTheme/Blocks/CountDown/View.jsx +6 -15
  38. package/src/components/ItaliaTheme/Blocks/IconBlocks/Block/EditBlock.jsx +40 -15
  39. package/src/components/ItaliaTheme/Blocks/IconBlocks/Block/ViewBlock.jsx +6 -21
  40. package/src/components/ItaliaTheme/Blocks/IconBlocks/Edit.jsx +93 -20
  41. package/src/components/ItaliaTheme/Blocks/IconBlocks/Sidebar.jsx +1 -9
  42. package/src/components/ItaliaTheme/Blocks/IconBlocks/View.jsx +4 -17
  43. package/src/components/ItaliaTheme/Blocks/NumbersBlock/Block/EditBlock.jsx +46 -15
  44. package/src/components/ItaliaTheme/Blocks/NumbersBlock/Block/ViewBlock.jsx +2 -18
  45. package/src/components/ItaliaTheme/Blocks/NumbersBlock/Edit.jsx +84 -11
  46. package/src/components/ItaliaTheme/Blocks/NumbersBlock/View.jsx +2 -11
  47. package/src/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Block.jsx +33 -67
  48. package/src/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Edit.jsx +2 -8
  49. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/BodyWrapper.jsx +2 -1
  50. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Edit.jsx +98 -84
  51. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/View.jsx +20 -3
  52. package/src/components/ItaliaTheme/Blocks/__tests__/Accordion.test.jsx +11 -28
  53. package/src/components/ItaliaTheme/Blocks/__tests__/Alert.test.jsx +10 -14
  54. package/src/components/ItaliaTheme/Blocks/__tests__/ArgumentsInEvidence.test.jsx +20 -28
  55. package/src/components/ItaliaTheme/Blocks/__tests__/CTABlock.test.jsx +14 -29
  56. package/src/components/ItaliaTheme/Blocks/__tests__/CardWithImage.test.jsx +11 -28
  57. package/src/components/ItaliaTheme/Blocks/__tests__/ContactsBlock.test.jsx +75 -140
  58. package/src/components/ItaliaTheme/Blocks/__tests__/Countdown.test.jsx +20 -28
  59. package/src/components/ItaliaTheme/Blocks/__tests__/IconBlocks.test.jsx +22 -56
  60. package/src/components/ItaliaTheme/Blocks/__tests__/NumbersBlock.test.jsx +14 -43
  61. package/src/components/ItaliaTheme/Blocks/__tests__/SimpleCard.test.jsx +14 -30
  62. package/src/components/ItaliaTheme/Footer/FooterInfos.jsx +22 -8
  63. package/src/components/ItaliaTheme/Footer/FooterNavigation.jsx +3 -3
  64. package/src/components/ItaliaTheme/MegaMenu/MegaMenu.jsx +5 -1
  65. package/src/components/ItaliaTheme/Slider/SingleSlideWrapper.jsx +2 -3
  66. package/src/components/ItaliaTheme/View/BandoView/BandoApprofondimenti.jsx +1 -2
  67. package/src/components/ItaliaTheme/View/CartellaModulisticaView/DocRow.jsx +14 -5
  68. package/src/components/ItaliaTheme/View/Commons/Attachment.jsx +19 -3
  69. package/src/components/ItaliaTheme/View/Commons/Attachments.jsx +0 -1
  70. package/src/components/ItaliaTheme/View/Commons/DownloadFileFormat.jsx +11 -7
  71. package/src/components/ItaliaTheme/View/Commons/Module.jsx +7 -6
  72. package/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderLinkServizio.jsx +6 -2
  73. package/src/components/ItaliaTheme/View/Commons/RichTextRender.jsx +8 -6
  74. package/src/components/ItaliaTheme/View/Commons/__tests__/RichText.test.jsx +14 -17
  75. package/src/components/ItaliaTheme/View/ServizioView/ServizioAccedi.jsx +5 -6
  76. package/src/components/ItaliaTheme/View/ServizioView/ServizioMetatag.jsx +4 -0
  77. package/src/components/ItaliaTheme/View/__tests__/CartellaModulisticaView.test.jsx +12 -1
  78. package/src/components/ItaliaTheme/View/__tests__/IncaricoView.test.jsx +24 -30
  79. package/src/components/ItaliaTheme/View/__tests__/PageView.test.jsx +24 -2
  80. package/src/components/ItaliaTheme/View/__tests__/PersonaView.test.jsx +96 -92
  81. package/src/components/ItaliaTheme/View/__tests__/ServizioAChiSiRivolge.test.jsx +240 -286
  82. package/src/components/ItaliaTheme/View/__tests__/ServizioAccedi.test.jsx +240 -286
  83. package/src/components/ItaliaTheme/View/__tests__/ServizioCasiParticolari.test.jsx +240 -286
  84. package/src/components/ItaliaTheme/View/__tests__/ServizioComeFare.test.jsx +240 -286
  85. package/src/components/ItaliaTheme/View/__tests__/ServizioCondizioni.test.jsx +240 -286
  86. package/src/components/ItaliaTheme/View/__tests__/ServizioContatti.test.jsx +240 -286
  87. package/src/components/ItaliaTheme/View/__tests__/ServizioCosE.test.jsx +240 -286
  88. package/src/components/ItaliaTheme/View/__tests__/ServizioCosaServe.test.jsx +240 -286
  89. package/src/components/ItaliaTheme/View/__tests__/ServizioCosaSiOttiene.test.jsx +240 -286
  90. package/src/components/ItaliaTheme/View/__tests__/ServizioCostiVincoli.test.jsx +240 -286
  91. package/src/components/ItaliaTheme/View/__tests__/ServizioMetadati.test.jsx +240 -286
  92. package/src/components/ItaliaTheme/View/__tests__/ServizioModulistica.test.jsx +240 -286
  93. package/src/components/ItaliaTheme/View/__tests__/ServizioProcedure.test.jsx +240 -286
  94. package/src/components/ItaliaTheme/View/__tests__/ServizioSitiEsterni.test.jsx +240 -286
  95. package/src/components/ItaliaTheme/View/__tests__/ServizioTempiScadenze.test.jsx +240 -286
  96. package/src/components/ItaliaTheme/View/__tests__/ServizioUlterioriInformazioni.test.jsx +240 -286
  97. package/src/components/ItaliaTheme/View/__tests__/ServizioView.test.jsx +470 -560
  98. package/src/components/ItaliaTheme/View/__tests__/TrasparenzaView.test.jsx +12 -1
  99. package/src/components/ItaliaTheme/manage/Widgets/ColorListWidget.jsx +11 -2
  100. package/src/components/ItaliaTheme/manage/Widgets/HtmlSlateWidget.jsx +154 -0
  101. package/src/components/ItaliaTheme/manage/Widgets/RichTextWidget.jsx +88 -0
  102. package/src/components/ItaliaTheme/manage/Widgets/SimpleTextEditorWidget.jsx +158 -0
  103. package/src/components/ItaliaTheme/manage/Widgets/TextEditorWidget.jsx +167 -270
  104. package/src/config/Blocks/ListingOptions/index.js +0 -1
  105. package/src/config/Blocks/ListingOptions/utils.js +0 -7
  106. package/src/config/Blocks/blocks.js +29 -8
  107. package/src/config/Blocks/listingVariations.js +1 -1
  108. package/src/config/Slate/Alignment/AlignMenu.jsx +169 -0
  109. package/src/config/Slate/Alignment/index.js +42 -0
  110. package/src/config/Slate/Blockquote/BlockquoteMenu.jsx +151 -0
  111. package/src/config/Slate/Blockquote/index.js +12 -0
  112. package/src/config/Slate/Headings/HeadingsMenu.jsx +139 -0
  113. package/src/config/Slate/Headings/headingsMenu.scss +44 -0
  114. package/src/config/Slate/Headings/index.js +62 -0
  115. package/src/config/Slate/Link/deserializer.js +25 -0
  116. package/src/config/Slate/Link/index.js +126 -0
  117. package/src/config/Slate/Link/renderer.jsx +99 -0
  118. package/src/config/Slate/LinkButton/index.js +47 -0
  119. package/src/config/Slate/TextLarger/index.js +51 -0
  120. package/src/config/Slate/Underline/index.js +10 -0
  121. package/src/config/Slate/config.js +43 -0
  122. package/src/config/Slate/deserializers.js +66 -0
  123. package/src/config/Slate/dropdownStyle.scss +14 -0
  124. package/src/config/Slate/dropdownUtils.js +422 -0
  125. package/src/config/Slate/extensions/breakList.js +91 -0
  126. package/src/config/Slate/handlers.js +243 -0
  127. package/src/config/Slate/utils.js +73 -0
  128. package/src/config/Widgets/widgets.js +1 -2
  129. package/src/config/italiaConfig.js +7 -54
  130. package/src/customizations/volto/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.jsx +360 -0
  131. package/src/customizations/volto/components/manage/Blocks/HeroImageLeft/Edit.jsx +75 -200
  132. package/src/customizations/volto/components/manage/Blocks/Video/Edit.jsx +1 -1
  133. package/src/customizations/volto/components/manage/Form/BlocksToolbar.jsx +1 -1
  134. package/src/customizations/volto/components/manage/UniversalLink/UniversalLink.jsx +59 -6
  135. package/src/customizations/volto-form-block/components/Field.jsx +45 -22
  136. package/src/customizations/volto-form-block/components/FormResult.jsx +74 -0
  137. package/src/customizations/volto-form-block/components/FormView.jsx +79 -66
  138. package/src/customizations/volto-form-block/components/Widget/Button.jsx +50 -0
  139. package/src/helpers/EnhanceLink.js +44 -0
  140. package/src/helpers/FormValidation/FormValidationHelpers.js +3 -0
  141. package/src/helpers/blocks.js +86 -0
  142. package/src/helpers/files.js +14 -14
  143. package/src/helpers/index.js +4 -3
  144. package/src/helpers/richTextHelper.js +10 -0
  145. package/src/icons/Group.svg +1 -0
  146. package/src/icons/blocco-icone.svg +0 -3
  147. package/src/icons/blockquote-card-dark.svg +1 -0
  148. package/src/icons/blockquote-card.svg +1 -0
  149. package/src/icons/blockquote-simple.svg +1 -0
  150. package/src/icons/text-larger.svg +1 -0
  151. package/src/theme/ItaliaTheme/Blocks/_accordion.scss +1 -10
  152. package/src/theme/ItaliaTheme/Blocks/_alert.scss +53 -1
  153. package/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +1 -0
  154. package/src/theme/ItaliaTheme/Blocks/_callout.scss +32 -0
  155. package/src/theme/ItaliaTheme/Blocks/_contacts.scss +15 -32
  156. package/src/theme/ItaliaTheme/Blocks/_ctaBlock.scss +0 -14
  157. package/src/theme/ItaliaTheme/Blocks/_gridBlock.scss +1 -1
  158. package/src/theme/ItaliaTheme/Blocks/_hero.scss +1 -8
  159. package/src/theme/ItaliaTheme/Blocks/_iconBlocks.scss +0 -30
  160. package/src/theme/ItaliaTheme/Blocks/_imageCardTextBlock.scss +3 -2
  161. package/src/theme/ItaliaTheme/Blocks/_numbers.scss +1 -5
  162. package/src/theme/ItaliaTheme/Blocks/_simpleCardTextBlock.scss +8 -2
  163. package/src/theme/ItaliaTheme/Blocks/_tableOfContents.scss +1 -0
  164. package/src/theme/ItaliaTheme/Components/_megamenu.scss +0 -4
  165. package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_cta.scss +1 -0
  166. package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_searchSections.scss +1 -0
  167. package/src/theme/ItaliaTheme/Subsites/bootstrap-italia/custom/_headercenter.scss +1 -0
  168. package/src/theme/ItaliaTheme/Views/_cartellaModulistica.scss +11 -2
  169. package/src/theme/ItaliaTheme/Views/_slider.scss +3 -3
  170. package/src/theme/ItaliaTheme/Widgets/_iconWidget.scss +4 -0
  171. package/src/theme/ItaliaTheme/_main.scss +42 -54
  172. package/src/theme/_cms-ui.scss +59 -161
  173. package/src/theme/extras/_forms.scss +2 -14
  174. package/src/theme/site.scss +1 -0
  175. package/test-setup-config.js +58 -0
  176. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Block.jsx +0 -151
  177. package/src/config/RichTextEditor/LinkEntity.jsx +0 -27
  178. package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/Link/index.jsx +0 -44
  179. package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/LinkButton/AddLinkForm.jsx +0 -349
  180. package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/LinkButton/index.js +0 -150
  181. package/src/config/RichTextEditor/Plugins/AnchorPlugin/index.js +0 -88
  182. package/src/config/RichTextEditor/ToolbarButtons/AlignButton.jsx +0 -61
  183. package/src/config/RichTextEditor/ToolbarButtons/ButtonsButton.jsx +0 -14
  184. package/src/config/RichTextEditor/ToolbarButtons/CalloutsButton.jsx +0 -38
  185. package/src/config/RichTextEditor/ToolbarButtons/DraftJsDropdownButton.jsx +0 -106
  186. package/src/config/RichTextEditor/ToolbarButtons/HeadingsButton.jsx +0 -57
  187. package/src/config/RichTextEditor/ToolbarButtons/TextSizeButton.jsx +0 -65
  188. package/src/config/RichTextEditor/ToolbarButtons/UnderlineButton.jsx +0 -14
  189. package/src/config/RichTextEditor/config.js +0 -253
  190. package/src/config/volto-gdpr-privacy-defaultPanelConfig.js +0 -292
  191. package/src/customizations/volto/components/manage/Blocks/ToC/View.jsx +0 -134
  192. package/src/customizations/volto/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx +0 -99
  193. package/src/customizations/volto/config/RichTextEditor/Plugins.jsx +0 -63
  194. package/src/helpers/redraftHelper.js +0 -9
@@ -6,7 +6,6 @@ import configureStore from 'redux-mock-store';
6
6
  import { Provider } from 'react-intl-redux';
7
7
  import { MemoryRouter } from 'react-router-dom';
8
8
  import thunk from 'redux-thunk';
9
-
10
9
  const middlewares = [thunk];
11
10
  const mockStore = configureStore(middlewares);
12
11
 
@@ -60,21 +59,18 @@ const mock_mandatory = {
60
59
  a_chi_si_rivolge: {
61
60
  blocks: {
62
61
  '2851114d-2489-4ea3-9b46-062cf6437418': {
63
- '@type': 'text',
64
- text: {
65
- blocks: [
66
- {
67
- data: {},
68
- depth: 0,
69
- entityRanges: [],
70
- inlineStyleRanges: [],
71
- key: 'f5rrc',
72
- text: 'Animaletti',
73
- type: 'unstyled',
74
- },
75
- ],
76
- entityMap: {},
77
- },
62
+ '@type': 'slate',
63
+ plaintext: 'Animaletti',
64
+ value: [
65
+ {
66
+ children: [
67
+ {
68
+ text: 'Animaletti',
69
+ },
70
+ ],
71
+ type: 'p',
72
+ },
73
+ ],
78
74
  },
79
75
  },
80
76
  blocks_layout: {
@@ -255,21 +251,18 @@ const mock_mandatory = {
255
251
  come_si_fa: {
256
252
  blocks: {
257
253
  'dd7c859c-8053-4c16-b753-161c438b32ce': {
258
- '@type': 'text',
259
- text: {
260
- blocks: [
261
- {
262
- data: {},
263
- depth: 0,
264
- entityRanges: [],
265
- inlineStyleRanges: [],
266
- key: '1mlqd',
267
- text: "There's a lady who's sure",
268
- type: 'unstyled',
269
- },
270
- ],
271
- entityMap: {},
272
- },
254
+ '@type': 'slate',
255
+ plaintext: "There's a lady who's sure",
256
+ value: [
257
+ {
258
+ children: [
259
+ {
260
+ text: "There's a lady who's sure",
261
+ },
262
+ ],
263
+ type: 'p',
264
+ },
265
+ ],
273
266
  },
274
267
  },
275
268
  blocks_layout: {
@@ -308,21 +301,18 @@ const mock_mandatory = {
308
301
  cosa_serve: {
309
302
  blocks: {
310
303
  'acfa657c-fbab-45ee-859f-21bb62b7c661': {
311
- '@type': 'text',
312
- text: {
313
- blocks: [
314
- {
315
- data: {},
316
- depth: 0,
317
- entityRanges: [],
318
- inlineStyleRanges: [],
319
- key: '2sdeq',
320
- text: "And she's buying a stairway to heaven",
321
- type: 'unstyled',
322
- },
323
- ],
324
- entityMap: {},
325
- },
304
+ '@type': 'slate',
305
+ plaintext: "And she's buying a stairway to heaven",
306
+ value: [
307
+ {
308
+ children: [
309
+ {
310
+ text: "And she's buying a stairway to heaven",
311
+ },
312
+ ],
313
+ type: 'p',
314
+ },
315
+ ],
326
316
  },
327
317
  },
328
318
  blocks_layout: {
@@ -332,21 +322,18 @@ const mock_mandatory = {
332
322
  cosa_si_ottiene: {
333
323
  blocks: {
334
324
  'bb4db7e4-0a27-41c9-8f34-512eff06aa86': {
335
- '@type': 'text',
336
- text: {
337
- blocks: [
338
- {
339
- data: {},
340
- depth: 0,
341
- entityRanges: [],
342
- inlineStyleRanges: [],
343
- key: 'pru2',
344
- text: 'All that glitters is gold',
345
- type: 'unstyled',
346
- },
347
- ],
348
- entityMap: {},
349
- },
325
+ '@type': 'slate',
326
+ plaintext: 'All that glitters is gold',
327
+ value: [
328
+ {
329
+ children: [
330
+ {
331
+ text: 'All that glitters is gold',
332
+ },
333
+ ],
334
+ type: 'p',
335
+ },
336
+ ],
350
337
  },
351
338
  },
352
339
  blocks_layout: {
@@ -373,21 +360,18 @@ const mock_mandatory = {
373
360
  tempi_e_scadenze: {
374
361
  blocks: {
375
362
  'e0c64130-00d4-4747-bc21-b58733cb1b7f': {
376
- '@type': 'text',
377
- text: {
378
- blocks: [
379
- {
380
- data: {},
381
- depth: 0,
382
- entityRanges: [],
383
- inlineStyleRanges: [],
384
- key: 'b6mg7',
385
- text: 'Dopodomani',
386
- type: 'unstyled',
387
- },
388
- ],
389
- entityMap: {},
390
- },
363
+ '@type': 'slate',
364
+ plaintext: 'Dopodomani',
365
+ value: [
366
+ {
367
+ children: [
368
+ {
369
+ text: 'Dopodomani',
370
+ },
371
+ ],
372
+ type: 'p',
373
+ },
374
+ ],
391
375
  },
392
376
  },
393
377
  blocks_layout: {
@@ -503,22 +487,19 @@ const mock_mandatory = {
503
487
  // canale_digitale: {
504
488
  // blocks: {
505
489
  // '7bebaf7f-40fd-4274-82a4-59180e9dff0b': {
506
- // '@type': 'text',
507
- // text: {
508
- // blocks: [
509
- // {
510
- // data: {},
511
- // depth: 0,
512
- // entityRanges: [],
513
- // inlineStyleRanges: [],
514
- // key: '1e42l',
515
- // text: 'Open your eyes',
516
- // type: 'unstyled',
517
- // },
518
- // ],
519
- // entityMap: {},
490
+ // '@type': 'slate',
491
+ // plaintext: "Open your eyes",
492
+ // value: [
493
+ // {
494
+ // children: [
495
+ // {
496
+ // text: "Open your eyes",
520
497
  // },
521
- // },
498
+ // ],
499
+ // type: 'p',
500
+ // },
501
+ // ],
502
+ // },
522
503
  // },
523
504
  // blocks_layout: {
524
505
  // items: ['7bebaf7f-40fd-4274-82a4-59180e9dff0b'],
@@ -528,22 +509,19 @@ const mock_mandatory = {
528
509
  // casi_particolari: {
529
510
  // blocks: {
530
511
  // '02eda6cd-04cf-471e-b002-a0759264c4d9': {
531
- // '@type': 'text',
532
- // text: {
533
- // blocks: [
534
- // {
535
- // data: {},
536
- // depth: 0,
537
- // entityRanges: [],
538
- // inlineStyleRanges: [],
539
- // key: '743f8',
540
- // text: 'Mama, Just killed a man',
541
- // type: 'unstyled',
542
- // },
543
- // ],
544
- // entityMap: {},
512
+ // '@type': 'slate',
513
+ // plaintext: "Mama, just killed a man",
514
+ // value: [
515
+ // {
516
+ // children: [
517
+ // {
518
+ // text: "Mama, just killed a man",
545
519
  // },
546
- // },
520
+ // ],
521
+ // type: 'p',
522
+ // },
523
+ // ],
524
+ // },
547
525
  // },
548
526
  // blocks_layout: {
549
527
  // items: ['02eda6cd-04cf-471e-b002-a0759264c4d9'],
@@ -553,22 +531,19 @@ const mock_mandatory = {
553
531
  // chi_puo_presentare: {
554
532
  // blocks: {
555
533
  // '3e317fff-a0a6-49c8-85a6-8d415fbc3568': {
556
- // '@type': 'text',
557
- // text: {
558
- // blocks: [
559
- // {
560
- // data: {},
561
- // depth: 0,
562
- // entityRanges: [],
563
- // inlineStyleRanges: [],
564
- // key: '5gmg4',
565
- // text: 'Is this just fantasy?',
566
- // type: 'unstyled',
567
- // },
568
- // ],
569
- // entityMap: {},
534
+ // '@type': 'slate',
535
+ // plaintext: "Is this just fantasy?",
536
+ // value: [
537
+ // {
538
+ // children: [
539
+ // {
540
+ // text: "Is this just fantasy?",
570
541
  // },
571
- // },
542
+ // ],
543
+ // type: 'p',
544
+ // },
545
+ // ],
546
+ // },
572
547
  // },
573
548
  // blocks_layout: {
574
549
  // items: ['3e317fff-a0a6-49c8-85a6-8d415fbc3568'],
@@ -586,22 +561,19 @@ const mock_mandatory = {
586
561
  // copertura_geografica: {
587
562
  // blocks: {
588
563
  // 'a04413ee-4676-41b4-9155-6310d8e6ad49': {
589
- // '@type': 'text',
590
- // text: {
591
- // blocks: [
592
- // {
593
- // data: {},
594
- // depth: 0,
595
- // entityRanges: [],
596
- // inlineStyleRanges: [],
597
- // key: 'em5i1',
598
- // text: 'Caught in a landside',
599
- // type: 'unstyled',
600
- // },
601
- // ],
602
- // entityMap: {},
564
+ // '@type': 'slate',
565
+ // plaintext: "Cought in a landside",
566
+ // value: [
567
+ // {
568
+ // children: [
569
+ // {
570
+ // text: "Cought in a landside",
603
571
  // },
604
- // },
572
+ // ],
573
+ // type: 'p',
574
+ // },
575
+ // ],
576
+ // },
605
577
  // },
606
578
  // blocks_layout: {
607
579
  // items: ['a04413ee-4676-41b4-9155-6310d8e6ad49'],
@@ -631,22 +603,19 @@ const mock_mandatory = {
631
603
  // costi: {
632
604
  // blocks: {
633
605
  // 'fb4ab549-4d60-4a24-a5c4-960e7151b28e': {
634
- // '@type': 'text',
635
- // text: {
636
- // blocks: [
637
- // {
638
- // data: {},
639
- // depth: 0,
640
- // entityRanges: [],
641
- // inlineStyleRanges: [],
642
- // key: 'foiq2',
643
- // text: '345',
644
- // type: 'unstyled',
645
- // },
646
- // ],
647
- // entityMap: {},
606
+ // '@type': 'slate',
607
+ // plaintext: "345",
608
+ // value: [
609
+ // {
610
+ // children: [
611
+ // {
612
+ // text: "345",
648
613
  // },
649
- // },
614
+ // ],
615
+ // type: 'p',
616
+ // },
617
+ // ],
618
+ // },
650
619
  // },
651
620
  // blocks_layout: {
652
621
  // items: ['fb4ab549-4d60-4a24-a5c4-960e7151b28e'],
@@ -657,22 +626,19 @@ const mock_mandatory = {
657
626
  // descrizione_estesa: {
658
627
  // blocks: {
659
628
  // '038eb313-2c32-4db4-adae-888197220fd9': {
660
- // '@type': 'text',
661
- // text: {
662
- // blocks: [
663
- // {
664
- // data: {},
665
- // depth: 0,
666
- // entityRanges: [],
667
- // inlineStyleRanges: [],
668
- // key: 'c0a5j',
669
- // text: 'Is this the real life?',
670
- // type: 'unstyled',
671
- // },
672
- // ],
673
- // entityMap: {},
629
+ // '@type': 'slate',
630
+ // plaintext: "Is this the real life?",
631
+ // value: [
632
+ // {
633
+ // children: [
634
+ // {
635
+ // text: "Is this the real life?",
674
636
  // },
675
- // },
637
+ // ],
638
+ // type: 'p',
639
+ // },
640
+ // ],
641
+ // },
676
642
  // },
677
643
  // blocks_layout: {
678
644
  // items: ['038eb313-2c32-4db4-adae-888197220fd9'],
@@ -774,22 +740,19 @@ const mock_mandatory = {
774
740
  // dove_rivolgersi_extra: {
775
741
  // blocks: {
776
742
  // '894e9d1d-1c20-4ed6-a4d0-5e25adbfbd9c': {
777
- // '@type': 'text',
778
- // text: {
779
- // blocks: [
780
- // {
781
- // data: {},
782
- // depth: 0,
783
- // entityRanges: [],
784
- // inlineStyleRanges: [],
785
- // key: '8h4ue',
786
- // text: 'I need no sympathy',
787
- // type: 'unstyled',
788
- // },
789
- // ],
790
- // entityMap: {},
743
+ // '@type': 'slate',
744
+ // plaintext: "I need no simpathy",
745
+ // value: [
746
+ // {
747
+ // children: [
748
+ // {
749
+ // text: "I need no simpathy",
791
750
  // },
792
- // },
751
+ // ],
752
+ // type: 'p',
753
+ // },
754
+ // ],
755
+ // },
793
756
  // },
794
757
  // blocks_layout: {
795
758
  // items: ['894e9d1d-1c20-4ed6-a4d0-5e25adbfbd9c'],
@@ -927,22 +890,19 @@ const mock_mandatory = {
927
890
  // link_siti_esterni: {
928
891
  // blocks: {
929
892
  // 'ff02a375-2be1-4a43-b758-dbb1fae8fa71': {
930
- // '@type': 'text',
931
- // text: {
932
- // blocks: [
933
- // {
934
- // data: {},
935
- // depth: 0,
936
- // entityRanges: [],
937
- // inlineStyleRanges: [],
938
- // key: 'f14ja',
939
- // text: 'Put a gun against his head',
940
- // type: 'unstyled',
941
- // },
942
- // ],
943
- // entityMap: {},
893
+ // '@type': 'slate',
894
+ // plaintext: "Put a gun against his head",
895
+ // value: [
896
+ // {
897
+ // children: [
898
+ // {
899
+ // text: "Put a gun against his head",
944
900
  // },
945
- // },
901
+ // ],
902
+ // type: 'p',
903
+ // },
904
+ // ],
905
+ // },
946
906
  // },
947
907
  // blocks_layout: {
948
908
  // items: ['ff02a375-2be1-4a43-b758-dbb1fae8fa71'],
@@ -956,22 +916,19 @@ const mock_mandatory = {
956
916
  // motivo_stato_servizio: {
957
917
  // blocks: {
958
918
  // 'c19f982c-ce7a-4050-aa60-65a92723db34': {
959
- // '@type': 'text',
960
- // text: {
961
- // blocks: [
962
- // {
963
- // data: {},
964
- // depth: 0,
965
- // entityRanges: [],
966
- // inlineStyleRanges: [],
967
- // key: '3d3cq',
968
- // text: 'Motivazione',
969
- // type: 'unstyled',
970
- // },
971
- // ],
972
- // entityMap: {},
919
+ // '@type': 'slate',
920
+ // plaintext: "Motivazione",
921
+ // value: [
922
+ // {
923
+ // children: [
924
+ // {
925
+ // text: "Motivazione",
973
926
  // },
974
- // },
927
+ // ],
928
+ // type: 'p',
929
+ // },
930
+ // ],
931
+ // },
975
932
  // },
976
933
  // blocks_layout: {
977
934
  // items: ['c19f982c-ce7a-4050-aa60-65a92723db34'],
@@ -998,22 +955,19 @@ const mock_mandatory = {
998
955
  // prenota_appuntamento: {
999
956
  // blocks: {
1000
957
  // 'e26f97de-e008-40a1-929f-315a362f7107': {
1001
- // '@type': 'text',
1002
- // text: {
1003
- // blocks: [
1004
- // {
1005
- // data: {},
1006
- // depth: 0,
1007
- // entityRanges: [],
1008
- // inlineStyleRanges: [],
1009
- // key: 'btarf',
1010
- // text: "Because I'm easy come, easy go",
1011
- // type: 'unstyled',
1012
- // },
1013
- // ],
1014
- // entityMap: {},
958
+ // '@type': 'slate',
959
+ // plaintext: "Because I'm easy come, easy go",
960
+ // value: [
961
+ // {
962
+ // children: [
963
+ // {
964
+ // text: "Because I'm easy come, easy go",
1015
965
  // },
1016
- // },
966
+ // ],
967
+ // type: 'p',
968
+ // },
969
+ // ],
970
+ // },
1017
971
  // },
1018
972
  // blocks_layout: {
1019
973
  // items: ['e26f97de-e008-40a1-929f-315a362f7107'],
@@ -1118,22 +1072,19 @@ const mock_mandatory = {
1118
1072
  // procedure_collegate: {
1119
1073
  // blocks: {
1120
1074
  // '3ab3b686-ab6e-4a85-bd7b-361e091c05b3': {
1121
- // '@type': 'text',
1122
- // text: {
1123
- // blocks: [
1124
- // {
1125
- // data: {},
1126
- // depth: 0,
1127
- // entityRanges: [],
1128
- // inlineStyleRanges: [],
1129
- // key: 'ba4oq',
1130
- // text: 'No escape from reality',
1131
- // type: 'unstyled',
1132
- // },
1133
- // ],
1134
- // entityMap: {},
1075
+ // '@type': 'slate',
1076
+ // plaintext: "No escape from reality",
1077
+ // value: [
1078
+ // {
1079
+ // children: [
1080
+ // {
1081
+ // text: "No escape from reality",
1135
1082
  // },
1136
- // },
1083
+ // ],
1084
+ // type: 'p',
1085
+ // },
1086
+ // ],
1087
+ // },
1137
1088
  // },
1138
1089
  // blocks_layout: {
1139
1090
  // items: ['3ab3b686-ab6e-4a85-bd7b-361e091c05b3'],
@@ -1175,8 +1126,19 @@ const mock_mandatory = {
1175
1126
  // canale_digitale: {
1176
1127
  // blocks: {
1177
1128
  // '33545c64-eadf-429d-9a20-0ab4451bbf2c': {
1178
- // '@type': 'text',
1179
- // },
1129
+ // '@type': 'slate',
1130
+ // plaintext: "",
1131
+ // value: [
1132
+ // {
1133
+ // children: [
1134
+ // {
1135
+ // text: "",
1136
+ // },
1137
+ // ],
1138
+ // type: 'p',
1139
+ // },
1140
+ // ],
1141
+ // },
1180
1142
  // },
1181
1143
  // blocks_layout: {
1182
1144
  // items: ['33545c64-eadf-429d-9a20-0ab4451bbf2c'],
@@ -1225,23 +1187,20 @@ const mock_mandatory = {
1225
1187
  // ],
1226
1188
  // ulteriori_informazioni: {
1227
1189
  // blocks: {
1228
- // '89f08a66-9c6a-4a30-86d8-d403475eba6e': {
1229
- // '@type': 'text',
1230
- // text: {
1231
- // blocks: [
1232
- // {
1233
- // data: {},
1234
- // depth: 0,
1235
- // entityRanges: [],
1236
- // inlineStyleRanges: [],
1237
- // key: '72f2h',
1238
- // text: 'pulled my trigger',
1239
- // type: 'unstyled',
1240
- // },
1241
- // ],
1242
- // entityMap: {},
1190
+ // '89f08a66-9c6a-4a30-86d8-d403475eba6e':{
1191
+ // '@type': 'slate',
1192
+ // plaintext: "pulled my trigger",
1193
+ // value: [
1194
+ // {
1195
+ // children: [
1196
+ // {
1197
+ // text: "pulled my trigger",
1243
1198
  // },
1244
- // },
1199
+ // ],
1200
+ // type: 'p',
1201
+ // },
1202
+ // ],
1203
+ // },
1245
1204
  // },
1246
1205
  // blocks_layout: {
1247
1206
  // items: ['89f08a66-9c6a-4a30-86d8-d403475eba6e'],
@@ -1252,22 +1211,19 @@ const mock_mandatory = {
1252
1211
  // vincoli: {
1253
1212
  // blocks: {
1254
1213
  // 'b3206125-d0d6-474e-935e-09d28602beca': {
1255
- // '@type': 'text',
1256
- // text: {
1257
- // blocks: [
1258
- // {
1259
- // data: {},
1260
- // depth: 0,
1261
- // entityRanges: [],
1262
- // inlineStyleRanges: [],
1263
- // key: '2hlds',
1264
- // text: 'Little high, little low',
1265
- // type: 'unstyled',
1266
- // },
1267
- // ],
1268
- // entityMap: {},
1214
+ // '@type': 'slate',
1215
+ // plaintext: "Little high, little low",
1216
+ // value: [
1217
+ // {
1218
+ // children: [
1219
+ // {
1220
+ // text: "Little high, little low",
1269
1221
  // },
1270
- // },
1222
+ // ],
1223
+ // type: 'p',
1224
+ // },
1225
+ // ],
1226
+ // },
1271
1227
  // },
1272
1228
  // blocks_layout: {
1273
1229
  // items: ['b3206125-d0d6-474e-935e-09d28602beca'],
@@ -2099,21 +2055,18 @@ const store = mockStore({
2099
2055
  canale_digitale: {
2100
2056
  blocks: {
2101
2057
  '7bebaf7f-40fd-4274-82a4-59180e9dff0b': {
2102
- '@type': 'text',
2103
- text: {
2104
- blocks: [
2105
- {
2106
- data: {},
2107
- depth: 0,
2108
- entityRanges: [],
2109
- inlineStyleRanges: [],
2110
- key: '1e42l',
2111
- text: 'Open your eyes',
2112
- type: 'unstyled',
2113
- },
2114
- ],
2115
- entityMap: {},
2116
- },
2058
+ '@type': 'slate',
2059
+ plaintext: 'Open your eyes',
2060
+ value: [
2061
+ {
2062
+ children: [
2063
+ {
2064
+ text: 'Open yout eyes',
2065
+ },
2066
+ ],
2067
+ type: 'p',
2068
+ },
2069
+ ],
2117
2070
  },
2118
2071
  },
2119
2072
  blocks_layout: {
@@ -2195,21 +2148,18 @@ const store = mockStore({
2195
2148
  a_chi_si_rivolge: {
2196
2149
  blocks: {
2197
2150
  '2851114d-2489-4ea3-9b46-062cf6437418': {
2198
- '@type': 'text',
2199
- text: {
2200
- blocks: [
2201
- {
2202
- data: {},
2203
- depth: 0,
2204
- entityRanges: [],
2205
- inlineStyleRanges: [],
2206
- key: 'f5rrc',
2207
- text: 'Animaletti',
2208
- type: 'unstyled',
2209
- },
2210
- ],
2211
- entityMap: {},
2212
- },
2151
+ '@type': 'slate',
2152
+ plaintext: 'Animaletti',
2153
+ value: [
2154
+ {
2155
+ children: [
2156
+ {
2157
+ text: 'Animaletti',
2158
+ },
2159
+ ],
2160
+ type: 'p',
2161
+ },
2162
+ ],
2213
2163
  },
2214
2164
  },
2215
2165
  blocks_layout: {
@@ -2270,21 +2220,18 @@ const store = mockStore({
2270
2220
  canale_digitale: {
2271
2221
  blocks: {
2272
2222
  '7bebaf7f-40fd-4274-82a4-59180e9dff0b': {
2273
- '@type': 'text',
2274
- text: {
2275
- blocks: [
2276
- {
2277
- data: {},
2278
- depth: 0,
2279
- entityRanges: [],
2280
- inlineStyleRanges: [],
2281
- key: '1e42l',
2282
- text: 'Open your eyes',
2283
- type: 'unstyled',
2284
- },
2285
- ],
2286
- entityMap: {},
2287
- },
2223
+ '@type': 'slate',
2224
+ plaintext: 'Open your eyes',
2225
+ value: [
2226
+ {
2227
+ children: [
2228
+ {
2229
+ text: 'Open your eyes',
2230
+ },
2231
+ ],
2232
+ type: 'p',
2233
+ },
2234
+ ],
2288
2235
  },
2289
2236
  },
2290
2237
  blocks_layout: {
@@ -2467,21 +2414,18 @@ const store = mockStore({
2467
2414
  casi_particolari: {
2468
2415
  blocks: {
2469
2416
  '02eda6cd-04cf-471e-b002-a0759264c4d9': {
2470
- '@type': 'text',
2471
- text: {
2472
- blocks: [
2473
- {
2474
- data: {},
2475
- depth: 0,
2476
- entityRanges: [],
2477
- inlineStyleRanges: [],
2478
- key: '743f8',
2479
- text: 'Mama, Just killed a man',
2480
- type: 'unstyled',
2481
- },
2482
- ],
2483
- entityMap: {},
2484
- },
2417
+ '@type': 'slate',
2418
+ plaintext: 'Mamama, Just killed a man',
2419
+ value: [
2420
+ {
2421
+ children: [
2422
+ {
2423
+ text: 'Mama, Just killed a man',
2424
+ },
2425
+ ],
2426
+ type: 'p',
2427
+ },
2428
+ ],
2485
2429
  },
2486
2430
  },
2487
2431
  blocks_layout: {
@@ -2492,21 +2436,18 @@ const store = mockStore({
2492
2436
  chi_puo_presentare: {
2493
2437
  blocks: {
2494
2438
  '3e317fff-a0a6-49c8-85a6-8d415fbc3568': {
2495
- '@type': 'text',
2496
- text: {
2497
- blocks: [
2498
- {
2499
- data: {},
2500
- depth: 0,
2501
- entityRanges: [],
2502
- inlineStyleRanges: [],
2503
- key: '5gmg4',
2504
- text: 'Is this just fantasy?',
2505
- type: 'unstyled',
2506
- },
2507
- ],
2508
- entityMap: {},
2509
- },
2439
+ '@type': 'slate',
2440
+ plaintext: 'Is this just fantasy?',
2441
+ value: [
2442
+ {
2443
+ children: [
2444
+ {
2445
+ text: 'Is this just fantasy?',
2446
+ },
2447
+ ],
2448
+ type: 'p',
2449
+ },
2450
+ ],
2510
2451
  },
2511
2452
  },
2512
2453
  blocks_layout: {
@@ -2517,21 +2458,18 @@ const store = mockStore({
2517
2458
  come_si_fa: {
2518
2459
  blocks: {
2519
2460
  'dd7c859c-8053-4c16-b753-161c438b32ce': {
2520
- '@type': 'text',
2521
- text: {
2522
- blocks: [
2523
- {
2524
- data: {},
2525
- depth: 0,
2526
- entityRanges: [],
2527
- inlineStyleRanges: [],
2528
- key: '1mlqd',
2529
- text: "There's a lady who's sure",
2530
- type: 'unstyled',
2531
- },
2532
- ],
2533
- entityMap: {},
2534
- },
2461
+ '@type': 'slate',
2462
+ plaintext: "There's a lady who's sure",
2463
+ value: [
2464
+ {
2465
+ children: [
2466
+ {
2467
+ text: "There's a lady who's sure",
2468
+ },
2469
+ ],
2470
+ type: 'p',
2471
+ },
2472
+ ],
2535
2473
  },
2536
2474
  },
2537
2475
  blocks_layout: {
@@ -2571,21 +2509,18 @@ const store = mockStore({
2571
2509
  copertura_geografica: {
2572
2510
  blocks: {
2573
2511
  'a04413ee-4676-41b4-9155-6310d8e6ad49': {
2574
- '@type': 'text',
2575
- text: {
2576
- blocks: [
2577
- {
2578
- data: {},
2579
- depth: 0,
2580
- entityRanges: [],
2581
- inlineStyleRanges: [],
2582
- key: 'em5i1',
2583
- text: 'Caught in a landside',
2584
- type: 'unstyled',
2585
- },
2586
- ],
2587
- entityMap: {},
2588
- },
2512
+ '@type': 'slate',
2513
+ plaintext: 'Caught in a landside',
2514
+ value: [
2515
+ {
2516
+ children: [
2517
+ {
2518
+ text: 'Caught in a landside',
2519
+ },
2520
+ ],
2521
+ type: 'p',
2522
+ },
2523
+ ],
2589
2524
  },
2590
2525
  },
2591
2526
  blocks_layout: {
@@ -2616,21 +2551,18 @@ const store = mockStore({
2616
2551
  cosa_serve: {
2617
2552
  blocks: {
2618
2553
  'acfa657c-fbab-45ee-859f-21bb62b7c661': {
2619
- '@type': 'text',
2620
- text: {
2621
- blocks: [
2622
- {
2623
- data: {},
2624
- depth: 0,
2625
- entityRanges: [],
2626
- inlineStyleRanges: [],
2627
- key: '2sdeq',
2628
- text: "And she's buying a stairway to heaven",
2629
- type: 'unstyled',
2630
- },
2631
- ],
2632
- entityMap: {},
2633
- },
2554
+ '@type': 'slate',
2555
+ plaintext: "And she's buying a stairway to heaven",
2556
+ value: [
2557
+ {
2558
+ children: [
2559
+ {
2560
+ text: "And she's buying a stairway to heaven",
2561
+ },
2562
+ ],
2563
+ type: 'p',
2564
+ },
2565
+ ],
2634
2566
  },
2635
2567
  },
2636
2568
  blocks_layout: {
@@ -2640,21 +2572,18 @@ const store = mockStore({
2640
2572
  cosa_si_ottiene: {
2641
2573
  blocks: {
2642
2574
  'bb4db7e4-0a27-41c9-8f34-512eff06aa86': {
2643
- '@type': 'text',
2644
- text: {
2645
- blocks: [
2646
- {
2647
- data: {},
2648
- depth: 0,
2649
- entityRanges: [],
2650
- inlineStyleRanges: [],
2651
- key: 'pru2',
2652
- text: 'All that glitters is gold',
2653
- type: 'unstyled',
2654
- },
2655
- ],
2656
- entityMap: {},
2657
- },
2575
+ '@type': 'slate',
2576
+ plaintext: 'All that glitters is gold',
2577
+ value: [
2578
+ {
2579
+ children: [
2580
+ {
2581
+ text: 'All that glitters is gold',
2582
+ },
2583
+ ],
2584
+ type: 'p',
2585
+ },
2586
+ ],
2658
2587
  },
2659
2588
  },
2660
2589
  blocks_layout: {
@@ -2664,21 +2593,18 @@ const store = mockStore({
2664
2593
  costi: {
2665
2594
  blocks: {
2666
2595
  'fb4ab549-4d60-4a24-a5c4-960e7151b28e': {
2667
- '@type': 'text',
2668
- text: {
2669
- blocks: [
2670
- {
2671
- data: {},
2672
- depth: 0,
2673
- entityRanges: [],
2674
- inlineStyleRanges: [],
2675
- key: 'foiq2',
2676
- text: '345',
2677
- type: 'unstyled',
2678
- },
2679
- ],
2680
- entityMap: {},
2681
- },
2596
+ '@type': 'slate',
2597
+ plaintext: '345',
2598
+ value: [
2599
+ {
2600
+ children: [
2601
+ {
2602
+ text: '345',
2603
+ },
2604
+ ],
2605
+ type: 'p',
2606
+ },
2607
+ ],
2682
2608
  },
2683
2609
  },
2684
2610
  blocks_layout: {
@@ -2691,21 +2617,18 @@ const store = mockStore({
2691
2617
  descrizione_estesa: {
2692
2618
  blocks: {
2693
2619
  '038eb313-2c32-4db4-adae-888197220fd9': {
2694
- '@type': 'text',
2695
- text: {
2696
- blocks: [
2697
- {
2698
- data: {},
2699
- depth: 0,
2700
- entityRanges: [],
2701
- inlineStyleRanges: [],
2702
- key: 'c0a5j',
2703
- text: 'Is this the real life?',
2704
- type: 'unstyled',
2705
- },
2706
- ],
2707
- entityMap: {},
2708
- },
2620
+ '@type': 'slate',
2621
+ plaintext: 'Is this the real life?',
2622
+ value: [
2623
+ {
2624
+ children: [
2625
+ {
2626
+ text: 'Is this the real life?',
2627
+ },
2628
+ ],
2629
+ type: 'p',
2630
+ },
2631
+ ],
2709
2632
  },
2710
2633
  },
2711
2634
  blocks_layout: {
@@ -2808,21 +2731,18 @@ const store = mockStore({
2808
2731
  dove_rivolgersi_extra: {
2809
2732
  blocks: {
2810
2733
  '894e9d1d-1c20-4ed6-a4d0-5e25adbfbd9c': {
2811
- '@type': 'text',
2812
- text: {
2813
- blocks: [
2814
- {
2815
- data: {},
2816
- depth: 0,
2817
- entityRanges: [],
2818
- inlineStyleRanges: [],
2819
- key: '8h4ue',
2820
- text: 'I need no sympathy',
2821
- type: 'unstyled',
2822
- },
2823
- ],
2824
- entityMap: {},
2825
- },
2734
+ '@type': 'slate',
2735
+ plaintext: 'I need no sympathy',
2736
+ value: [
2737
+ {
2738
+ children: [
2739
+ {
2740
+ text: 'I need no sympathy',
2741
+ },
2742
+ ],
2743
+ type: 'p',
2744
+ },
2745
+ ],
2826
2746
  },
2827
2747
  },
2828
2748
  blocks_layout: {
@@ -2964,21 +2884,18 @@ const store = mockStore({
2964
2884
  link_siti_esterni: {
2965
2885
  blocks: {
2966
2886
  'ff02a375-2be1-4a43-b758-dbb1fae8fa71': {
2967
- '@type': 'text',
2968
- text: {
2969
- blocks: [
2970
- {
2971
- data: {},
2972
- depth: 0,
2973
- entityRanges: [],
2974
- inlineStyleRanges: [],
2975
- key: 'f14ja',
2976
- text: 'Put a gun against his head',
2977
- type: 'unstyled',
2978
- },
2979
- ],
2980
- entityMap: {},
2981
- },
2887
+ '@type': 'slate',
2888
+ plaintext: 'Put a gun against his head',
2889
+ value: [
2890
+ {
2891
+ children: [
2892
+ {
2893
+ text: 'Put a gun against his head',
2894
+ },
2895
+ ],
2896
+ type: 'p',
2897
+ },
2898
+ ],
2982
2899
  },
2983
2900
  },
2984
2901
  blocks_layout: {
@@ -3002,21 +2919,18 @@ const store = mockStore({
3002
2919
  motivo_stato_servizio: {
3003
2920
  blocks: {
3004
2921
  'c19f982c-ce7a-4050-aa60-65a92723db34': {
3005
- '@type': 'text',
3006
- text: {
3007
- blocks: [
3008
- {
3009
- data: {},
3010
- depth: 0,
3011
- entityRanges: [],
3012
- inlineStyleRanges: [],
3013
- key: '3d3cq',
3014
- text: 'Motivazione',
3015
- type: 'unstyled',
3016
- },
3017
- ],
3018
- entityMap: {},
3019
- },
2922
+ '@type': 'slate',
2923
+ plaintext: 'Motivazione',
2924
+ value: [
2925
+ {
2926
+ children: [
2927
+ {
2928
+ text: 'Motivazione',
2929
+ },
2930
+ ],
2931
+ type: 'p',
2932
+ },
2933
+ ],
3020
2934
  },
3021
2935
  },
3022
2936
  blocks_layout: {
@@ -3044,21 +2958,18 @@ const store = mockStore({
3044
2958
  prenota_appuntamento: {
3045
2959
  blocks: {
3046
2960
  'e26f97de-e008-40a1-929f-315a362f7107': {
3047
- '@type': 'text',
3048
- text: {
3049
- blocks: [
3050
- {
3051
- data: {},
3052
- depth: 0,
3053
- entityRanges: [],
3054
- inlineStyleRanges: [],
3055
- key: 'btarf',
3056
- text: "Because I'm easy come, easy go",
3057
- type: 'unstyled',
3058
- },
3059
- ],
3060
- entityMap: {},
3061
- },
2961
+ '@type': 'slate',
2962
+ plaintext: "Because I'm easy come, easy go",
2963
+ value: [
2964
+ {
2965
+ children: [
2966
+ {
2967
+ text: "Because I'm easy come, easy go",
2968
+ },
2969
+ ],
2970
+ type: 'p',
2971
+ },
2972
+ ],
3062
2973
  },
3063
2974
  },
3064
2975
  blocks_layout: {
@@ -3165,21 +3076,18 @@ const store = mockStore({
3165
3076
  procedure_collegate: {
3166
3077
  blocks: {
3167
3078
  '3ab3b686-ab6e-4a85-bd7b-361e091c05b3': {
3168
- '@type': 'text',
3169
- text: {
3170
- blocks: [
3171
- {
3172
- data: {},
3173
- depth: 0,
3174
- entityRanges: [],
3175
- inlineStyleRanges: [],
3176
- key: 'ba4oq',
3177
- text: 'No escape from reality',
3178
- type: 'unstyled',
3179
- },
3180
- ],
3181
- entityMap: {},
3182
- },
3079
+ '@type': 'slate',
3080
+ plaintext: 'No escape from reality',
3081
+ value: [
3082
+ {
3083
+ children: [
3084
+ {
3085
+ text: 'No escape from reality',
3086
+ },
3087
+ ],
3088
+ type: 'p',
3089
+ },
3090
+ ],
3183
3091
  },
3184
3092
  },
3185
3093
  blocks_layout: {
@@ -3222,7 +3130,18 @@ const store = mockStore({
3222
3130
  canale_digitale: {
3223
3131
  blocks: {
3224
3132
  '33545c64-eadf-429d-9a20-0ab4451bbf2c': {
3225
- '@type': 'text',
3133
+ '@type': 'slate',
3134
+ plaintext: '',
3135
+ value: [
3136
+ {
3137
+ children: [
3138
+ {
3139
+ text: '',
3140
+ },
3141
+ ],
3142
+ type: 'p',
3143
+ },
3144
+ ],
3226
3145
  },
3227
3146
  },
3228
3147
  blocks_layout: {
@@ -3264,21 +3183,18 @@ const store = mockStore({
3264
3183
  tempi_e_scadenze: {
3265
3184
  blocks: {
3266
3185
  'e0c64130-00d4-4747-bc21-b58733cb1b7f': {
3267
- '@type': 'text',
3268
- text: {
3269
- blocks: [
3270
- {
3271
- data: {},
3272
- depth: 0,
3273
- entityRanges: [],
3274
- inlineStyleRanges: [],
3275
- key: 'b6mg7',
3276
- text: 'Dopodomani',
3277
- type: 'unstyled',
3278
- },
3279
- ],
3280
- entityMap: {},
3281
- },
3186
+ '@type': 'slate',
3187
+ plaintext: 'Dopodomani',
3188
+ value: [
3189
+ {
3190
+ children: [
3191
+ {
3192
+ text: 'Dopodomani',
3193
+ },
3194
+ ],
3195
+ type: 'p',
3196
+ },
3197
+ ],
3282
3198
  },
3283
3199
  },
3284
3200
  blocks_layout: {
@@ -3351,21 +3267,18 @@ const store = mockStore({
3351
3267
  ulteriori_informazioni: {
3352
3268
  blocks: {
3353
3269
  '89f08a66-9c6a-4a30-86d8-d403475eba6e': {
3354
- '@type': 'text',
3355
- text: {
3356
- blocks: [
3357
- {
3358
- data: {},
3359
- depth: 0,
3360
- entityRanges: [],
3361
- inlineStyleRanges: [],
3362
- key: '72f2h',
3363
- text: 'pulled my trigger',
3364
- type: 'unstyled',
3365
- },
3366
- ],
3367
- entityMap: {},
3368
- },
3270
+ '@type': 'slate',
3271
+ plaintext: 'pulled my trigger',
3272
+ value: [
3273
+ {
3274
+ children: [
3275
+ {
3276
+ text: 'pulled my trigger',
3277
+ },
3278
+ ],
3279
+ type: 'p',
3280
+ },
3281
+ ],
3369
3282
  },
3370
3283
  },
3371
3284
  blocks_layout: {
@@ -3377,21 +3290,18 @@ const store = mockStore({
3377
3290
  vincoli: {
3378
3291
  blocks: {
3379
3292
  'b3206125-d0d6-474e-935e-09d28602beca': {
3380
- '@type': 'text',
3381
- text: {
3382
- blocks: [
3383
- {
3384
- data: {},
3385
- depth: 0,
3386
- entityRanges: [],
3387
- inlineStyleRanges: [],
3388
- key: '2hlds',
3389
- text: 'Little high, little low',
3390
- type: 'unstyled',
3391
- },
3392
- ],
3393
- entityMap: {},
3394
- },
3293
+ '@type': 'slate',
3294
+ plaintext: 'Little high, little low',
3295
+ value: [
3296
+ {
3297
+ children: [
3298
+ {
3299
+ text: 'Little high, little low',
3300
+ },
3301
+ ],
3302
+ type: 'p',
3303
+ },
3304
+ ],
3395
3305
  },
3396
3306
  },
3397
3307
  blocks_layout: {