UNPKG

design-comuni-plone-theme

Version:
1,447 lines (1,442 loc) 107 kB
import React from 'react'; import { render, screen } from '@testing-library/react'; import '@testing-library/jest-dom/extend-expect'; import DocumentoView from '../DocumentoView/DocumentoView'; import configureStore from 'redux-mock-store'; import { Provider } from 'react-intl-redux'; import { MemoryRouter } from 'react-router-dom'; import thunk from 'redux-thunk'; const middlewares = [thunk]; const mockStore = configureStore(middlewares); // Warning: An update to Icon inside a test was not wrapped in act(...). // When testing, code that causes React state updates should be wrapped into act(...): jest.mock('design-comuni-plone-theme/components/ItaliaTheme/Icons/Icon'); jest.mock('@plone/volto/helpers/Loadable/Loadable'); beforeAll( async () => await require('@plone/volto/helpers/Loadable/Loadable').__setLoadables(), ); const mock_mandatory = { '@components': { actions: { '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@actions', }, aliases: { '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@aliases', }, breadcrumbs: { '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@breadcrumbs', }, contextnavigation: { '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@contextnavigation', }, navigation: { '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@navigation', }, subsite: {}, translations: { '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@translations', }, types: { '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@types', }, workflow: { '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@workflow', }, }, '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life', '@type': 'Documento', UID: '0a3c6d1073ee424597e3c4aa590abfa9', description: 'Is this just fantasy?', descrizione_estesa: { blocks: { '9ab23fba-09c6-4574-80fe-a52f6a0969fd': { '@type': 'text', text: { blocks: [ { data: {}, depth: 0, entityRanges: [], inlineStyleRanges: [], key: '9mh9q', text: 'Open your eyes', type: 'unstyled', }, ], entityMap: {}, }, }, }, blocks_layout: { items: ['9ab23fba-09c6-4574-80fe-a52f6a0969fd'], }, }, formati_disponibili: { blocks: { 'a5de5d87-f472-4745-ad5e-6ce4d119639a': { '@type': 'text', text: { blocks: [ { data: {}, depth: 0, entityRanges: [], inlineStyleRanges: [], key: '99esm', text: 'Caught in a landside', type: 'unstyled', }, ], entityMap: {}, }, }, }, blocks_layout: { items: ['a5de5d87-f472-4745-ad5e-6ce4d119639a'], }, }, items: [], tassonomia_argomenti: [ { '@id': 'http://localhost:3000/argomenti/vivere-la-citta', '@type': 'Pagina Argomento', description: '', design_italia_meta_type: 'Argomento', effective: null, has_children: false, id: 'vivere-la-citta', image_field: null, image_scales: null, review_state: 'private', title: 'Vivere la città', }, ], tipologia_documento: [ { title: 'Documenti albo pretorio', token: 'documenti_albo_pretorio', }, ], tipologia_licenze: { title: 'Licenza aperta', token: 'licenza_aperta', }, title: 'Is this the real life?', ufficio_responsabile: [ { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo', '@type': 'UnitaOrganizzativa', address: '', circoscrizione: '', city: 'Roma', contact_info: [], description: '', design_italia_meta_type: 'Unita Organizzativa', effective: null, geolocation: { latitude: 0, longitude: 0, }, has_children: true, id: 'assessorato-al-turismo', image_field: null, image_scales: null, nome_sede: '', quartiere: '', review_state: 'private', street: 'Via Roma 1', tipologia_organizzazione: { title: 'Struttura amministrativa', token: 'struttura_amministrativa', }, title: 'Assessorato al Turismo', zip_code: '00100', }, ], }; const mock_allfields = { ...mock_mandatory, allow_discussion: false, area_responsabile: [ { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio', '@type': 'UnitaOrganizzativa', address: '', circoscrizione: '', city: '', contact_info: [ { '@id': 'http://localhost:3000/amministrazione/punti-di-contatto/is-this-the-real-life', '@type': 'PuntoDiContatto', description: 'Is this just fantasy', design_italia_meta_type: 'Punto di Contatto', has_children: false, id: 'is-this-the-real-life', image_field: null, image_scales: null, review_state: 'private', title: 'Is this the real life', value_punto_contatto: [ { pdc_type: 'email', pdc_value: 'freddymercury@gmail.com', }, ], }, ], description: 'Pierced through the heart but never killed', design_italia_meta_type: 'Unita Organizzativa', effective: null, geolocation: { latitude: 0, longitude: 0, }, has_children: true, id: 'giunta-e-consiglio', image_field: null, image_scales: null, nome_sede: '', quartiere: '', review_state: 'private', street: '', tipologia_organizzazione: { title: 'Struttura amministrativa', token: 'struttura_amministrativa', }, title: 'Giunta e consiglio', zip_code: '', }, ], autori: [ { '@id': 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi', '@type': 'Persona', description: 'Assessore allo sport', design_italia_meta_type: 'Persona pubblica', effective: null, has_children: true, id: 'gabriele-bianchi', image_field: 'foto_persona', image_scales: { foto_persona: [ { 'content-type': 'image/jpeg', download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-5184-a0948b7d7c2e6ec2944ea4915f5d0c4f.jpeg', filename: 'national-cancer-institute.jpeg', height: 3456, scales: { gallery: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-250-d009f9ee6746d6ada973aeb0e99437eb.jpeg', height: 166, width: 250, }, great: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-1200-db22dc3240b650dc494ea6412e5c4e8c.jpeg', height: 800, width: 1200, }, huge: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-1600-1a281d1182b9422a0211cb7cc5e156f2.jpeg', height: 1066, width: 1600, }, icon: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-32-92c4797637f83c00ac27cba86b37cff5.jpeg', height: 21, width: 32, }, large: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-800-d85755d485e32d0a1deba313de75711b.jpeg', height: 533, width: 800, }, larger: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-1000-e88f96e2a0ed91917f9d728caf2d4406.jpeg', height: 666, width: 1000, }, listing: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-16-37154ce0fea872870103d5fae1a29f61.jpeg', height: 10, width: 16, }, midi: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-300-458fd003c0d1576f66035dbc1e8ab87e.jpeg', height: 200, width: 300, }, mini: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-200-830b17e7b02da4853b079bc80c1c4e34.jpeg', height: 133, width: 200, }, preview: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-400-f9e5f2efc8120f6e3351536b3f287196.jpeg', height: 266, width: 400, }, teaser: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-600-001ddce8166a4c8bb2839212f9fb2430.jpeg', height: 400, width: 600, }, thumb: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-128-d97983d9975606ed88ec6d2029e10ea9.jpeg', height: 85, width: 128, }, tile: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-64-f7765a9f78ff6e0725ebee3534a782c8.jpeg', height: 42, width: 64, }, }, size: 2026538, width: 5184, }, ], }, incarichi: 'Incarico di Gabriele Bianchi', review_state: 'private', title: 'Gabriele Bianchi', }, ], business_events: [ { title: 'Avvio impresa', token: 'avvio_impresa', }, ], changeNote: '', contributors: [], correlato_in_evidenza: [], created: '2023-02-15T13:13:58+00:00', creators: ['admin'], data_protocollo: '2023-02-15', dataset: [], descrizione_estesa: { blocks: { 'e7955b94-2359-4bcc-8af5-983961637cbe': { '@type': 'text', text: { blocks: [ { data: {}, depth: 0, entityRanges: [], inlineStyleRanges: [], key: '8nomj', text: "You don't really read into my melancholia", type: 'unstyled', }, ], entityMap: {}, }, }, }, blocks_layout: { items: ['e7955b94-2359-4bcc-8af5-983961637cbe'], }, }, design_italia_meta_type: 'Documento', documenti_allegati: [ { '@id': 'http://localhost:3000/documenti-e-dati/cartella-modulistica/prova', '@type': 'Documento', description: 'prova', design_italia_meta_type: 'Documento', effective: null, has_children: true, id: 'prova', image_field: null, image_scales: null, review_state: 'private', tipologia_documento: [ { title: 'Modulistica', token: 'modulistica', }, ], tipologia_licenze: { title: 'Licenza aperta␟Attribuzione', token: 'attribuzione', }, title: 'prova', }, ], effective: '2023-02-17T13:45:57+00:00', exclude_from_nav: false, expires: null, id: 'is-this-the-real-life', identificativo: 'Staring at the ceiling with you', image: { 'content-type': 'image/jpeg', download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-6240-51226dac133945973780f0975f4989c5.jpeg', filename: 'woman-having-online-meeting-work.jpg', height: 4160, scales: { gallery: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-250-0ad95c833e11876134d35f4264d0946f.jpeg', height: 166, width: 250, }, great: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-1200-fcc6efed66011ab5d85f5124985537e9.jpeg', height: 800, width: 1200, }, huge: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-1600-1501f8aba6d5cce3a3e582d1a52750b7.jpeg', height: 1066, width: 1600, }, icon: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-32-8586ac934a214d4325954bf886fb3861.jpeg', height: 21, width: 32, }, large: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-800-759e110ab8e3e94e11719e7fd99bf2fe.jpeg', height: 533, width: 800, }, larger: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-1000-5e709912b23feadf2237b15f6b20ee51.jpeg', height: 666, width: 1000, }, listing: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-16-451730a29bd86d15ae087852321a5b76.jpeg', height: 10, width: 16, }, midi: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-300-357c68da15bcc3e210493958a4a5c9cf.jpeg', height: 200, width: 300, }, mini: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-200-829e54d35ede7432559ac111c970d2b8.jpeg', height: 133, width: 200, }, preview: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-400-4cc3450335d541ec40f95a04f588138f.jpeg', height: 266, width: 400, }, teaser: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-600-ec6786a3e315f7ce099b8f086194addf.jpeg', height: 400, width: 600, }, thumb: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-128-7c2e6b8f6db804fdf0febab65f3d8fd3.jpeg', height: 85, width: 128, }, tile: { download: 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/@@images/image-64-f3548f4c0b56303e08baedf0ed53a107.jpeg', height: 42, width: 64, }, }, size: 1195679, width: 6240, }, image_caption: "You don't ever say too much", is_folderish: true, items: [ { '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life/multimedia', '@type': 'Document', description: '', design_italia_meta_type: 'Pagina', has_children: false, id: 'multimedia', image_field: '', image_scales: null, review_state: 'private', title: 'Multimedia', }, ], items_total: 1, language: { title: 'Italiano', token: 'it', }, layout: 'view', licenza_distribuzione: 'I need no sympathy', lock: { locked: false, stealable: true, }, modified: '2023-02-17T14:20:04+00:00', next_item: { '@id': 'http://localhost:3000/documenti-e-dati/is-this-the-real-life-1', '@type': 'Bando', description: '', title: 'Is this the real life?', }, opengraph_description: null, opengraph_image: null, opengraph_title: null, parent: { '@id': 'http://localhost:3000/documenti-e-dati', '@type': 'Document', description: 'Donec in consequat nunc. Duis semper fermentum lacus, ac condimentum justo auctor a. Nam erat erat, porta vel pharetra in, ullamcorper vel turpis.', design_italia_meta_type: 'Pagina', has_children: true, id: 'documenti-e-dati', image_field: null, image_scales: null, review_state: 'published', title: 'Documenti e dati', }, person_life_events: [ { title: 'Iscrizione Scuola/Università e/o richiesta borsa di studio', token: 'iscrizione_scuola_universita_richiesta_borsa_di_studio', }, ], preview_caption: null, preview_image: null, previous_item: { '@id': 'http://localhost:3000/documenti-e-dati/cartella-modulistica', '@type': 'CartellaModulistica', description: 'Is this the real life?', title: 'Cartella modulistica', }, protocollo: 'Open your eyes', relatedItems: [ { '@id': 'http://localhost:3000/servizi/visita-veterinaria-gratis', '@type': 'Servizio', business_events: [ { title: 'Avvio impresa', token: 'avvio_impresa', }, ], canale_digitale: { blocks: { '7bebaf7f-40fd-4274-82a4-59180e9dff0b': { '@type': 'text', text: { blocks: [ { data: {}, depth: 0, entityRanges: [], inlineStyleRanges: [], key: '1e42l', text: 'Open your eyes', type: 'unstyled', }, ], entityMap: {}, }, }, }, blocks_layout: { items: ['7bebaf7f-40fd-4274-82a4-59180e9dff0b'], }, }, description: 'Fai visitare il tuo cucciolo', design_italia_meta_type: 'Servizio', effective: null, has_children: true, id: 'visita-veterinaria-gratis', image_field: null, image_scales: null, parent_title: 'Servizi', parent_url: 'http://localhost:3000/servizi', person_life_events: [ { title: 'Possesso, cura, smarrimento animale da compagnia', token: 'possesso_cura_smarrimento_animale_da_compagnia', }, ], review_state: 'private', title: 'Visita veterinaria gratis', }, ], review_state: 'published', riferimenti_normativi: { blocks: { '0a6a038a-3152-4c49-8e63-5d268acf7200': { '@type': 'text', text: { blocks: [ { data: {}, depth: 0, entityRanges: [], inlineStyleRanges: [], key: 'fcbl7', text: "I've been under scrutiny", type: 'unstyled', }, ], entityMap: {}, }, }, }, blocks_layout: { items: ['0a6a038a-3152-4c49-8e63-5d268acf7200'], }, }, rights: '', seo_canonical_url: null, seo_description: null, seo_noindex: null, seo_title: null, servizi_collegati: [], subjects: [], tipologia_documenti_albopretorio: { title: 'Atto amministrativo » Decreto » Decreto del Sindaco', token: 'decreto_del_sindaco', }, ulteriori_informazioni: { blocks: { '66e3ee74-c7e5-4254-8640-af6585bd2f0d': { '@type': 'text', text: { blocks: [ { data: {}, depth: 0, entityRanges: [], inlineStyleRanges: [], key: '5mkl', text: 'You handed it beautifully', type: 'unstyled', }, ], entityMap: {}, }, }, }, blocks_layout: { items: ['66e3ee74-c7e5-4254-8640-af6585bd2f0d'], }, }, version: 'current', versioning_enabled: true, working_copy: null, working_copy_of: null, }; const store = mockStore({ intl: { locale: 'en', messages: {}, }, content: { subrequests: { '/amministrazione/uffici/assessorato-al-turismo_office': { loading: false, loaded: true, error: null, data: { '@components': { actions: { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@actions', }, aliases: { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@aliases', }, breadcrumbs: { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@breadcrumbs', }, contextnavigation: { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@contextnavigation', }, navigation: { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@navigation', }, subsite: {}, translations: { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@translations', }, types: { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@types', }, workflow: { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@workflow', }, }, '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo', '@type': 'UnitaOrganizzativa', UID: '95ac1dc413734d898716a74737d5c4f7', allow_discussion: false, assessore_riferimento: [], changeNote: '', competenze: { blocks: { 'abf3498b-f674-4478-a8f0-43ff8f0508eb': { '@type': 'text', }, }, blocks_layout: { items: ['abf3498b-f674-4478-a8f0-43ff8f0508eb'], }, }, contact_info: [], contributors: [], correlato_in_evidenza: [], created: '2023-01-04T10:18:55+00:00', creators: ['admin'], description: '', design_italia_meta_type: 'Unita Organizzativa', documenti_pubblici: [], effective: null, exclude_from_nav: false, expires: null, id: 'assessorato-al-turismo', image: { 'content-type': 'image/png', download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-1156-d9c0f21d70ab7a13641c0d4bde317b9d.png', filename: 'foto-ospedale.png', height: 940, scales: { gallery: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-250-d55c6b904794217bcf4c480891fb3c52.png', height: 203, width: 250, }, great: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-1200-c46ce86009dd5aa6363adb190479c618.png', height: 940, width: 1156, }, huge: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-1600-cca19a8f190285b2c257e8ac337c94c2.png', height: 940, width: 1156, }, icon: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-32-79de5088a8e50556f250764ff775c7eb.png', height: 26, width: 32, }, large: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-800-adc5b7b6abad469d061867136f85c259.png', height: 650, width: 800, }, larger: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-1000-917938c12d172de05c0882652787bc6d.png', height: 813, width: 1000, }, listing: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-16-4b375d9f156b2e79ebc93555c44f721f.png', height: 13, width: 16, }, midi: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-300-a87b4508335ac9ba8a34ca864a9d91b8.png', height: 243, width: 300, }, mini: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-200-67dcacb37ef025801410f9724a4fcdea.png', height: 162, width: 200, }, preview: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-400-7bbfbca56f2827e1e8ca904aef72b900.png', height: 325, width: 400, }, teaser: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-600-36913a0b6a60497044e47d168f32f312.png', height: 487, width: 600, }, thumb: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-128-629b5defa586c8ede07dd91b794ce1de.png', height: 104, width: 128, }, tile: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/image-64-a5a7125881b707e977d78161011580bc.png', height: 52, width: 64, }, }, size: 1296882, width: 1156, }, image_caption: null, is_folderish: true, items: [ { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/allegati', '@type': 'Document', description: '', design_italia_meta_type: 'Pagina', has_children: false, id: 'allegati', image_field: '', image_scales: null, review_state: 'private', title: 'Allegati', url: '/amministrazione/uffici/assessorato-al-turismo/allegati', }, ], items_total: 1, language: { title: 'Italiano', token: 'it', }, layout: 'view', legami_con_altre_strutture: [], lock: { locked: false, stealable: true, }, modified: '2023-01-19T12:04:48+00:00', next_item: { '@id': 'http://localhost:3000/amministrazione/uffici/ufficio-delle-attivita-produttive', '@type': 'PuntoDiContatto', description: '', title: 'Ufficio delle Attività Produttive', }, opengraph_description: null, opengraph_image: null, opengraph_title: null, orario_pubblico: { blocks: { '31c8cac0-bf3a-4bab-b1cb-dfb054780bae': { '@type': 'text', }, }, blocks_layout: { items: ['31c8cac0-bf3a-4bab-b1cb-dfb054780bae'], }, }, parent: { '@id': 'http://localhost:3000/amministrazione/uffici', '@type': 'Document', description: '', design_italia_meta_type: 'Pagina', has_children: true, id: 'uffici', image_field: null, image_scales: null, review_state: 'private', title: 'Uffici', }, persone_struttura: [], prestazioni: [], preview_caption: null, preview_image: { 'content-type': 'image/png', download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-1156-45f1e19cba3295029911cd44fb3d5343.png', filename: 'foto-ospedale.png', height: 940, scales: { gallery: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-250-8acdeef7b39164aff1c19c4abbb6186d.png', height: 203, width: 250, }, great: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-1200-c4f7ee4282a4ba3669492294dedf4a39.png', height: 940, width: 1156, }, huge: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-1600-c4b07d8ebf513b996941ac0abe23dd83.png', height: 940, width: 1156, }, icon: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-32-f79d626ef0b4ecb218fd5847eab3f251.png', height: 26, width: 32, }, large: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-800-16ca2e18b231f55efb9e9df5ef6097d8.png', height: 650, width: 800, }, larger: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-1000-54abdd3677c59a887d8e0a9433b6501e.png', height: 813, width: 1000, }, listing: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-16-b3d8cd80ca1dbb3f34a8306421e37236.png', height: 13, width: 16, }, midi: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-300-ea5eefa0d83669427c3bc4cfc36aa92b.png', height: 243, width: 300, }, mini: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-200-6c304fa57b43c928fce1315ac7fd8cb0.png', height: 162, width: 200, }, preview: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-400-357a07e9875ace5a0059e3cbe7dd5ec8.png', height: 325, width: 400, }, teaser: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-600-569962895206ae9dc2dfdd3f94d214aa.png', height: 487, width: 600, }, thumb: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-128-54adeb0580201df3353ecc72cb2de90e.png', height: 104, width: 128, }, tile: { download: 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo/@@images/preview_image-64-1420af5d9ba6191dae672acc9c0aee90.png', height: 52, width: 64, }, }, size: 1296882, width: 1156, }, previous_item: { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio', '@type': 'UnitaOrganizzativa', description: 'Pierced through the heart but never killed', title: 'Giunta e consiglio', }, relatedItems: [], related_news: [ { '@id': 'http://localhost:3000/novita/notizie/osservatorio-sul-turismo', '@type': 'News Item', description: 'Donec in consequat nunc. Duis semper fermentum lacus, ac condimentum justo auctor a. Nam erat erat, porta vel pharetra in, ullamcorper vel turpis.', design_italia_meta_type: null, effective: '2019-12-03T11:09:00+00:00', has_children: true, id: 'osservatorio-sul-turismo', image_field: 'preview_image', image_scales: { image: [ { 'content-type': 'image/png', download: '@@images/image-1156-23a6d691013f38eef4da7c9070b860d5.png', filename: 'foto-ospedale.png', height: 940, scales: { gallery: { download: '@@images/image-250-3f30dc5a4b324c2c81c729af40b7946a.png', height: 203, width: 250, }, icon: { download: '@@images/image-32-26f7b27a252798f783b662aa7e1cdb63.png', height: 26, width: 32, }, large: { download: '@@images/image-800-1b51f5a02768c18c02eb317738eee4a2.png', height: 650, width: 800, }, larger: { download: '@@images/image-1000-cd7ea607a71d3ffa94c5b612317bcfc2.png', height: 813, width: 1000, }, listing: { download: '@@images/image-16-45bfce0601794216b233cbf5615d4d1d.png', height: 13, width: 16, }, midi: { download: '@@images/image-300-3800583f32decd4246ffa329d0d934b6.png', height: 243, width: 300, }, mini: { download: '@@images/image-200-4592c49fa47d209224518c591edcd956.png', height: 162, width: 200, }, preview: { download: '@@images/image-400-948d0d5f2676802a905c31469aa0744d.png', height: 325, width: 400, }, teaser: { download: '@@images/image-600-8fe093861a4edcbf0ff7b79220b5e838.png', height: 487, width: 600, }, thumb: { download: '@@images/image-128-41b926e6735616e649d55d747c9c36a2.png', height: 104, width: 128, }, tile: { download: '@@images/image-64-aae52bf50eb77e0e934256a6974037a0.png', height: 52, width: 64, }, }, size: 1296882, width: 1156, }, ], preview_image: [ { 'content-type': 'image/png', download: '@@images/preview_image-1156-ec9dea8625d8a5dfeb472feeeaf2b569.png', filename: 'foto-ospedale.png', height: 940, scales: { gallery: { download: '@@images/preview_image-250-4b13c28cf0aca436a602cd984d040a69.png', height: 203, width: 250, }, icon: { download: '@@images/preview_image-32-cccba83547d44ee65113371774a6e9b2.png', height: 26, width: 32, }, large: { download: '@@images/preview_image-800-1c9b8e39510a6ef2bbe0806cc7c1818d.png', height: 650, width: 800, }, larger: { download: '@@images/preview_image-1000-be8bb924f3892cd2319c2e8a4503e850.png', height: 813, width: 1000, }, listing: { download: '@@images/preview_image-16-d93ca5f96a5a3c8a554475e267ea332e.png', height: 13, width: 16, }, midi: { download: '@@images/preview_image-300-b3daa8b10d5c2edf34e0378e811fc002.png', height: 243, width: 300, }, mini: { download: '@@images/preview_image-200-1e874d5503c99c483643f1ef72e02dac.png', height: 162, width: 200, }, preview: { download: '@@images/preview_image-400-27fb29056f75dbdab8252011dc243cd1.png', height: 325, width: 400, }, teaser: { download: '@@images/preview_image-600-967d14e77d8e5293d36c32ed24d2f908.png', height: 487, width: 600, }, thumb: { download: '@@images/preview_image-128-bcfbd8ee03a1e56a79ce1e557baec9ac.png', height: 104, width: 128, }, tile: { download: '@@images/preview_image-64-519a94460297b1ab1f06411fcec19842.png', height: 52, width: 64, }, }, size: 1296882, width: 1156, }, ], }, review_state: 'private', tipologia_notizia: [ { title: null, token: 'N', }, { title: null, token: 'o', }, { title: null, token: 't', }, { title: null, token: 'i', }, { title: null, token: 'z', }, { title: null, token: 'i', }, { title: null, token: 'a', }, ], title: 'Osservatorio sul turismo', typology: 'Notizia', }, ], responsabile: [], review_state: 'private', rights: '', sede: [], sedi_secondarie: [], seo_canonical_url: null, seo_description: null, seo_noindex: null, seo_title: null, servizi_offerti: [], subjects: [], tassonomia_argomenti: [], tipologia_organizzazione: { title: 'Struttura amministrativa', token: 'struttura_amministrativa', }, title: 'Assessorato al Turismo', ulteriori_informazioni: { blocks: { '832b6d4c-ac12-476a-87c4-247068d5ae85': { '@type': 'text', }, }, blocks_layout: { items: ['832b6d4c-ac12-476a-87c4-247068d5ae85'], }, }, uo_children: [], uo_parent: null, version: 'current', versioning_enabled: true, working_copy: null, working_copy_of: null, }, }, '/amministrazione/uffici/giunta-e-consiglio_office': { loading: false, loaded: true, error: null, data: { '@components': { actions: { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio/@actions', }, aliases: { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio/@aliases', }, breadcrumbs: { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio/@breadcrumbs', }, contextnavigation: { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio/@contextnavigation', }, navigation: { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio/@navigation', }, subsite: {}, translations: { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio/@translations', }, types: { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio/@types', }, workflow: { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio/@workflow', }, }, '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio', '@type': 'UnitaOrganizzativa', UID: '4b56678a54884616aa8b7cb230d27794', allow_discussion: false, assessore_riferimento: [], changeNote: '', competenze: { blocks: { '84a4a7af-5b14-4161-84c0-008b501a4dc7': { '@type': 'text', text: { blocks: [ { data: {}, depth: 0, entityRanges: [], inlineStyleRanges: [], key: '7srp8', text: 'Prova', type: 'unstyled', }, ], entityMap: {}, }, }, }, blocks_layout: { items: ['84a4a7af-5b14-4161-84c0-008b501a4dc7'], }, }, contact_info: [ { '@id': 'http://localhost:3000/amministrazione/punti-di-contatto/is-this-the-real-life', '@type': 'PuntoDiContatto', description: 'Is this just fantasy', design_italia_meta_type: 'Punto di Contatto', effective: null, has_children: false, id: 'is-this-the-real-life', image_field: null, image_scales: null, review_state: 'private', title: 'Is this the real life', value_punto_contatto: [ { pdc_type: 'email', pdc_value: 'freddymercury@gmail.com', }, ], }, ], contributors: [], correlato_in_evidenza: [], created: '2023-01-03T15:47:46+00:00', creators: ['admin'], description: 'Pierced through the heart but never killed', design_italia_meta_type: 'Unita Organizzativa', documenti_pubblici: [], effective: null, exclude_from_nav: false, expires: null, id: 'giunta-e-consiglio', image: null, image_caption: null, is_folderish: true, items: [ { '@id': 'http://localhost:3000/amministrazione/uffici/giunta-e-consiglio/allegati', '@type': 'Document', description: '', design_italia_meta_type: 'Pagina', has_children: false, id: 'allegati', image_field: '', image_scales: null, review_state: 'private', title: 'Allegati', url: '/amministrazione/uffici/giunta-e-consiglio/allegati', }, ], items_total: 1, language: { title: 'Italiano', token: 'it', }, layout: 'view', legami_con_altre_strutture: [], lock: { locked: false, stealable: true, }, modified: '2023-02-13T13:58:29+00:00', next_item: { '@id': 'http://localhost:3000/amministrazione/uffici/assessorato-al-turismo', '@type': 'UnitaOrganizzativa', description: '', title: 'Assessorato al Turismo', }, opengraph_description: null, opengraph_image: null, opengraph_title: null, orario_pubblico: { blocks: { 'fbe2077b-d934-437b-b5ac-894ad6901bbc': { '@type': 'text', }, }, blocks_layout: { items: ['fbe2077b-d934-437b-b5ac-894ad6901bbc'], }, }, parent: { '@id': 'http://localhost:3000/amministrazione/uffici', '@type': 'Document', description: '', design_italia_meta_type: 'Pagina', has_children: true, id: 'uffici', image_field: null, image_scales: null, review_state: 'private', title: 'Uffici', }, persone_struttura: [ { '@id': 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi', '@type': 'Persona', description: 'Assessore allo sport', design_italia_meta_type: 'Persona pubblica', effective: null, has_children: true, id: 'gabriele-bianchi', image_field: 'foto_persona', image_scales: { foto_persona: [ { 'content-type': 'image/jpeg', download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-5184-a0948b7d7c2e6ec2944ea4915f5d0c4f.jpeg', filename: 'national-cancer-institute.jpeg', height: 3456, scales: { gallery: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-250-d009f9ee6746d6ada973aeb0e99437eb.jpeg', height: 166, width: 250, }, great: { download: 'http://localhost:3000/amministrazione/personale-amministrativo/gabriele-bianchi/@@images/foto_persona-1200-db22dc3240b650dc494ea6412e5c4e8c.jpeg', height: 800, width: 1200, }, huge: { download: 'http://localhost:3000/amministrazione/personale