io-sanita-theme 2.17.2 → 2.18.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.
- package/CHANGELOG.md +17 -0
- package/locales/de/LC_MESSAGES/volto.po +4 -24
- package/locales/en/LC_MESSAGES/volto.po +4 -24
- package/locales/es/LC_MESSAGES/volto.po +4 -24
- package/locales/fr/LC_MESSAGES/volto.po +4 -24
- package/locales/it/LC_MESSAGES/volto.po +4 -24
- package/locales/volto.pot +5 -25
- package/package.json +1 -1
- package/src/components/Blocks/Listing/Table/TableTemplate.jsx +4 -30
- package/src/components/layout/Header/HeaderContacts/HeaderContacts.jsx +6 -2
- package/src/components/manage/Widgets/HeaderContactsWidget/HeaderContactsWidget.jsx +35 -16
- package/src/components/manage/Widgets/HeaderContactsWidget/schema.js +1 -0
- package/src/components/manage/Widgets/PathsWidget/PathsWidget.jsx +227 -0
- package/src/components/manage/Widgets/PathsWidget/pathsWidget.scss +13 -0
- package/src/components/manage/Widgets/PathsWidget/utils.js +23 -0
- package/src/components/manage/Widgets/QuickSearch/QuickSearchConfigurationForm.jsx +1 -1
- package/src/components/manage/Widgets/QuickSearch/QuickSearchConfigurationWidget.jsx +144 -282
- package/src/components/manage/Widgets/QuickSearch/quickSearchConfigurationWidget.scss +1 -64
- package/src/components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget.jsx +143 -284
- package/src/components/manage/Widgets/SearchSections/searchSectionsConfigurationWidget.scss +1 -64
- package/src/components/manage/Widgets/index.js +6 -0
- package/src/components/manage/Widgets/styles/itemsListMenu_wrapper.scss +62 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.18.1](https://github.com/RedTurtle/io-sanita-theme/compare/2.18.0...2.18.1) (2025-06-27)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* Blocco search / variante table - aggiunte le proprietà dei campi nella colonna nel serializer ([#98](https://github.com/RedTurtle/io-sanita-theme/issues/98)) ([33295f9](https://github.com/RedTurtle/io-sanita-theme/commit/33295f948286126823902bef6b9f47c23b4dca5d))
|
|
8
|
+
|
|
9
|
+
## [2.18.0](https://github.com/RedTurtle/io-sanita-theme/compare/2.17.2...2.18.0) (2025-06-24)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* config for HeaderContacts to path-like. Added PathWidget ([#97](https://github.com/RedTurtle/io-sanita-theme/issues/97)) ([5c847dd](https://github.com/RedTurtle/io-sanita-theme/commit/5c847ddb67404170c2b939070108f510050e860d))
|
|
14
|
+
|
|
15
|
+
### Maintenance
|
|
16
|
+
|
|
17
|
+
* locales ([1794d2e](https://github.com/RedTurtle/io-sanita-theme/commit/1794d2e1562d853539ab5973b9defba863c36202))
|
|
18
|
+
* package.json ([d9762f0](https://github.com/RedTurtle/io-sanita-theme/commit/d9762f0d3ef58adaa93d09bb60b17b6fbacd09fe))
|
|
19
|
+
|
|
3
20
|
## [2.17.2](https://github.com/RedTurtle/io-sanita-theme/compare/2.17.1...2.17.2) (2025-06-20)
|
|
4
21
|
|
|
5
22
|
### Bug Fixes
|
|
@@ -2632,7 +2632,7 @@ msgid "quick_search_title"
|
|
|
2632
2632
|
msgstr ""
|
|
2633
2633
|
|
|
2634
2634
|
#. Default: "Aggiungi radice di navigazione"
|
|
2635
|
-
#: components/manage/Widgets/
|
|
2635
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2636
2636
|
msgid "quicksearchwidget-add-rootpath"
|
|
2637
2637
|
msgstr ""
|
|
2638
2638
|
|
|
@@ -2642,7 +2642,7 @@ msgid "quicksearchwidget-additem"
|
|
|
2642
2642
|
msgstr ""
|
|
2643
2643
|
|
|
2644
2644
|
#. Default: "Rimuovi radice di navigazione"
|
|
2645
|
-
#: components/manage/Widgets/
|
|
2645
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2646
2646
|
msgid "quicksearchwidget-delete-rootpath"
|
|
2647
2647
|
msgstr ""
|
|
2648
2648
|
|
|
@@ -2657,7 +2657,7 @@ msgid "quicksearchwidget-emptyActiveItem"
|
|
|
2657
2657
|
msgstr ""
|
|
2658
2658
|
|
|
2659
2659
|
#. Default: "Seleziona un percorso"
|
|
2660
|
-
#: components/manage/Widgets/
|
|
2660
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2661
2661
|
msgid "quicksearchwidget-emptyActiveRootPath"
|
|
2662
2662
|
msgstr ""
|
|
2663
2663
|
|
|
@@ -2677,7 +2677,7 @@ msgid "quicksearchwidget-move-item-up"
|
|
|
2677
2677
|
msgstr ""
|
|
2678
2678
|
|
|
2679
2679
|
#. Default: "Radice di navigazione"
|
|
2680
|
-
#: components/manage/Widgets/
|
|
2680
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2681
2681
|
msgid "quicksearchwidget-rootpath"
|
|
2682
2682
|
msgstr ""
|
|
2683
2683
|
|
|
@@ -3357,21 +3357,11 @@ msgstr ""
|
|
|
3357
3357
|
msgid "searchedFor"
|
|
3358
3358
|
msgstr ""
|
|
3359
3359
|
|
|
3360
|
-
#. Default: "Aggiungi radice di navigazione"
|
|
3361
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3362
|
-
msgid "searchsectionswidget-add-rootpath"
|
|
3363
|
-
msgstr ""
|
|
3364
|
-
|
|
3365
3360
|
#. Default: "Aggiungi elemento"
|
|
3366
3361
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3367
3362
|
msgid "searchsectionswidget-additem"
|
|
3368
3363
|
msgstr ""
|
|
3369
3364
|
|
|
3370
|
-
#. Default: "Rimuovi radice di navigazione"
|
|
3371
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3372
|
-
msgid "searchsectionswidget-delete-rootpath"
|
|
3373
|
-
msgstr ""
|
|
3374
|
-
|
|
3375
3365
|
#. Default: "Rimuovi sezione"
|
|
3376
3366
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3377
3367
|
msgid "searchsectionswidget-deleteitem-button"
|
|
@@ -3382,11 +3372,6 @@ msgstr ""
|
|
|
3382
3372
|
msgid "searchsectionswidget-emptyActiveItem"
|
|
3383
3373
|
msgstr ""
|
|
3384
3374
|
|
|
3385
|
-
#. Default: "Seleziona un percorso"
|
|
3386
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3387
|
-
msgid "searchsectionswidget-emptyActiveRootPath"
|
|
3388
|
-
msgstr ""
|
|
3389
|
-
|
|
3390
3375
|
#. Default: "Mostra le sezioni figlie"
|
|
3391
3376
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3392
3377
|
msgid "searchsectionswidget-expand_children"
|
|
@@ -3417,11 +3402,6 @@ msgstr ""
|
|
|
3417
3402
|
msgid "searchsectionswidget-move-item-up"
|
|
3418
3403
|
msgstr ""
|
|
3419
3404
|
|
|
3420
|
-
#. Default: "Radice di navigazione"
|
|
3421
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3422
|
-
msgid "searchsectionswidget-rootpath"
|
|
3423
|
-
msgstr ""
|
|
3424
|
-
|
|
3425
3405
|
#. Default: "Titolo"
|
|
3426
3406
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3427
3407
|
msgid "searchsectionswidget-title"
|
|
@@ -2627,7 +2627,7 @@ msgid "quick_search_title"
|
|
|
2627
2627
|
msgstr ""
|
|
2628
2628
|
|
|
2629
2629
|
#. Default: "Aggiungi radice di navigazione"
|
|
2630
|
-
#: components/manage/Widgets/
|
|
2630
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2631
2631
|
msgid "quicksearchwidget-add-rootpath"
|
|
2632
2632
|
msgstr ""
|
|
2633
2633
|
|
|
@@ -2637,7 +2637,7 @@ msgid "quicksearchwidget-additem"
|
|
|
2637
2637
|
msgstr ""
|
|
2638
2638
|
|
|
2639
2639
|
#. Default: "Rimuovi radice di navigazione"
|
|
2640
|
-
#: components/manage/Widgets/
|
|
2640
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2641
2641
|
msgid "quicksearchwidget-delete-rootpath"
|
|
2642
2642
|
msgstr ""
|
|
2643
2643
|
|
|
@@ -2652,7 +2652,7 @@ msgid "quicksearchwidget-emptyActiveItem"
|
|
|
2652
2652
|
msgstr ""
|
|
2653
2653
|
|
|
2654
2654
|
#. Default: "Seleziona un percorso"
|
|
2655
|
-
#: components/manage/Widgets/
|
|
2655
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2656
2656
|
msgid "quicksearchwidget-emptyActiveRootPath"
|
|
2657
2657
|
msgstr ""
|
|
2658
2658
|
|
|
@@ -2672,7 +2672,7 @@ msgid "quicksearchwidget-move-item-up"
|
|
|
2672
2672
|
msgstr ""
|
|
2673
2673
|
|
|
2674
2674
|
#. Default: "Radice di navigazione"
|
|
2675
|
-
#: components/manage/Widgets/
|
|
2675
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2676
2676
|
msgid "quicksearchwidget-rootpath"
|
|
2677
2677
|
msgstr ""
|
|
2678
2678
|
|
|
@@ -3352,21 +3352,11 @@ msgstr "*Enter keywords, for example “Vaccinations”"
|
|
|
3352
3352
|
msgid "searchedFor"
|
|
3353
3353
|
msgstr "Searched for: <em>{searchedtext}</em>"
|
|
3354
3354
|
|
|
3355
|
-
#. Default: "Aggiungi radice di navigazione"
|
|
3356
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3357
|
-
msgid "searchsectionswidget-add-rootpath"
|
|
3358
|
-
msgstr ""
|
|
3359
|
-
|
|
3360
3355
|
#. Default: "Aggiungi elemento"
|
|
3361
3356
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3362
3357
|
msgid "searchsectionswidget-additem"
|
|
3363
3358
|
msgstr ""
|
|
3364
3359
|
|
|
3365
|
-
#. Default: "Rimuovi radice di navigazione"
|
|
3366
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3367
|
-
msgid "searchsectionswidget-delete-rootpath"
|
|
3368
|
-
msgstr ""
|
|
3369
|
-
|
|
3370
3360
|
#. Default: "Rimuovi sezione"
|
|
3371
3361
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3372
3362
|
msgid "searchsectionswidget-deleteitem-button"
|
|
@@ -3377,11 +3367,6 @@ msgstr ""
|
|
|
3377
3367
|
msgid "searchsectionswidget-emptyActiveItem"
|
|
3378
3368
|
msgstr ""
|
|
3379
3369
|
|
|
3380
|
-
#. Default: "Seleziona un percorso"
|
|
3381
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3382
|
-
msgid "searchsectionswidget-emptyActiveRootPath"
|
|
3383
|
-
msgstr ""
|
|
3384
|
-
|
|
3385
3370
|
#. Default: "Mostra le sezioni figlie"
|
|
3386
3371
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3387
3372
|
msgid "searchsectionswidget-expand_children"
|
|
@@ -3412,11 +3397,6 @@ msgstr ""
|
|
|
3412
3397
|
msgid "searchsectionswidget-move-item-up"
|
|
3413
3398
|
msgstr ""
|
|
3414
3399
|
|
|
3415
|
-
#. Default: "Radice di navigazione"
|
|
3416
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3417
|
-
msgid "searchsectionswidget-rootpath"
|
|
3418
|
-
msgstr ""
|
|
3419
|
-
|
|
3420
3400
|
#. Default: "Titolo"
|
|
3421
3401
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3422
3402
|
msgid "searchsectionswidget-title"
|
|
@@ -2634,7 +2634,7 @@ msgid "quick_search_title"
|
|
|
2634
2634
|
msgstr ""
|
|
2635
2635
|
|
|
2636
2636
|
#. Default: "Aggiungi radice di navigazione"
|
|
2637
|
-
#: components/manage/Widgets/
|
|
2637
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2638
2638
|
msgid "quicksearchwidget-add-rootpath"
|
|
2639
2639
|
msgstr ""
|
|
2640
2640
|
|
|
@@ -2644,7 +2644,7 @@ msgid "quicksearchwidget-additem"
|
|
|
2644
2644
|
msgstr ""
|
|
2645
2645
|
|
|
2646
2646
|
#. Default: "Rimuovi radice di navigazione"
|
|
2647
|
-
#: components/manage/Widgets/
|
|
2647
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2648
2648
|
msgid "quicksearchwidget-delete-rootpath"
|
|
2649
2649
|
msgstr ""
|
|
2650
2650
|
|
|
@@ -2659,7 +2659,7 @@ msgid "quicksearchwidget-emptyActiveItem"
|
|
|
2659
2659
|
msgstr ""
|
|
2660
2660
|
|
|
2661
2661
|
#. Default: "Seleziona un percorso"
|
|
2662
|
-
#: components/manage/Widgets/
|
|
2662
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2663
2663
|
msgid "quicksearchwidget-emptyActiveRootPath"
|
|
2664
2664
|
msgstr ""
|
|
2665
2665
|
|
|
@@ -2679,7 +2679,7 @@ msgid "quicksearchwidget-move-item-up"
|
|
|
2679
2679
|
msgstr ""
|
|
2680
2680
|
|
|
2681
2681
|
#. Default: "Radice di navigazione"
|
|
2682
|
-
#: components/manage/Widgets/
|
|
2682
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2683
2683
|
msgid "quicksearchwidget-rootpath"
|
|
2684
2684
|
msgstr ""
|
|
2685
2685
|
|
|
@@ -3359,21 +3359,11 @@ msgstr ""
|
|
|
3359
3359
|
msgid "searchedFor"
|
|
3360
3360
|
msgstr ""
|
|
3361
3361
|
|
|
3362
|
-
#. Default: "Aggiungi radice di navigazione"
|
|
3363
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3364
|
-
msgid "searchsectionswidget-add-rootpath"
|
|
3365
|
-
msgstr ""
|
|
3366
|
-
|
|
3367
3362
|
#. Default: "Aggiungi elemento"
|
|
3368
3363
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3369
3364
|
msgid "searchsectionswidget-additem"
|
|
3370
3365
|
msgstr ""
|
|
3371
3366
|
|
|
3372
|
-
#. Default: "Rimuovi radice di navigazione"
|
|
3373
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3374
|
-
msgid "searchsectionswidget-delete-rootpath"
|
|
3375
|
-
msgstr ""
|
|
3376
|
-
|
|
3377
3367
|
#. Default: "Rimuovi sezione"
|
|
3378
3368
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3379
3369
|
msgid "searchsectionswidget-deleteitem-button"
|
|
@@ -3384,11 +3374,6 @@ msgstr ""
|
|
|
3384
3374
|
msgid "searchsectionswidget-emptyActiveItem"
|
|
3385
3375
|
msgstr ""
|
|
3386
3376
|
|
|
3387
|
-
#. Default: "Seleziona un percorso"
|
|
3388
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3389
|
-
msgid "searchsectionswidget-emptyActiveRootPath"
|
|
3390
|
-
msgstr ""
|
|
3391
|
-
|
|
3392
3377
|
#. Default: "Mostra le sezioni figlie"
|
|
3393
3378
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3394
3379
|
msgid "searchsectionswidget-expand_children"
|
|
@@ -3419,11 +3404,6 @@ msgstr ""
|
|
|
3419
3404
|
msgid "searchsectionswidget-move-item-up"
|
|
3420
3405
|
msgstr ""
|
|
3421
3406
|
|
|
3422
|
-
#. Default: "Radice di navigazione"
|
|
3423
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3424
|
-
msgid "searchsectionswidget-rootpath"
|
|
3425
|
-
msgstr ""
|
|
3426
|
-
|
|
3427
3407
|
#. Default: "Titolo"
|
|
3428
3408
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3429
3409
|
msgid "searchsectionswidget-title"
|
|
@@ -2634,7 +2634,7 @@ msgid "quick_search_title"
|
|
|
2634
2634
|
msgstr ""
|
|
2635
2635
|
|
|
2636
2636
|
#. Default: "Aggiungi radice di navigazione"
|
|
2637
|
-
#: components/manage/Widgets/
|
|
2637
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2638
2638
|
msgid "quicksearchwidget-add-rootpath"
|
|
2639
2639
|
msgstr ""
|
|
2640
2640
|
|
|
@@ -2644,7 +2644,7 @@ msgid "quicksearchwidget-additem"
|
|
|
2644
2644
|
msgstr ""
|
|
2645
2645
|
|
|
2646
2646
|
#. Default: "Rimuovi radice di navigazione"
|
|
2647
|
-
#: components/manage/Widgets/
|
|
2647
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2648
2648
|
msgid "quicksearchwidget-delete-rootpath"
|
|
2649
2649
|
msgstr ""
|
|
2650
2650
|
|
|
@@ -2659,7 +2659,7 @@ msgid "quicksearchwidget-emptyActiveItem"
|
|
|
2659
2659
|
msgstr ""
|
|
2660
2660
|
|
|
2661
2661
|
#. Default: "Seleziona un percorso"
|
|
2662
|
-
#: components/manage/Widgets/
|
|
2662
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2663
2663
|
msgid "quicksearchwidget-emptyActiveRootPath"
|
|
2664
2664
|
msgstr ""
|
|
2665
2665
|
|
|
@@ -2679,7 +2679,7 @@ msgid "quicksearchwidget-move-item-up"
|
|
|
2679
2679
|
msgstr ""
|
|
2680
2680
|
|
|
2681
2681
|
#. Default: "Radice di navigazione"
|
|
2682
|
-
#: components/manage/Widgets/
|
|
2682
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2683
2683
|
msgid "quicksearchwidget-rootpath"
|
|
2684
2684
|
msgstr ""
|
|
2685
2685
|
|
|
@@ -3359,21 +3359,11 @@ msgstr ""
|
|
|
3359
3359
|
msgid "searchedFor"
|
|
3360
3360
|
msgstr ""
|
|
3361
3361
|
|
|
3362
|
-
#. Default: "Aggiungi radice di navigazione"
|
|
3363
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3364
|
-
msgid "searchsectionswidget-add-rootpath"
|
|
3365
|
-
msgstr ""
|
|
3366
|
-
|
|
3367
3362
|
#. Default: "Aggiungi elemento"
|
|
3368
3363
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3369
3364
|
msgid "searchsectionswidget-additem"
|
|
3370
3365
|
msgstr ""
|
|
3371
3366
|
|
|
3372
|
-
#. Default: "Rimuovi radice di navigazione"
|
|
3373
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3374
|
-
msgid "searchsectionswidget-delete-rootpath"
|
|
3375
|
-
msgstr ""
|
|
3376
|
-
|
|
3377
3367
|
#. Default: "Rimuovi sezione"
|
|
3378
3368
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3379
3369
|
msgid "searchsectionswidget-deleteitem-button"
|
|
@@ -3384,11 +3374,6 @@ msgstr ""
|
|
|
3384
3374
|
msgid "searchsectionswidget-emptyActiveItem"
|
|
3385
3375
|
msgstr ""
|
|
3386
3376
|
|
|
3387
|
-
#. Default: "Seleziona un percorso"
|
|
3388
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3389
|
-
msgid "searchsectionswidget-emptyActiveRootPath"
|
|
3390
|
-
msgstr ""
|
|
3391
|
-
|
|
3392
3377
|
#. Default: "Mostra le sezioni figlie"
|
|
3393
3378
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3394
3379
|
msgid "searchsectionswidget-expand_children"
|
|
@@ -3419,11 +3404,6 @@ msgstr ""
|
|
|
3419
3404
|
msgid "searchsectionswidget-move-item-up"
|
|
3420
3405
|
msgstr ""
|
|
3421
3406
|
|
|
3422
|
-
#. Default: "Radice di navigazione"
|
|
3423
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3424
|
-
msgid "searchsectionswidget-rootpath"
|
|
3425
|
-
msgstr ""
|
|
3426
|
-
|
|
3427
3407
|
#. Default: "Titolo"
|
|
3428
3408
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3429
3409
|
msgid "searchsectionswidget-title"
|
|
@@ -2627,7 +2627,7 @@ msgid "quick_search_title"
|
|
|
2627
2627
|
msgstr ""
|
|
2628
2628
|
|
|
2629
2629
|
#. Default: "Aggiungi radice di navigazione"
|
|
2630
|
-
#: components/manage/Widgets/
|
|
2630
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2631
2631
|
msgid "quicksearchwidget-add-rootpath"
|
|
2632
2632
|
msgstr ""
|
|
2633
2633
|
|
|
@@ -2637,7 +2637,7 @@ msgid "quicksearchwidget-additem"
|
|
|
2637
2637
|
msgstr ""
|
|
2638
2638
|
|
|
2639
2639
|
#. Default: "Rimuovi radice di navigazione"
|
|
2640
|
-
#: components/manage/Widgets/
|
|
2640
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2641
2641
|
msgid "quicksearchwidget-delete-rootpath"
|
|
2642
2642
|
msgstr ""
|
|
2643
2643
|
|
|
@@ -2652,7 +2652,7 @@ msgid "quicksearchwidget-emptyActiveItem"
|
|
|
2652
2652
|
msgstr ""
|
|
2653
2653
|
|
|
2654
2654
|
#. Default: "Seleziona un percorso"
|
|
2655
|
-
#: components/manage/Widgets/
|
|
2655
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2656
2656
|
msgid "quicksearchwidget-emptyActiveRootPath"
|
|
2657
2657
|
msgstr ""
|
|
2658
2658
|
|
|
@@ -2672,7 +2672,7 @@ msgid "quicksearchwidget-move-item-up"
|
|
|
2672
2672
|
msgstr ""
|
|
2673
2673
|
|
|
2674
2674
|
#. Default: "Radice di navigazione"
|
|
2675
|
-
#: components/manage/Widgets/
|
|
2675
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2676
2676
|
msgid "quicksearchwidget-rootpath"
|
|
2677
2677
|
msgstr ""
|
|
2678
2678
|
|
|
@@ -3352,21 +3352,11 @@ msgstr ""
|
|
|
3352
3352
|
msgid "searchedFor"
|
|
3353
3353
|
msgstr "Ricerca per: <em>{searchedtext}</em>."
|
|
3354
3354
|
|
|
3355
|
-
#. Default: "Aggiungi radice di navigazione"
|
|
3356
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3357
|
-
msgid "searchsectionswidget-add-rootpath"
|
|
3358
|
-
msgstr ""
|
|
3359
|
-
|
|
3360
3355
|
#. Default: "Aggiungi elemento"
|
|
3361
3356
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3362
3357
|
msgid "searchsectionswidget-additem"
|
|
3363
3358
|
msgstr ""
|
|
3364
3359
|
|
|
3365
|
-
#. Default: "Rimuovi radice di navigazione"
|
|
3366
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3367
|
-
msgid "searchsectionswidget-delete-rootpath"
|
|
3368
|
-
msgstr ""
|
|
3369
|
-
|
|
3370
3360
|
#. Default: "Rimuovi sezione"
|
|
3371
3361
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3372
3362
|
msgid "searchsectionswidget-deleteitem-button"
|
|
@@ -3377,11 +3367,6 @@ msgstr ""
|
|
|
3377
3367
|
msgid "searchsectionswidget-emptyActiveItem"
|
|
3378
3368
|
msgstr ""
|
|
3379
3369
|
|
|
3380
|
-
#. Default: "Seleziona un percorso"
|
|
3381
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3382
|
-
msgid "searchsectionswidget-emptyActiveRootPath"
|
|
3383
|
-
msgstr ""
|
|
3384
|
-
|
|
3385
3370
|
#. Default: "Mostra le sezioni figlie"
|
|
3386
3371
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3387
3372
|
msgid "searchsectionswidget-expand_children"
|
|
@@ -3412,11 +3397,6 @@ msgstr ""
|
|
|
3412
3397
|
msgid "searchsectionswidget-move-item-up"
|
|
3413
3398
|
msgstr ""
|
|
3414
3399
|
|
|
3415
|
-
#. Default: "Radice di navigazione"
|
|
3416
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3417
|
-
msgid "searchsectionswidget-rootpath"
|
|
3418
|
-
msgstr ""
|
|
3419
|
-
|
|
3420
3400
|
#. Default: "Titolo"
|
|
3421
3401
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3422
3402
|
msgid "searchsectionswidget-title"
|
package/locales/volto.pot
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
msgid ""
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Plone\n"
|
|
4
|
-
"POT-Creation-Date: 2025-06-
|
|
4
|
+
"POT-Creation-Date: 2025-06-24T13:43:29.010Z\n"
|
|
5
5
|
"Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
6
6
|
"Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
7
7
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
@@ -2629,7 +2629,7 @@ msgid "quick_search_title"
|
|
|
2629
2629
|
msgstr ""
|
|
2630
2630
|
|
|
2631
2631
|
#. Default: "Aggiungi radice di navigazione"
|
|
2632
|
-
#: components/manage/Widgets/
|
|
2632
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2633
2633
|
msgid "quicksearchwidget-add-rootpath"
|
|
2634
2634
|
msgstr ""
|
|
2635
2635
|
|
|
@@ -2639,7 +2639,7 @@ msgid "quicksearchwidget-additem"
|
|
|
2639
2639
|
msgstr ""
|
|
2640
2640
|
|
|
2641
2641
|
#. Default: "Rimuovi radice di navigazione"
|
|
2642
|
-
#: components/manage/Widgets/
|
|
2642
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2643
2643
|
msgid "quicksearchwidget-delete-rootpath"
|
|
2644
2644
|
msgstr ""
|
|
2645
2645
|
|
|
@@ -2654,7 +2654,7 @@ msgid "quicksearchwidget-emptyActiveItem"
|
|
|
2654
2654
|
msgstr ""
|
|
2655
2655
|
|
|
2656
2656
|
#. Default: "Seleziona un percorso"
|
|
2657
|
-
#: components/manage/Widgets/
|
|
2657
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2658
2658
|
msgid "quicksearchwidget-emptyActiveRootPath"
|
|
2659
2659
|
msgstr ""
|
|
2660
2660
|
|
|
@@ -2674,7 +2674,7 @@ msgid "quicksearchwidget-move-item-up"
|
|
|
2674
2674
|
msgstr ""
|
|
2675
2675
|
|
|
2676
2676
|
#. Default: "Radice di navigazione"
|
|
2677
|
-
#: components/manage/Widgets/
|
|
2677
|
+
#: components/manage/Widgets/PathsWidget/PathsWidget
|
|
2678
2678
|
msgid "quicksearchwidget-rootpath"
|
|
2679
2679
|
msgstr ""
|
|
2680
2680
|
|
|
@@ -3354,21 +3354,11 @@ msgstr ""
|
|
|
3354
3354
|
msgid "searchedFor"
|
|
3355
3355
|
msgstr ""
|
|
3356
3356
|
|
|
3357
|
-
#. Default: "Aggiungi radice di navigazione"
|
|
3358
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3359
|
-
msgid "searchsectionswidget-add-rootpath"
|
|
3360
|
-
msgstr ""
|
|
3361
|
-
|
|
3362
3357
|
#. Default: "Aggiungi elemento"
|
|
3363
3358
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3364
3359
|
msgid "searchsectionswidget-additem"
|
|
3365
3360
|
msgstr ""
|
|
3366
3361
|
|
|
3367
|
-
#. Default: "Rimuovi radice di navigazione"
|
|
3368
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3369
|
-
msgid "searchsectionswidget-delete-rootpath"
|
|
3370
|
-
msgstr ""
|
|
3371
|
-
|
|
3372
3362
|
#. Default: "Rimuovi sezione"
|
|
3373
3363
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3374
3364
|
msgid "searchsectionswidget-deleteitem-button"
|
|
@@ -3379,11 +3369,6 @@ msgstr ""
|
|
|
3379
3369
|
msgid "searchsectionswidget-emptyActiveItem"
|
|
3380
3370
|
msgstr ""
|
|
3381
3371
|
|
|
3382
|
-
#. Default: "Seleziona un percorso"
|
|
3383
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3384
|
-
msgid "searchsectionswidget-emptyActiveRootPath"
|
|
3385
|
-
msgstr ""
|
|
3386
|
-
|
|
3387
3372
|
#. Default: "Mostra le sezioni figlie"
|
|
3388
3373
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3389
3374
|
msgid "searchsectionswidget-expand_children"
|
|
@@ -3414,11 +3399,6 @@ msgstr ""
|
|
|
3414
3399
|
msgid "searchsectionswidget-move-item-up"
|
|
3415
3400
|
msgstr ""
|
|
3416
3401
|
|
|
3417
|
-
#. Default: "Radice di navigazione"
|
|
3418
|
-
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationWidget
|
|
3419
|
-
msgid "searchsectionswidget-rootpath"
|
|
3420
|
-
msgstr ""
|
|
3421
|
-
|
|
3422
3402
|
#. Default: "Titolo"
|
|
3423
3403
|
#: components/manage/Widgets/SearchSections/SearchSectionsConfigurationForm
|
|
3424
3404
|
msgid "searchsectionswidget-title"
|
package/package.json
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Template a tabella
|
|
3
3
|
*/
|
|
4
|
-
import React
|
|
4
|
+
import React from 'react';
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
|
-
import { useDispatch, useSelector } from 'react-redux';
|
|
8
7
|
import { useIntl, defineMessages } from 'react-intl';
|
|
9
|
-
import { getCTSchema } from 'io-sanita-theme/actions';
|
|
10
8
|
import { Row, Col, Table } from 'design-react-kit';
|
|
11
9
|
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
12
10
|
|
|
13
|
-
import {
|
|
14
|
-
ListingImage,
|
|
15
|
-
ListingContainer,
|
|
16
|
-
} from 'io-sanita-theme/components/Blocks';
|
|
11
|
+
import { ListingContainer } from 'io-sanita-theme/components/Blocks';
|
|
17
12
|
import { LinkMore } from 'io-sanita-theme/components';
|
|
18
13
|
import { getWidget } from '@plone/volto/helpers/Widget/utils';
|
|
19
14
|
|
|
@@ -37,26 +32,7 @@ const TableTemplate = (props) => {
|
|
|
37
32
|
} = props;
|
|
38
33
|
|
|
39
34
|
const intl = useIntl();
|
|
40
|
-
const dispatch = useDispatch();
|
|
41
35
|
const { views } = config.widgets;
|
|
42
|
-
const ct_schemas = useSelector((state) => state.ct_schema?.subrequests);
|
|
43
|
-
|
|
44
|
-
useEffect(() => {
|
|
45
|
-
if (columns?.length > 0) {
|
|
46
|
-
const cts = columns.reduce((acc, c) => {
|
|
47
|
-
if (acc.indexOf(c.ct) < 0) {
|
|
48
|
-
acc.push(c.ct);
|
|
49
|
-
}
|
|
50
|
-
return acc;
|
|
51
|
-
}, []);
|
|
52
|
-
|
|
53
|
-
cts.forEach((c) => {
|
|
54
|
-
if (!ct_schemas[c]) {
|
|
55
|
-
dispatch(getCTSchema(c));
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
}, [columns]);
|
|
60
36
|
|
|
61
37
|
let render_columns =
|
|
62
38
|
(columns ?? []).filter((c) => c.field === 'title').length > 0
|
|
@@ -73,8 +49,7 @@ const TableTemplate = (props) => {
|
|
|
73
49
|
<thead className="table-light">
|
|
74
50
|
<tr>
|
|
75
51
|
{render_columns.map((c, index) => {
|
|
76
|
-
const field_properties =
|
|
77
|
-
ct_schemas?.[c.ct]?.result?.properties?.[c.field] ?? {};
|
|
52
|
+
const field_properties = c.field_properties ?? {};
|
|
78
53
|
|
|
79
54
|
return (
|
|
80
55
|
<th
|
|
@@ -96,8 +71,7 @@ const TableTemplate = (props) => {
|
|
|
96
71
|
{items.map((item, index) => (
|
|
97
72
|
<tr key={index}>
|
|
98
73
|
{render_columns.map((c, index) => {
|
|
99
|
-
const field_properties =
|
|
100
|
-
ct_schemas?.[c.ct]?.result?.properties?.[c.field];
|
|
74
|
+
const field_properties = c.field_properties ?? {};
|
|
101
75
|
let render_value = JSON.stringify(item[c.field]);
|
|
102
76
|
|
|
103
77
|
if (field_properties) {
|
|
@@ -4,23 +4,27 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React, { useEffect } from 'react';
|
|
6
6
|
import { useDispatch, useSelector } from 'react-redux';
|
|
7
|
+
import { useLocation } from 'react-router-dom';
|
|
7
8
|
import { Container, Row, Col } from 'design-react-kit';
|
|
8
9
|
import { TextBlockView } from '@plone/volto-slate/blocks/Text';
|
|
9
10
|
import { Icon } from 'io-sanita-theme/components';
|
|
10
11
|
import { getIoSanitaSettings } from 'io-sanita-theme/actions';
|
|
11
|
-
|
|
12
|
+
import { getItemsByPath } from 'io-sanita-theme/components/manage/Widgets/PathsWidget/utils';
|
|
12
13
|
import './headerContacts.scss';
|
|
13
14
|
|
|
14
15
|
const HeaderContacts = () => {
|
|
15
16
|
const dispatch = useDispatch();
|
|
16
17
|
const content = useSelector((state) => state?.content);
|
|
17
18
|
const settings = useSelector((state) => state?.iosanita_settings);
|
|
18
|
-
const
|
|
19
|
+
const location = useLocation();
|
|
20
|
+
const config = useSelector(
|
|
19
21
|
(state) =>
|
|
20
22
|
state?.content?.data?.['@components']?.['iosanita-settings']
|
|
21
23
|
?.contatti_testata ?? state.iosanita_settings?.data?.contatti_testata,
|
|
22
24
|
);
|
|
23
25
|
|
|
26
|
+
const items = getItemsByPath(config, location.pathname) ?? [];
|
|
27
|
+
|
|
24
28
|
useEffect(() => {
|
|
25
29
|
if (
|
|
26
30
|
!content.get?.loading &&
|