diff --git a/Makefile b/Makefile index 54e78abb3..81645e9da 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ build-ecl: # Add ECL dependencies that cannot be required by ECL. # @see https://github.com/ec-europa/europa-component-library#warning-momentjs yarn --cwd ./ecl-build add moment@2.29.1 -W + yarn --cwd ./ecl-build add pikaday@1.8.2 -W yarn --cwd ./ecl-build add svg4everybody@2.1.9 -W yarn --cwd ./ecl-build dist:presets @@ -42,6 +43,7 @@ copy-dist: cp -r ./ecl-build/dist/packages/ec dist/ec cp -r ./ecl-build/dist/packages/eu dist/eu cp ./ecl-build/node_modules/moment/min/moment.min.js ./dist/js + cp ./ecl-build/node_modules/pikaday/pikaday.js ./dist/js cp ./ecl-build/node_modules/svg4everybody/dist/svg4everybody.js ./dist/js ## copy-twig : copy ECL twigs in the destination directory. diff --git a/modules/oe_theme_contact_forms/oe_theme_contact_forms.module b/modules/oe_theme_contact_forms/oe_theme_contact_forms.module index d83d073c8..ed0fad1e0 100644 --- a/modules/oe_theme_contact_forms/oe_theme_contact_forms.module +++ b/modules/oe_theme_contact_forms/oe_theme_contact_forms.module @@ -5,7 +5,7 @@ * Module file used for theming the corporate contact forms. */ -declare(strict_types = 1); +declare(strict_types=1); use Drupal\contact\Entity\ContactForm; use Drupal\contact\MessageInterface; diff --git a/modules/oe_theme_content_call_proposals/oe_theme_content_call_proposals.module b/modules/oe_theme_content_call_proposals/oe_theme_content_call_proposals.module index f75517ade..d48125a90 100644 --- a/modules/oe_theme_content_call_proposals/oe_theme_content_call_proposals.module +++ b/modules/oe_theme_content_call_proposals/oe_theme_content_call_proposals.module @@ -5,7 +5,7 @@ * Module file is used for theming the Call for proposals content type. */ -declare(strict_types = 1); +declare(strict_types=1); use Drupal\Core\Entity\Display\EntityViewDisplayInterface; use Drupal\Core\Entity\EntityInterface; diff --git a/modules/oe_theme_content_call_proposals/oe_theme_content_call_proposals.post_update.php b/modules/oe_theme_content_call_proposals/oe_theme_content_call_proposals.post_update.php index 68cfab5a0..dae650384 100644 --- a/modules/oe_theme_content_call_proposals/oe_theme_content_call_proposals.post_update.php +++ b/modules/oe_theme_content_call_proposals/oe_theme_content_call_proposals.post_update.php @@ -5,7 +5,7 @@ * OpenEuropa theme content call for proposals post updates. */ -declare(strict_types = 1); +declare(strict_types=1); use Drupal\Core\Config\FileStorage; use Drupal\Core\Entity\Entity\EntityViewDisplay; diff --git a/modules/oe_theme_content_call_proposals/src/Plugin/ExtraField/Display/CallForProposalsLabelStatusExtraField.php b/modules/oe_theme_content_call_proposals/src/Plugin/ExtraField/Display/CallForProposalsLabelStatusExtraField.php index f2feaab7d..b5ffc01fe 100644 --- a/modules/oe_theme_content_call_proposals/src/Plugin/ExtraField/Display/CallForProposalsLabelStatusExtraField.php +++ b/modules/oe_theme_content_call_proposals/src/Plugin/ExtraField/Display/CallForProposalsLabelStatusExtraField.php @@ -1,6 +1,6 @@ +