design-comuni-plone-theme 11.26.5 → 11.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/cache/{volto-feedback-npm-0.5.2-c3471099a1-48c0763678.zip → volto-feedback-npm-0.6.0-42c860b5c3-49addbf819.zip} +0 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +55 -0
- package/RELEASE.md +33 -0
- package/locales/de/LC_MESSAGES/volto.po +104 -0
- package/locales/en/LC_MESSAGES/volto.po +105 -1
- package/locales/es/LC_MESSAGES/volto.po +104 -0
- package/locales/fr/LC_MESSAGES/volto.po +104 -0
- package/locales/it/LC_MESSAGES/volto.po +104 -0
- package/locales/volto.pot +105 -1
- package/package.json +2 -2
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/Blocks/Accordion/Block/ViewBlock.jsx +1 -0
- package/src/components/ItaliaTheme/Blocks/Listing/CardWithImage/CardWithImageDefault.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/Listing/CardWithSlideUpTextTemplate.jsx +23 -14
- package/src/components/ItaliaTheme/Blocks/Listing/Commons/ListingImage.jsx +17 -4
- package/src/components/ItaliaTheme/Blocks/Listing/CompleteBlockLinksTemplate.jsx +0 -1
- package/src/components/ItaliaTheme/Blocks/Listing/ContentInEvidenceTemplate.jsx +0 -1
- package/src/components/ItaliaTheme/Blocks/Listing/GridGalleryTemplate.jsx +4 -3
- package/src/components/ItaliaTheme/Blocks/Listing/InEvidenceTemplate.jsx +0 -1
- package/src/components/ItaliaTheme/Blocks/__tests__/Accordion.test.jsx +0 -3
- package/src/components/ItaliaTheme/Cards/CardPersona.jsx +1 -1
- package/src/components/ItaliaTheme/CustomerSatisfaction/FeedbackForm.jsx +25 -6
- package/src/components/ItaliaTheme/Header/HeaderSearch/HeaderSearch.jsx +9 -1
- package/src/components/ItaliaTheme/Header/HeaderSearch/SearchModal.jsx +10 -1
- package/src/components/ItaliaTheme/Header/HeaderSlim/HeaderSlim.jsx +15 -2
- package/src/components/ItaliaTheme/Header/HeaderSlim/TertiaryMenu.jsx +1 -1
- package/src/components/ItaliaTheme/Header/ParentSiteMenu.jsx +14 -1
- package/src/components/ItaliaTheme/SkipLinks/SkipLinks.jsx +9 -1
- package/src/components/ItaliaTheme/View/BandoView/BandoView.jsx +19 -1
- package/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeader.jsx +3 -4
- package/src/components/ItaliaTheme/View/Commons/RelatedItemInEvidence/RelatedItemInEvidence.jsx +14 -1
- package/src/components/ItaliaTheme/View/Commons/RelatedItems.jsx +5 -1
- package/src/components/ItaliaTheme/View/Commons/SideMenu.jsx +10 -6
- package/src/components/ItaliaTheme/View/DocumentoView/DocumentoView.jsx +20 -1
- package/src/components/ItaliaTheme/View/EventoView/EventoView.jsx +20 -1
- package/src/components/ItaliaTheme/View/FAQ/FaqFolder/SearchBar.jsx +2 -0
- package/src/components/ItaliaTheme/View/NewsItemView/NewsItemView.jsx +19 -1
- package/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoViewNoBlocks.jsx +14 -1
- package/src/components/ItaliaTheme/View/PersonaView/PersonaDocumenti.jsx +57 -20
- package/src/components/ItaliaTheme/View/PersonaView/PersonaView.jsx +20 -1
- package/src/components/ItaliaTheme/View/ServizioView/ServizioView.jsx +19 -2
- package/src/components/ItaliaTheme/View/UOView/UOView.jsx +20 -1
- package/src/components/ItaliaTheme/View/VenueView/VenueView.jsx +24 -11
- package/src/components/SelectInput/SelectInput.jsx +2 -1
- package/src/components/TextInput.jsx +1 -0
- package/src/config/Blocks/ListingOptions/cardWithSlideUpTextTemplate.js +1 -6
- package/src/config/italiaConfig.js +23 -2
- package/src/customizations/volto/components/manage/Blocks/Search/SearchBlockView.jsx +20 -1
- package/src/customizations/volto/components/manage/Blocks/Search/layout/LeftColumnFacets.jsx +21 -17
- package/src/customizations/volto/components/manage/Blocks/Search/layout/RightColumnFacets.jsx +21 -17
- package/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +5 -2
- package/src/customizations/volto/components/theme/Footer/Footer.jsx +12 -5
- package/src/customizations/volto/components/theme/Navigation/Navigation.jsx +16 -2
- package/src/customizations/volto/helpers/FormValidation/FormValidation.js +8 -5
- package/src/customizations/volto-form-block/components/Field.jsx +7 -0
- package/src/customizations/volto-form-block/fieldSchema.js +345 -0
- package/src/overrideTranslations.jsx +4 -0
- package/src/theme/ItaliaTheme/Blocks/_cardWithImage.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_cardWithSlideUpTextTemplate.scss +10 -0
- package/src/theme/ItaliaTheme/Blocks/_search.scss +20 -2
- package/src/theme/ItaliaTheme/Components/_cardPersona.scss +2 -0
- package/src/theme/ItaliaTheme/Views/_servizio.scss +6 -0
- package/src/theme/ItaliaTheme/_ar.scss +3 -2
- package/src/theme/bootstrap-override/_bootstrap-italia-site.scss +1 -0
- package/src/theme/bootstrap-override/bootstrap-italia/_form-select.scss +17 -0
|
@@ -79,6 +79,199 @@ const messages = defineMessages({
|
|
|
79
79
|
defaultMessage:
|
|
80
80
|
'Check this box if the value entered in this field can be used only once.',
|
|
81
81
|
},
|
|
82
|
+
field_autocomplete: {
|
|
83
|
+
id: 'field_autocomplete',
|
|
84
|
+
defaultMessage: '"Autocomplete" attribute',
|
|
85
|
+
},
|
|
86
|
+
field_autocomplete_description: {
|
|
87
|
+
id: 'field_autocomplete_description',
|
|
88
|
+
defaultMessage:
|
|
89
|
+
'This field adds the "autocomplete" attribute to the field. This allows to fill in the field automatically with the user info, if stored. For a complete list of these attributes and their use, visit <a>this page</a>',
|
|
90
|
+
},
|
|
91
|
+
field_autocomplete_name_complete: {
|
|
92
|
+
id: 'field_autocomplete_name_complete',
|
|
93
|
+
defaultMessage: 'Full name',
|
|
94
|
+
},
|
|
95
|
+
field_autocomplete_honorific_prefix: {
|
|
96
|
+
id: 'field_autocomplete_honorific_prefix',
|
|
97
|
+
defaultMessage: 'Prefix (ex. mr, mrs)',
|
|
98
|
+
},
|
|
99
|
+
field_autocomplete_given_name: {
|
|
100
|
+
id: 'field_autocomplete_given_name',
|
|
101
|
+
defaultMessage: 'Given name',
|
|
102
|
+
},
|
|
103
|
+
field_autocomplete_additional_name: {
|
|
104
|
+
id: 'field_autocomplete_additional_name',
|
|
105
|
+
defaultMessage: 'Additional name',
|
|
106
|
+
},
|
|
107
|
+
field_autocomplete_family_name: {
|
|
108
|
+
id: 'field_autocomplete_family_name',
|
|
109
|
+
defaultMessage: 'Family name',
|
|
110
|
+
},
|
|
111
|
+
field_autocomplete_honorific_suffix: {
|
|
112
|
+
id: 'field_autocomplete_honorific_suffix',
|
|
113
|
+
defaultMessage: 'Suffix (ex. jr, sr)',
|
|
114
|
+
},
|
|
115
|
+
field_autocomplete_nickname: {
|
|
116
|
+
id: 'field_autocomplete_nickname',
|
|
117
|
+
defaultMessage: 'Nickname',
|
|
118
|
+
},
|
|
119
|
+
field_autocomplete_email: {
|
|
120
|
+
id: 'field_autocomplete_email',
|
|
121
|
+
defaultMessage: 'Email',
|
|
122
|
+
},
|
|
123
|
+
field_autocomplete_username: {
|
|
124
|
+
id: 'field_autocomplete_username',
|
|
125
|
+
defaultMessage: 'Username',
|
|
126
|
+
},
|
|
127
|
+
field_autocomplete_new_password: {
|
|
128
|
+
id: 'field_autocomplete_new_password',
|
|
129
|
+
defaultMessage: 'New password',
|
|
130
|
+
},
|
|
131
|
+
field_autocomplete_current_password: {
|
|
132
|
+
id: 'field_autocomplete_current_password',
|
|
133
|
+
defaultMessage: 'Current password',
|
|
134
|
+
},
|
|
135
|
+
field_autocomplete_organization_title: {
|
|
136
|
+
id: 'field_autocomplete_organization_title',
|
|
137
|
+
defaultMessage: 'Organization title',
|
|
138
|
+
},
|
|
139
|
+
field_autocomplete_organization: {
|
|
140
|
+
id: 'field_autocomplete_organization',
|
|
141
|
+
defaultMessage: 'Organization',
|
|
142
|
+
},
|
|
143
|
+
field_autocomplete_street_address: {
|
|
144
|
+
id: 'field_autocomplete_street_address',
|
|
145
|
+
defaultMessage: 'Street address',
|
|
146
|
+
},
|
|
147
|
+
field_autocomplete_address_line1: {
|
|
148
|
+
id: 'field_autocomplete_address_line1',
|
|
149
|
+
defaultMessage: 'Address line 1',
|
|
150
|
+
},
|
|
151
|
+
field_autocomplete_address_line2: {
|
|
152
|
+
id: 'field_autocomplete_address_line2',
|
|
153
|
+
defaultMessage: 'Address line 2',
|
|
154
|
+
},
|
|
155
|
+
field_autocomplete_address_line3: {
|
|
156
|
+
id: 'field_autocomplete_address_line3',
|
|
157
|
+
defaultMessage: 'Address line 3',
|
|
158
|
+
},
|
|
159
|
+
field_autocomplete_country: {
|
|
160
|
+
id: 'field_autocomplete_country',
|
|
161
|
+
defaultMessage: 'Country',
|
|
162
|
+
},
|
|
163
|
+
field_autocomplete_country_name: {
|
|
164
|
+
id: 'field_autocomplete_country_name',
|
|
165
|
+
defaultMessage: 'Country name',
|
|
166
|
+
},
|
|
167
|
+
field_autocomplete_postal_code: {
|
|
168
|
+
id: 'field_autocomplete_postal_code',
|
|
169
|
+
defaultMessage: 'Postal code',
|
|
170
|
+
},
|
|
171
|
+
field_autocomplete_cc_name: {
|
|
172
|
+
id: 'field_autocomplete_cc_name',
|
|
173
|
+
defaultMessage: 'Cardholder name',
|
|
174
|
+
},
|
|
175
|
+
field_autocomplete_cc_given_name: {
|
|
176
|
+
id: 'field_autocomplete_cc_given_name',
|
|
177
|
+
defaultMessage: 'Cardholder given name',
|
|
178
|
+
},
|
|
179
|
+
field_autocomplete_cc_additional_name: {
|
|
180
|
+
id: 'field_autocomplete_cc_additional_name',
|
|
181
|
+
defaultMessage: 'Cardholder additional name',
|
|
182
|
+
},
|
|
183
|
+
field_autocomplete_cc_family_name: {
|
|
184
|
+
id: 'field_autocomplete_cc_family_name',
|
|
185
|
+
defaultMessage: 'Cardholder family name',
|
|
186
|
+
},
|
|
187
|
+
field_autocomplete_cc_number: {
|
|
188
|
+
id: 'field_autocomplete_cc_number',
|
|
189
|
+
defaultMessage: 'Credit card number',
|
|
190
|
+
},
|
|
191
|
+
field_autocomplete_cc_exp: {
|
|
192
|
+
id: 'field_autocomplete_cc_exp',
|
|
193
|
+
defaultMessage: 'Credit card expiration date',
|
|
194
|
+
},
|
|
195
|
+
field_autocomplete_cc_exp_month: {
|
|
196
|
+
id: 'field_autocomplete_cc_exp_month',
|
|
197
|
+
defaultMessage: 'Credit card expiration month',
|
|
198
|
+
},
|
|
199
|
+
field_autocomplete_cc_exp_year: {
|
|
200
|
+
id: 'field_autocomplete_cc_exp_year',
|
|
201
|
+
defaultMessage: 'Credit card expiration year',
|
|
202
|
+
},
|
|
203
|
+
field_autocomplete_cc_csc: {
|
|
204
|
+
id: 'field_autocomplete_cc_csc',
|
|
205
|
+
defaultMessage: 'Credit card security code',
|
|
206
|
+
},
|
|
207
|
+
field_autocomplete_cc_type: {
|
|
208
|
+
id: 'field_autocomplete_cc_type',
|
|
209
|
+
defaultMessage: 'Credit card type',
|
|
210
|
+
},
|
|
211
|
+
field_autocomplete_transaction_currency: {
|
|
212
|
+
id: 'field_autocomplete_transaction_currency',
|
|
213
|
+
defaultMessage: 'Transaction currency',
|
|
214
|
+
},
|
|
215
|
+
field_autocomplete_transaction_amount: {
|
|
216
|
+
id: 'field_autocomplete_transaction_amount',
|
|
217
|
+
defaultMessage: 'Transaction amount',
|
|
218
|
+
},
|
|
219
|
+
field_autocomplete_language: {
|
|
220
|
+
id: 'field_autocomplete_language',
|
|
221
|
+
defaultMessage: 'Language',
|
|
222
|
+
},
|
|
223
|
+
field_autocomplete_bday: {
|
|
224
|
+
id: 'field_autocomplete_bday',
|
|
225
|
+
defaultMessage: 'Birthday',
|
|
226
|
+
},
|
|
227
|
+
field_autocomplete_bday_day: {
|
|
228
|
+
id: 'field_autocomplete_bday_day',
|
|
229
|
+
defaultMessage: 'Birth day',
|
|
230
|
+
},
|
|
231
|
+
field_autocomplete_bday_month: {
|
|
232
|
+
id: 'field_autocomplete_bday_month',
|
|
233
|
+
defaultMessage: 'Birth month',
|
|
234
|
+
},
|
|
235
|
+
field_autocomplete_bday_year: {
|
|
236
|
+
id: 'field_autocomplete_bday_year',
|
|
237
|
+
defaultMessage: 'Birth year',
|
|
238
|
+
},
|
|
239
|
+
field_autocomplete_sex: {
|
|
240
|
+
id: 'field_autocomplete_sex',
|
|
241
|
+
defaultMessage: 'Gender',
|
|
242
|
+
},
|
|
243
|
+
field_autocomplete_tel: {
|
|
244
|
+
id: 'field_autocomplete_tel',
|
|
245
|
+
defaultMessage: 'Telephone number',
|
|
246
|
+
},
|
|
247
|
+
field_autocomplete_tel_country_code: {
|
|
248
|
+
id: 'field_autocomplete_tel_country_code',
|
|
249
|
+
defaultMessage: 'Telephone country code',
|
|
250
|
+
},
|
|
251
|
+
field_autocomplete_tel_national: {
|
|
252
|
+
id: 'field_autocomplete_tel_national',
|
|
253
|
+
defaultMessage: 'National telephone number',
|
|
254
|
+
},
|
|
255
|
+
field_autocomplete_tel_area_code: {
|
|
256
|
+
id: 'field_autocomplete_tel_area_code',
|
|
257
|
+
defaultMessage: 'Telephone area code',
|
|
258
|
+
},
|
|
259
|
+
field_autocomplete_tel_local: {
|
|
260
|
+
id: 'field_autocomplete_tel_local',
|
|
261
|
+
defaultMessage: 'Local telephone number',
|
|
262
|
+
},
|
|
263
|
+
field_autocomplete_tel_extension: {
|
|
264
|
+
id: 'field_autocomplete_tel_extension',
|
|
265
|
+
defaultMessage: 'Telephone extension',
|
|
266
|
+
},
|
|
267
|
+
field_autocomplete_url: {
|
|
268
|
+
id: 'field_autocomplete_url',
|
|
269
|
+
defaultMessage: 'Website URL',
|
|
270
|
+
},
|
|
271
|
+
field_autocomplete_photo: {
|
|
272
|
+
id: 'field_autocomplete_photo',
|
|
273
|
+
defaultMessage: 'Photo',
|
|
274
|
+
},
|
|
82
275
|
});
|
|
83
276
|
|
|
84
277
|
export default (props) => {
|
|
@@ -99,6 +292,132 @@ export default (props) => {
|
|
|
99
292
|
['static_text', intl.formatMessage(messages.field_type_static_text)],
|
|
100
293
|
['hidden', intl.formatMessage(messages.field_type_hidden)],
|
|
101
294
|
];
|
|
295
|
+
|
|
296
|
+
const autocompleteValues = [
|
|
297
|
+
['name', intl.formatMessage(messages.field_autocomplete_name_complete)],
|
|
298
|
+
[
|
|
299
|
+
'honorific-prefix',
|
|
300
|
+
intl.formatMessage(messages.field_autocomplete_honorific_prefix),
|
|
301
|
+
],
|
|
302
|
+
['given-name', intl.formatMessage(messages.field_autocomplete_given_name)],
|
|
303
|
+
[
|
|
304
|
+
'additional-name',
|
|
305
|
+
intl.formatMessage(messages.field_autocomplete_additional_name),
|
|
306
|
+
],
|
|
307
|
+
[
|
|
308
|
+
'family-name',
|
|
309
|
+
intl.formatMessage(messages.field_autocomplete_family_name),
|
|
310
|
+
],
|
|
311
|
+
[
|
|
312
|
+
'honorific-suffix',
|
|
313
|
+
intl.formatMessage(messages.field_autocomplete_honorific_suffix),
|
|
314
|
+
],
|
|
315
|
+
['nickname', intl.formatMessage(messages.field_autocomplete_nickname)],
|
|
316
|
+
['email', intl.formatMessage(messages.field_autocomplete_email)],
|
|
317
|
+
['username', intl.formatMessage(messages.field_autocomplete_username)],
|
|
318
|
+
[
|
|
319
|
+
'new-password',
|
|
320
|
+
intl.formatMessage(messages.field_autocomplete_new_password),
|
|
321
|
+
],
|
|
322
|
+
[
|
|
323
|
+
'current-password',
|
|
324
|
+
intl.formatMessage(messages.field_autocomplete_current_password),
|
|
325
|
+
],
|
|
326
|
+
[
|
|
327
|
+
'organization-title',
|
|
328
|
+
intl.formatMessage(messages.field_autocomplete_organization_title),
|
|
329
|
+
],
|
|
330
|
+
|
|
331
|
+
[
|
|
332
|
+
'organization',
|
|
333
|
+
intl.formatMessage(messages.field_autocomplete_organization),
|
|
334
|
+
],
|
|
335
|
+
[
|
|
336
|
+
'street-address',
|
|
337
|
+
intl.formatMessage(messages.field_autocomplete_street_address),
|
|
338
|
+
],
|
|
339
|
+
[
|
|
340
|
+
'address-line1',
|
|
341
|
+
intl.formatMessage(messages.field_autocomplete_address_line1),
|
|
342
|
+
],
|
|
343
|
+
[
|
|
344
|
+
'address-line2',
|
|
345
|
+
intl.formatMessage(messages.field_autocomplete_address_line2),
|
|
346
|
+
],
|
|
347
|
+
[
|
|
348
|
+
'address-line3',
|
|
349
|
+
intl.formatMessage(messages.field_autocomplete_address_line3),
|
|
350
|
+
],
|
|
351
|
+
['country', intl.formatMessage(messages.field_autocomplete_country)],
|
|
352
|
+
[
|
|
353
|
+
'country-name',
|
|
354
|
+
intl.formatMessage(messages.field_autocomplete_country_name),
|
|
355
|
+
],
|
|
356
|
+
[
|
|
357
|
+
'postal-code',
|
|
358
|
+
intl.formatMessage(messages.field_autocomplete_postal_code),
|
|
359
|
+
],
|
|
360
|
+
['cc-name', intl.formatMessage(messages.field_autocomplete_cc_name)],
|
|
361
|
+
[
|
|
362
|
+
'cc-given-name',
|
|
363
|
+
intl.formatMessage(messages.field_autocomplete_cc_given_name),
|
|
364
|
+
],
|
|
365
|
+
[
|
|
366
|
+
'cc-additional-name',
|
|
367
|
+
intl.formatMessage(messages.field_autocomplete_cc_additional_name),
|
|
368
|
+
],
|
|
369
|
+
[
|
|
370
|
+
'cc-family-name',
|
|
371
|
+
intl.formatMessage(messages.field_autocomplete_cc_family_name),
|
|
372
|
+
],
|
|
373
|
+
['cc-number', intl.formatMessage(messages.field_autocomplete_cc_number)],
|
|
374
|
+
['cc-exp', intl.formatMessage(messages.field_autocomplete_cc_exp)],
|
|
375
|
+
[
|
|
376
|
+
'cc-exp-month',
|
|
377
|
+
intl.formatMessage(messages.field_autocomplete_cc_exp_month),
|
|
378
|
+
],
|
|
379
|
+
[
|
|
380
|
+
'cc-exp-year',
|
|
381
|
+
intl.formatMessage(messages.field_autocomplete_cc_exp_year),
|
|
382
|
+
],
|
|
383
|
+
['cc-csc', intl.formatMessage(messages.field_autocomplete_cc_csc)],
|
|
384
|
+
['cc-type', intl.formatMessage(messages.field_autocomplete_cc_type)],
|
|
385
|
+
[
|
|
386
|
+
'transaction-currency',
|
|
387
|
+
intl.formatMessage(messages.field_autocomplete_transaction_currency),
|
|
388
|
+
],
|
|
389
|
+
[
|
|
390
|
+
'transaction-amount',
|
|
391
|
+
intl.formatMessage(messages.field_autocomplete_transaction_amount),
|
|
392
|
+
],
|
|
393
|
+
['language', intl.formatMessage(messages.field_autocomplete_language)],
|
|
394
|
+
['bday', intl.formatMessage(messages.field_autocomplete_bday)],
|
|
395
|
+
['bday-day', intl.formatMessage(messages.field_autocomplete_bday_day)],
|
|
396
|
+
['bday-month', intl.formatMessage(messages.field_autocomplete_bday_month)],
|
|
397
|
+
['bday-year', intl.formatMessage(messages.field_autocomplete_bday_year)],
|
|
398
|
+
['sex', intl.formatMessage(messages.field_autocomplete_sex)],
|
|
399
|
+
['tel', intl.formatMessage(messages.field_autocomplete_tel)],
|
|
400
|
+
[
|
|
401
|
+
'tel-country-code',
|
|
402
|
+
intl.formatMessage(messages.field_autocomplete_tel_country_code),
|
|
403
|
+
],
|
|
404
|
+
[
|
|
405
|
+
'tel-national',
|
|
406
|
+
intl.formatMessage(messages.field_autocomplete_tel_national),
|
|
407
|
+
],
|
|
408
|
+
[
|
|
409
|
+
'tel-area-code',
|
|
410
|
+
intl.formatMessage(messages.field_autocomplete_tel_area_code),
|
|
411
|
+
],
|
|
412
|
+
['tel-local', intl.formatMessage(messages.field_autocomplete_tel_local)],
|
|
413
|
+
[
|
|
414
|
+
'tel-extension',
|
|
415
|
+
intl.formatMessage(messages.field_autocomplete_tel_extension),
|
|
416
|
+
],
|
|
417
|
+
['url', intl.formatMessage(messages.field_autocomplete_url)],
|
|
418
|
+
['photo', intl.formatMessage(messages.field_autocomplete_photo)],
|
|
419
|
+
];
|
|
420
|
+
|
|
102
421
|
var attachmentDescription =
|
|
103
422
|
props?.field_type === 'attachment'
|
|
104
423
|
? {
|
|
@@ -125,6 +444,13 @@ export default (props) => {
|
|
|
125
444
|
'description',
|
|
126
445
|
'field_type',
|
|
127
446
|
...schemaExtenderValues.fields,
|
|
447
|
+
...(props?.field_type !== 'checkbox' &&
|
|
448
|
+
props?.field_type !== 'attachment' &&
|
|
449
|
+
props?.field_type !== 'single_choice' &&
|
|
450
|
+
props?.field_type !== 'multiple_choice' &&
|
|
451
|
+
props?.field_type !== 'static_text'
|
|
452
|
+
? ['autocomplete']
|
|
453
|
+
: []),
|
|
128
454
|
...(props?.field_type === 'static_text' ? [] : ['required']),
|
|
129
455
|
'unique',
|
|
130
456
|
],
|
|
@@ -150,6 +476,25 @@ export default (props) => {
|
|
|
150
476
|
],
|
|
151
477
|
...attachmentDescription,
|
|
152
478
|
},
|
|
479
|
+
autocomplete: {
|
|
480
|
+
title: intl.formatMessage(messages.field_autocomplete),
|
|
481
|
+
type: 'string',
|
|
482
|
+
description: intl.formatMessage(
|
|
483
|
+
messages.field_autocomplete_description,
|
|
484
|
+
{
|
|
485
|
+
a: (...chunks) => (
|
|
486
|
+
<a
|
|
487
|
+
href="https://www.w3.org/TR/WCAG21/#input-purposes"
|
|
488
|
+
target="_blank"
|
|
489
|
+
rel="noopener noreferrer"
|
|
490
|
+
>
|
|
491
|
+
{chunks}
|
|
492
|
+
</a>
|
|
493
|
+
),
|
|
494
|
+
},
|
|
495
|
+
),
|
|
496
|
+
choices: autocompleteValues,
|
|
497
|
+
},
|
|
153
498
|
required: {
|
|
154
499
|
title: intl.formatMessage(messages.field_required),
|
|
155
500
|
type: 'boolean',
|
|
@@ -129,6 +129,10 @@
|
|
|
129
129
|
div[class*='-placeholder'] {
|
|
130
130
|
color: #484848;
|
|
131
131
|
}
|
|
132
|
+
|
|
133
|
+
input {
|
|
134
|
+
height: 100%;
|
|
135
|
+
}
|
|
132
136
|
}
|
|
133
137
|
}
|
|
134
138
|
}
|
|
@@ -151,13 +155,15 @@
|
|
|
151
155
|
border-color: hsl(210deg, 17.6470588235%, 43.35%) !important;
|
|
152
156
|
border-bottom: 1px solid;
|
|
153
157
|
font-size: 1rem;
|
|
154
|
-
transition:
|
|
158
|
+
transition:
|
|
159
|
+
border-color 0.3s ease-in,
|
|
155
160
|
background-color 0.2s cubic-bezier(0, 1, 0, 1) 0.2s;
|
|
156
161
|
|
|
157
162
|
&[aria-expanded='true'] {
|
|
158
163
|
border-color: transparent !important;
|
|
159
164
|
box-shadow: 0 1rem 2rem -0.25rem rgba(0, 0, 0, 0.15) !important;
|
|
160
|
-
transition:
|
|
165
|
+
transition:
|
|
166
|
+
background-color 0.2s cubic-bezier(0, 1, 0, 1),
|
|
161
167
|
border-color 0.05s cubic-bezier(1, 0, 1, 0);
|
|
162
168
|
}
|
|
163
169
|
|
|
@@ -252,6 +258,18 @@
|
|
|
252
258
|
}
|
|
253
259
|
}
|
|
254
260
|
}
|
|
261
|
+
|
|
262
|
+
@media (max-width: #{map-get($grid-breakpoints, md)}) {
|
|
263
|
+
//i filtri della colonna di destra vengono mostrati sotto alla barra di ricerca, prima dei risultati, perchè altrimenti su mobile verrebbero mostrati dopo i risultati.
|
|
264
|
+
.searchBlock-facets.right-column-facets {
|
|
265
|
+
> .row > :first-child {
|
|
266
|
+
order: 1;
|
|
267
|
+
}
|
|
268
|
+
.sideColumn {
|
|
269
|
+
order: 0;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
255
273
|
}
|
|
256
274
|
|
|
257
275
|
.cms-ui .block.search .sideColumn .columnText .draftjs-buttons a {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
body.is-authenticated {
|
|
2
|
-
// se l'utente è autenticato e c'è la classe no-user-roles, allora si tratta di un
|
|
3
|
-
|
|
2
|
+
// se l'utente è autenticato e c'è la classe no-user-roles o role-citizen, allora si tratta di un
|
|
3
|
+
// utente del sito (cittadino) che accede solo all'area riservata
|
|
4
|
+
&.no-user-roles, &.role-citizen {
|
|
4
5
|
#toolbar,
|
|
5
6
|
#sidebar {
|
|
6
7
|
display: none;
|
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
@import 'bootstrap-italia/src/scss/custom/form-toggles';
|
|
110
110
|
@import 'bootstrap-italia/src/scss/custom/form-password';
|
|
111
111
|
@import 'bootstrap-italia/src/scss/custom/form-select';
|
|
112
|
+
@import './bootstrap-italia/form-select';
|
|
112
113
|
@import 'bootstrap-italia/src/scss/custom/form-transfer';
|
|
113
114
|
@import 'bootstrap-italia/src/scss/custom/dropdown';
|
|
114
115
|
@import 'bootstrap-italia/src/scss/custom/pager';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.bootstrap-select-wrapper {
|
|
2
|
+
//prevent focus input style, and add focus styles to all select wrapper, because input has a variable width depending on text inputed and if there's no text inside, when it has focus a double vertical lines are displayed.
|
|
3
|
+
input:focus,
|
|
4
|
+
input:focus-within {
|
|
5
|
+
outline: none !important;
|
|
6
|
+
box-shadow: none !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&:has(input:focus),
|
|
10
|
+
&:has(input:focus-within) {
|
|
11
|
+
outline: 2px solid $outer-focus-outline !important;
|
|
12
|
+
outline-offset: 2px;
|
|
13
|
+
|
|
14
|
+
border: none !important;
|
|
15
|
+
box-shadow: 0 0 0 2px $inner-focus-shadow !important;
|
|
16
|
+
}
|
|
17
|
+
}
|