design-comuni-plone-theme 10.4.0 → 10.4.2
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.
- package/.eslintrc.js +1 -1
- package/CHANGELOG.md +39 -0
- package/RELEASE.md +18 -0
- package/error-503.html +52 -50
- package/package.json +40 -24
- package/publiccode.yml +2 -2
- package/src/actions/getDettagliProcedimento.js +1 -2
- package/src/components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate.jsx +108 -104
- package/src/components/ItaliaTheme/Blocks/Listing/CardWithSlideUpTextTemplate.jsx +8 -10
- package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Block.jsx +1 -7
- package/src/components/ItaliaTheme/Blocks/__tests__/Alert.test.jsx +1 -2
- package/src/components/ItaliaTheme/Blocks/__tests__/CardWithImage.test.jsx +1 -2
- package/src/components/ItaliaTheme/Header/HeaderSlim/UserLoggedMenu.jsx +0 -1
- package/src/components/ItaliaTheme/Icons/FontAwesomeIcon.jsx +2 -2
- package/src/components/ItaliaTheme/Pagination/PaginationItem.jsx +2 -8
- package/src/components/ItaliaTheme/Pagination/createPaginationItems/itemFactories.js +4 -4
- package/src/components/ItaliaTheme/Search/utils.js +5 -3
- package/src/components/ItaliaTheme/View/Commons/ContactsCard.jsx +4 -4
- package/src/components/ItaliaTheme/View/Commons/DownloadFileFormat.jsx +1 -0
- package/src/components/ItaliaTheme/View/__tests__/PersonaView.test.jsx +928 -932
- package/src/components/ItaliaTheme/manage/Widgets/TextEditorWidget.jsx +12 -8
- package/src/components/SelectInput/SelectInput.jsx +16 -21
- package/src/components/SelectInput/select-styles.css +1 -1
- package/src/config/Blocks/blocks.js +4 -3
- package/src/config/Blocks/listingVariations.js +4 -3
- package/src/config/Subsites/index.js +16 -16
- package/src/config/italiaConfig.js +6 -5
- package/src/customizations/volto/components/manage/Blocks/HeroImageLeft/Edit.jsx +31 -26
- package/src/customizations/volto/components/manage/Blocks/Listing/ListingBody.jsx +2 -2
- package/src/customizations/volto/components/manage/Blocks/Listing/withQuerystringResults.jsx +6 -6
- package/src/customizations/volto/components/manage/Blocks/Search/components/CheckboxFacet.jsx +2 -2
- package/src/customizations/volto/components/manage/Blocks/Search/components/FilterList.jsx +15 -20
- package/src/customizations/volto/components/manage/Blocks/Search/components/ToggleFacetFilterListEntry.jsx +2 -9
- package/src/customizations/volto/components/manage/Diff/DiffField.jsx +2 -9
- package/src/customizations/volto/components/manage/Sidebar/ObjectBrowserBody.jsx +10 -10
- package/src/customizations/volto/components/manage/Widgets/DatetimeWidget.jsx +4 -10
- package/src/customizations/volto/components/manage/Widgets/ObjectBrowserWidget.jsx +2 -9
- package/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +2 -2
- package/src/customizations/volto/helpers/FormValidation/FormValidation.js +7 -6
- package/src/customizations/volto/helpers/Html/Html.jsx +2 -2
- package/src/customizations/volto/middleware/api.js +194 -190
- package/src/customizations/volto/middleware/blacklistRoutes.js +36 -34
- package/src/helpers/dates.js +2 -2
- package/src/theme/ItaliaTheme/Addons/volto-gdpr-privacy.scss +12 -5
- package/src/theme/ItaliaTheme/Blocks/_accordion.scss +2 -0
- package/src/theme/ItaliaTheme/Blocks/_alert.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +6 -1
- package/src/theme/ItaliaTheme/Blocks/_calendar.scss +8 -6
- package/src/theme/ItaliaTheme/Blocks/_cardWithImageAndInEvidence.scss +7 -7
- package/src/theme/ItaliaTheme/Blocks/_cardWithSlideUpTextTemplate.scss +5 -4
- package/src/theme/ItaliaTheme/Blocks/_completeBlockLinkstemplate.scss +4 -2
- package/src/theme/ItaliaTheme/Blocks/_countdown.scss +2 -2
- package/src/theme/ItaliaTheme/Blocks/_ctaBlock.scss +7 -5
- package/src/theme/ItaliaTheme/Blocks/_gridBlock.scss +8 -3
- package/src/theme/ItaliaTheme/Blocks/_gridGalleryTemplate.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_hero.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_iconBlocks.scss +2 -2
- package/src/theme/ItaliaTheme/Blocks/_imageBlock.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_listing.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_photogallerytemplate.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_ribbonCardTemplate.scss +5 -4
- package/src/theme/ItaliaTheme/Blocks/_rssBlock.scss +3 -2
- package/src/theme/ItaliaTheme/Blocks/_search.scss +72 -36
- package/src/theme/ItaliaTheme/Blocks/_searchSections.scss +4 -3
- package/src/theme/ItaliaTheme/Blocks/_simpleCardTemplate.scss +6 -3
- package/src/theme/ItaliaTheme/Blocks/_sliderTemplate.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_smallblockLinkstemplate.scss +3 -3
- package/src/theme/ItaliaTheme/Blocks/_subblocks-edit.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_tableOfContents.scss +17 -7
- package/src/theme/ItaliaTheme/Blocks/_video.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_videoGallery.scss +7 -6
- package/src/theme/ItaliaTheme/Components/_card.scss +14 -7
- package/src/theme/ItaliaTheme/Components/_cardPersona.scss +2 -2
- package/src/theme/ItaliaTheme/Components/_cmp-timeline.scss +16 -14
- package/src/theme/ItaliaTheme/Components/_contactsCard.scss +3 -3
- package/src/theme/ItaliaTheme/Components/_customerSatisfaction.scss +31 -11
- package/src/theme/ItaliaTheme/Components/_diffField.scss +25 -14
- package/src/theme/ItaliaTheme/Components/_galleryPreview.scss +10 -10
- package/src/theme/ItaliaTheme/Components/_mobileMenu.scss +1 -1
- package/src/theme/ItaliaTheme/Components/_navscroll.scss +2 -0
- package/src/theme/ItaliaTheme/Components/_pageHeader.scss +5 -4
- package/src/theme/ItaliaTheme/Components/_scrollToTop.scss +1 -0
- package/src/theme/ItaliaTheme/Components/_sharing.scss +1 -1
- package/src/theme/ItaliaTheme/Components/_sideMenu.scss +9 -5
- package/src/theme/ItaliaTheme/Components/_subsiteFooter.scss +1 -1
- package/src/theme/ItaliaTheme/Print/_all_pages.scss +5 -2
- package/src/theme/ItaliaTheme/Print/_bandi.scss +8 -8
- package/src/theme/ItaliaTheme/Print/_event.scss +11 -10
- package/src/theme/ItaliaTheme/Print/_news_items.scss +17 -17
- package/src/theme/ItaliaTheme/Print/_persona.scss +8 -8
- package/src/theme/ItaliaTheme/Print/_servizio.scss +8 -8
- package/src/theme/ItaliaTheme/Views/_bando.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_cartellaModulistica.scss +20 -8
- package/src/theme/ItaliaTheme/Views/_common.scss +4 -3
- package/src/theme/ItaliaTheme/Views/_embeddedVideo.scss +1 -1
- package/src/theme/ItaliaTheme/Views/_evento.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_faqFolder.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_paginaArgomento.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_puntoDiContatto.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_servizio.scss +4 -1
- package/src/theme/ItaliaTheme/Views/_slider.scss +3 -3
- package/src/theme/ItaliaTheme/Views/_trasparenzaView.scss +2 -0
- package/src/theme/ItaliaTheme/Views/_uo.scss +3 -1
- package/src/theme/ItaliaTheme/Views/_venue.scss +3 -2
- package/src/theme/ItaliaTheme/Widgets/_canaleDigitaleWidget.scss +2 -1
- package/src/theme/ItaliaTheme/Widgets/_dataGridWidget.scss +24 -8
- package/src/theme/ItaliaTheme/Widgets/_iconWidget.scss +1 -1
- package/src/theme/ItaliaTheme/_common.scss +9 -4
- package/src/theme/ItaliaTheme/_main.scss +11 -8
- package/src/theme/_cms-ui.scss +46 -23
- package/src/theme/_cms-ui_container.scss +8 -3
- package/src/theme/_site-variables.scss +4 -2
- package/src/theme/bootstrap-override/bootstrap-italia/_breadcrumb.scss +1 -1
- package/src/theme/bootstrap-override/bootstrap-italia/_footer.scss +9 -4
- package/src/theme/bootstrap-override/bootstrap-italia/_linklist.scss +2 -0
- package/src/theme/bootstrap-override/bootstrap-italia/_megamenu.scss +1 -0
- package/src/theme/bootstrap-override/bootstrap-italia/_point-list.scss +4 -3
- package/src/theme/extras/_checkbox.scss +1 -1
- package/src/theme/extras/_modals.scss +5 -3
- package/src/theme/extras/_search.scss +14 -4
- package/src/theme/extras/_sidebar.scss +3 -0
|
@@ -103,126 +103,130 @@ const BandiInEvidenceTemplate = ({
|
|
|
103
103
|
{show_description && listingText && (
|
|
104
104
|
<div className="bando-description">{listingText}</div>
|
|
105
105
|
)}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
</span>
|
|
123
|
-
)}
|
|
124
|
-
|
|
125
|
-
{/* Tipologia */}
|
|
126
|
-
{show_tipologia && item?.tipologia_bando && (
|
|
127
|
-
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
128
|
-
<div className="bando-dati-label me-2">
|
|
129
|
-
{intl.formatMessage(messages.tipologia)}:
|
|
130
|
-
</div>
|
|
131
|
-
<span className="bando-dati-date">
|
|
132
|
-
{item.tipologia_bando}
|
|
106
|
+
<div className="bando-lower-section">
|
|
107
|
+
<div className="bando-dati mb-2">
|
|
108
|
+
{/* Ente */}
|
|
109
|
+
{show_ente && item.ente_bando?.length > 0 && (
|
|
110
|
+
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
111
|
+
<div className="bando-dati-label me-2">
|
|
112
|
+
{intl.formatMessage(messages.ente)}:
|
|
113
|
+
</div>
|
|
114
|
+
<span className="bando-dati-date">
|
|
115
|
+
{item.ente_bando.map((ente, i) => (
|
|
116
|
+
<span>
|
|
117
|
+
{ente}
|
|
118
|
+
{i < item.ente_bando.length - 1 ? ', ' : ''}
|
|
119
|
+
</span>
|
|
120
|
+
))}
|
|
121
|
+
</span>
|
|
133
122
|
</span>
|
|
134
|
-
|
|
135
|
-
)}
|
|
123
|
+
)}
|
|
136
124
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
125
|
+
{/* Tipologia */}
|
|
126
|
+
{show_tipologia && item?.tipologia_bando && (
|
|
127
|
+
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
128
|
+
<div className="bando-dati-label me-2">
|
|
129
|
+
{intl.formatMessage(messages.tipologia)}:
|
|
130
|
+
</div>
|
|
131
|
+
<span className="bando-dati-date">
|
|
132
|
+
{item.tipologia_bando}
|
|
133
|
+
</span>
|
|
145
134
|
</span>
|
|
146
|
-
|
|
147
|
-
)}
|
|
135
|
+
)}
|
|
148
136
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
viewDate(
|
|
137
|
+
{/* Pubblicazione */}
|
|
138
|
+
{item.effective && (
|
|
139
|
+
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
140
|
+
<div className="bando-dati-label me-2">
|
|
141
|
+
{intl.formatMessage(messages.pubblicazione)}:
|
|
142
|
+
</div>
|
|
143
|
+
<span className="bando-dati-date">
|
|
144
|
+
{viewDate(
|
|
158
145
|
intl.locale,
|
|
159
|
-
item.
|
|
146
|
+
item.effective,
|
|
160
147
|
'DD-MM-YYYY',
|
|
161
148
|
)}
|
|
149
|
+
</span>
|
|
162
150
|
</span>
|
|
163
|
-
|
|
164
|
-
)}
|
|
151
|
+
)}
|
|
165
152
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
153
|
+
{/* Scadenza */}
|
|
154
|
+
{item.scadenza_bando && (
|
|
155
|
+
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
156
|
+
<div className="bando-dati-label me-2">
|
|
157
|
+
{intl.formatMessage(messages.scadenza)}:
|
|
158
|
+
</div>
|
|
159
|
+
<span className="bando-dati-date">
|
|
160
|
+
{item.scadenza_bando &&
|
|
161
|
+
viewDate(
|
|
162
|
+
intl.locale,
|
|
163
|
+
item.scadenza_bando,
|
|
164
|
+
'DD-MM-YYYY',
|
|
165
|
+
)}
|
|
166
|
+
</span>
|
|
179
167
|
</span>
|
|
180
|
-
|
|
181
|
-
)}
|
|
182
|
-
|
|
183
|
-
{/* Stato */}
|
|
184
|
-
{item?.bando_state?.length > 0 && (
|
|
185
|
-
<span className="d-flex align-items-baseline bando-dati-info">
|
|
186
|
-
<div className="bando-dati-label me-3">
|
|
187
|
-
{intl.formatMessage(messages.stato)}:
|
|
188
|
-
</div>
|
|
168
|
+
)}
|
|
189
169
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
'scheduled',
|
|
197
|
-
),
|
|
198
|
-
'in-progress': item.bando_state?.includes(
|
|
199
|
-
'inProgress',
|
|
200
|
-
),
|
|
201
|
-
})}
|
|
202
|
-
>
|
|
203
|
-
<BandoStatus content={item} />
|
|
170
|
+
{/* Chiusura procedimento */}
|
|
171
|
+
{item.chiusura_procedimento_bando && (
|
|
172
|
+
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
173
|
+
<div className="bando-dati-label me-2">
|
|
174
|
+
{intl.formatMessage(messages.chiusura_procedimento)}
|
|
175
|
+
:
|
|
204
176
|
</div>
|
|
177
|
+
<span className="bando-dati-date">
|
|
178
|
+
{item.chiusura_procedimento_bando &&
|
|
179
|
+
viewDate(
|
|
180
|
+
intl.locale,
|
|
181
|
+
item.chiusura_procedimento_bando,
|
|
182
|
+
'DD-MM-YYYY',
|
|
183
|
+
)}
|
|
184
|
+
</span>
|
|
205
185
|
</span>
|
|
206
|
-
|
|
207
|
-
)}
|
|
186
|
+
)}
|
|
208
187
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
188
|
+
{/* Stato */}
|
|
189
|
+
{item?.bando_state?.length > 0 && (
|
|
190
|
+
<span className="d-flex align-items-baseline bando-dati-info">
|
|
191
|
+
<div className="bando-dati-label me-3">
|
|
192
|
+
{intl.formatMessage(messages.stato)}:
|
|
193
|
+
</div>
|
|
194
|
+
|
|
195
|
+
<span className="bando-dati-date">
|
|
196
|
+
<div
|
|
197
|
+
className={cx('bando-state', {
|
|
198
|
+
open: item.bando_state?.includes('open'),
|
|
199
|
+
closed: item.bando_state?.includes('closed'),
|
|
200
|
+
scheduled:
|
|
201
|
+
item.bando_state?.includes('scheduled'),
|
|
202
|
+
'in-progress':
|
|
203
|
+
item.bando_state?.includes('inProgress'),
|
|
204
|
+
})}
|
|
205
|
+
>
|
|
206
|
+
<BandoStatus content={item} />
|
|
207
|
+
</div>
|
|
208
|
+
</span>
|
|
215
209
|
</span>
|
|
216
210
|
)}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
211
|
+
|
|
212
|
+
{/* Note aggiornamenti */}
|
|
213
|
+
{item.update_note &&
|
|
214
|
+
(item.bando_state?.includes('open') ||
|
|
215
|
+
item.bando_state?.includes('inProgress')) && (
|
|
216
|
+
<span className="d-flex bando-note">
|
|
217
|
+
<strong>{item.update_note}</strong>
|
|
218
|
+
</span>
|
|
219
|
+
)}
|
|
220
|
+
</div>
|
|
221
|
+
<div className="read-more">
|
|
222
|
+
<CardReadMore
|
|
223
|
+
iconName="it-arrow-right"
|
|
224
|
+
tag={UniversalLink}
|
|
225
|
+
item={!isEditMode ? item : null}
|
|
226
|
+
href={isEditMode ? '#' : null}
|
|
227
|
+
text={intl.formatMessage(messages.vedi)}
|
|
228
|
+
/>
|
|
229
|
+
</div>
|
|
226
230
|
</div>
|
|
227
231
|
</CardBody>
|
|
228
232
|
</Card>
|
|
@@ -93,16 +93,14 @@ const CardWithSlideUpTextTemplate = (props) => {
|
|
|
93
93
|
{show_description && item.description && (
|
|
94
94
|
<p>{item.description}</p>
|
|
95
95
|
)}
|
|
96
|
-
<
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/>
|
|
105
|
-
</div>
|
|
96
|
+
<CardReadMore
|
|
97
|
+
iconName="it-arrow-right"
|
|
98
|
+
tag={UniversalLink}
|
|
99
|
+
item={!isEditMode ? item : null}
|
|
100
|
+
href={isEditMode ? '#' : null}
|
|
101
|
+
text={intl.formatMessage(messages.vedi)}
|
|
102
|
+
className="justify-content-end"
|
|
103
|
+
/>
|
|
106
104
|
</div>
|
|
107
105
|
</UniversalLink>
|
|
108
106
|
);
|
|
@@ -52,13 +52,7 @@ const Block = ({
|
|
|
52
52
|
|
|
53
53
|
return (
|
|
54
54
|
<div className="simple-text-card-wrapper">
|
|
55
|
-
<Card
|
|
56
|
-
color="white"
|
|
57
|
-
className=" card-bg rounded"
|
|
58
|
-
noWrapper={false}
|
|
59
|
-
space
|
|
60
|
-
tag="div"
|
|
61
|
-
>
|
|
55
|
+
<Card color="white" className="no-after card-bg rounded" space tag="div">
|
|
62
56
|
<CardBody>
|
|
63
57
|
<div className={cx('simple-text-card', { 'cms-ui': inEditMode })}>
|
|
64
58
|
{inEditMode ? (
|