]> _ Git - fluidbook-toolbox.git/commitdiff
wip #4216 @2
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 20 Jan 2021 16:39:39 +0000 (17:39 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 20 Jan 2021 16:39:39 +0000 (17:39 +0100)
app/Fields/FluidbookLocale.php [new file with mode: 0644]
app/Fields/FluidbookTheme.php [new file with mode: 0644]
app/Models/FluidbookPublication.php [new file with mode: 0644]
app/Models/FluidbookTheme.php [new file with mode: 0644]
composer.lock

diff --git a/app/Fields/FluidbookLocale.php b/app/Fields/FluidbookLocale.php
new file mode 100644 (file)
index 0000000..70c449f
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+
+namespace App\Fields;
+
+
+use Cubist\Backpack\Magic\Fields\Locale;
+
+class FluidbookLocale extends Locale
+{
+
+}
diff --git a/app/Fields/FluidbookTheme.php b/app/Fields/FluidbookTheme.php
new file mode 100644 (file)
index 0000000..d027e2e
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+
+namespace App\Fields;
+
+
+use Cubist\Backpack\Magic\Fields\SelectFromModel;
+
+class FluidbookTheme extends SelectFromModel
+{
+
+}
diff --git a/app/Models/FluidbookPublication.php b/app/Models/FluidbookPublication.php
new file mode 100644 (file)
index 0000000..b7ef7c7
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+
+
+namespace App\Models;
+
+use App\Fields\FluidbookLocale;
+use Cubist\Backpack\Magic\Models\CubistMagicAbstractModel;
+use Illuminate\Database\Eloquent\Builder;
+
+class FluidbookPublication extends CubistMagicAbstractModel
+{
+    protected $table = 'fluidbook_publication';
+    protected $_options = ['name' => 'fluidbook-publication',
+        'singular' => 'publication',
+        'plural' => 'publications'];
+
+    protected $_enableBulk = false;
+
+    public static function addOwnerClause(Builder $builder)
+    {
+        if (backpack_user()->hasPermissionTo('fluidbook-quote:admin')) {
+            return;
+        }
+        $builder->where('owner', backpack_user()->id);
+    }
+
+    public function setFields()
+    {
+        parent::setFields();
+
+        $this->addField('title','Text',__('Titre de la publication'));
+        $this->addField('locale',FluidbookLocale::class,__('Langue par défaut'));
+    }
+}
diff --git a/app/Models/FluidbookTheme.php b/app/Models/FluidbookTheme.php
new file mode 100644 (file)
index 0000000..9fe34c3
--- /dev/null
@@ -0,0 +1,1067 @@
+<?php
+
+
+namespace App\Models;
+
+
+use App\Fields\User;
+use Cubist\Backpack\Magic\Models\CubistMagicAbstractModel;
+
+class FluidbookTheme extends CubistMagicAbstractModel
+{
+    protected $table = 'fluidbook_theme';
+    protected $_options = ['name' => 'fluidbook-theme',
+        'singular' => 'theme',
+        'plural' => 'themes'];
+
+    public function setFields()
+    {
+        parent::setFields();
+
+        $this->addField(['name' => 'owner',
+            'label' => __('Propriétaire'),
+            'type' => User::class,
+            'column' => true,
+            'can' => 'fluidbook-publication:admin',
+            'column_attribute' => 'companyWithNameOnTwoLines',
+            'attribute' => 'companyWithName']);
+
+       $this->setSettingsFields();
+    }
+
+    public function setSettingsFields()
+    {
+        $this->addField([
+            'name' => 'arrowsEnabled',
+            'type' => 'SelectFromArray',
+            'options' => [
+                1 => 'Toujours',
+                0 => 'Jamais',
+                2 => 'Uniquement sur les dispositifs non tactiles',
+            ],
+            'label' => __('Activer les flèches'),
+            'default' => 1,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des boutons'),
+        ]);
+
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation des boutons'),
+        ]);
+        return;
+        $this->addField([
+            'name' => 'couleurA',
+            'type' => 'Color',
+            'label' => __('Couleur de fond'),
+            'default' => '#000000',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des boutons'),
+        ]);
+
+        $this->addField([
+            'name' => 'arrowsColor',
+            'type' => 'Color',
+            'label' => __('Couleur des flèches'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des boutons'),
+        ]);
+        $this->addField([
+            'name' => 'shadeOnArrows',
+            'type' => 'Checkbox',
+            'label' => __('Ombre portée sous les flèches'),
+            'default' => true,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des boutons'),
+        ]);
+        $this->addField([
+            'name' => 'arrowsTheme',
+            'type' => 'Checkbox',
+            'label' => __('Nouveau thème'),
+            'default' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des boutons'),
+        ]);
+        $this->addField([
+            'name' => 'couleurB',
+            'type' => 'Color',
+            'label' => __('Couleur de fond'),
+            'default' => '#000000',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+
+        $this->addField([
+            'name' => 'subSecondaryColor',
+            'type' => 'Text',
+            'label' => __('Couleur secondaire pour la version HTML5 (boutons)'),
+            'default' => '',
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subTextColor',
+            'type' => 'Color',
+            'label' => __('Couleur du texte'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subCrossCircle',
+            'type' => 'Checkbox',
+            'label' => __('Afficher un cercle sous la croix de fermeture'),
+            'default' => true,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation des menus'),
+        ]);
+
+        $this->addField([
+            'name' => 'subSelectColor',
+            'type' => 'Color',
+            'label' => __('Couleur des zones de sélection'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subTextSelectColor',
+            'type' => 'Color',
+            'label' => __('Couleur des textes des zones de sélection'),
+            'default' => '#000000',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subTextFieldColor',
+            'type' => 'Color',
+            'label' => __('Couleur des textes des champs d\'édition'),
+            'default' => '#000000',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subFieldColor',
+            'type' => 'Color',
+            'label' => __('Couleur des champs d\'édition'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subStrokeWidth',
+            'type' => 'Integer',
+            'label' => __('Largeur du contour'),
+            'default' => 0,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subStrokeColor',
+            'type' => 'Color',
+            'label' => __('Couleur du contour'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subShade',
+            'type' => 'Color',
+            'label' => __('Ombre sous le sous-menu'),
+            'default' => 'transparent',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subRound',
+            'type' => 'Integer',
+            'label' => __('Arrondi'),
+            'default' => 10,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subButtonCustom',
+            'type' => 'Checkbox',
+            'label' => __('Personnalisation des boutons'),
+            'default' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subButtonBackground',
+            'type' => 'Color',
+            'label' => __('Couleur de fond'),
+            'default' => '#cccccc',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subButtonColor',
+            'type' => 'Color',
+            'label' => __('Couleur du texte'),
+            'default' => '#000000',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'subButtonDecoration',
+            'type' => 'Color',
+            'label' => __('Couleur des décorations'),
+            'default' => '#797979',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'popupVideoOverlay',
+            'type' => 'Color',
+            'label' => __('Overlay placé sous les menus en popup'),
+            'default' => 'rgba(0,0,0,0.30196078431373)',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des menus'),
+        ]);
+        $this->addField([
+            'name' => 'couleurS',
+            'type' => 'Color',
+            'label' => __('Couleur du texte'),
+            'default' => '#000000',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la recherche'),
+        ]);
+        $this->addField([
+            'name' => 'searchFieldColor',
+            'type' => 'Color',
+            'label' => __('Couleur du champs de saisie'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la recherche'),
+        ]);
+        $this->addField([
+            'name' => 'searchShadeAlpha',
+            'type' => 'Integer',
+            'label' => __('Intensité de l\'ombre dans le champ de saisie'),
+            'min' => 0,
+            'max' => 100,
+            'default' => 0,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la recherche'),
+        ]);
+        $this->addField([
+            'name' => 'searchFieldWidth',
+            'type' => 'Integer',
+            'label' => __('Largeur du champ de recherche'),
+            'default' => 230,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la recherche'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la recherche'),
+        ]);
+        $this->addField([
+            'name' => 'highlightColor',
+            'type' => 'Color',
+            'label' => __('Couleur du surlignage des résultats'),
+            'default' => '#00ff00',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la recherche'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la recherche'),
+        ]);
+
+        $this->addField([
+            'name' => 'searchIndexNoResultColor',
+            'type' => 'Color',
+            'label' => __('Couleur de l\'overlay (aucun résultat)'),
+            'default' => 'rgba(0,0,0,0.8)',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la recherche'),
+        ]);
+
+        $this->addField([
+            'name' => 'iconSet',
+            'type' => 'SelectFromArray',
+            'options' => [
+                15 => 'Jeu d\'icônes par défaut',
+            ],
+            'label' => __('Jeu d\'icônes'),
+            'default' => 15,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des icônes'),
+        ]);
+
+        $this->addField([
+            'name' => 'iconShadeColor',
+            'type' => 'Color',
+            'label' => __('Couleur de l\'effet de rollover'),
+            'default' => 'transparent',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des icônes'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation des icônes'),
+        ]);
+        $this->addField([
+            'name' => 'iconsHMargin',
+            'type' => 'Integer',
+            'label' => __('Espace entre les icônes'),
+            'min' => 0,
+            'max' => 50,
+            'default' => 15,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des icônes'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation des icônes'),
+        ]);
+        $this->addField([
+            'name' => 'colorizeIcons',
+            'type' => 'Checkbox',
+            'label' => __('Colorier les icônes'),
+            'default' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des icônes'),
+        ]);
+        $this->addField([
+            'name' => 'couleurI',
+            'type' => 'Color',
+            'label' => __('Couleur des icônes'),
+            'default' => 'rgba(0,14,0,0.047058823529412)',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des icônes'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation des icônes'),
+        ]);
+        $this->addField([
+            'name' => 'fontKit',
+            'type' => 'SelectFromArray',
+            'options' => [
+                'auto' => 'Automatique',
+                'vagrounded' => 'VAG Rounded',
+                'gill' => 'Gill',
+            ],
+            'label' => __('Police de caractères'),
+            'default' => 'auto',
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des icônes'),
+        ]);
+        $this->addField([
+            'name' => 'pageReflection',
+            'type' => 'Checkbox',
+            'label' => __('Afficher le reflet sur la page'),
+            'default' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'shadeAlpha',
+            'type' => 'Integer',
+            'label' => __('Transparence des ombres et reflets sur les pages'),
+            'min' => 0,
+            'max' => 100,
+            'default' => 100,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'usePageEdges',
+            'type' => 'Checkbox',
+            'label' => __('Afficher la bordure des pages'),
+            'default' => true,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'pageEdgeOpacity',
+            'type' => 'Integer',
+            'label' => __('Opacité de la bordure'),
+            'min' => 0,
+            'max' => 100,
+            'default' => 100,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+
+        $this->addField([
+            'name' => 'pageEdgeLeftOffset',
+            'type' => 'Integer',
+            'label' => __('Décalage de la bordure gauche (vers l\'intérieur)'),
+            'min' => 0,
+            'max' => 20,
+            'default' => 0,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'pageEdgeRightOffset',
+            'type' => 'Integer',
+            'label' => __('Décalage de la bordure droite (vers l\'intérieur)'),
+            'min' => 0,
+            'max' => 20,
+            'default' => 0,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'pageEdgeColor',
+            'type' => 'Color',
+            'label' => __('Couleur de la bordure (Version flash)'),
+            'default' => '#dddddd',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'pageEdgeThickness',
+            'type' => 'Integer',
+            'label' => __('Epaisseur de la bordure (Version flash)'),
+            'default' => 100,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'bookShadeColor',
+            'type' => 'Color',
+            'label' => __('Couleur de l\'ombre sous la publication'),
+            'default' => 'rgba(0,0,0,0.4)',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'displayPageNumber',
+            'type' => 'Checkbox',
+            'label' => __('Afficher les numéros de page'),
+            'default' => true,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'colorPageNumber',
+            'type' => 'Color',
+            'label' => __('Couleur des numéros de page'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'linksColor',
+            'type' => 'Color',
+            'label' => __('Couleur des liens'),
+            'default' => 'rgba(0,14,0,0.047058823529412)',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'videoBackgroundColor',
+            'type' => 'Color',
+            'label' => __('Couleur de fond des videos'),
+            'default' => '#000000',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'tooltipBackColor',
+            'type' => 'Color',
+            'label' => __('Couleur de fond des infobulles'),
+            'default' => 'rgba(0,0,0,0.8)',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'tooltipTextColor',
+            'type' => 'Color',
+            'label' => __('Couleur du texte des infobulles'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'tooltipTextSize',
+            'type' => 'Integer',
+            'label' => __('Taille du texte des infobulles'),
+            'default' => 100,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'bookmarkBackgroundColor',
+            'type' => 'Color',
+            'label' => __('Couleur de fond des marques-pages'),
+            'default' => '#adadad',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'bookmarkStarDisabledColor',
+            'type' => 'Color',
+            'label' => __('Couleur de l\'étoile désactivée'),
+            'default' => 'transparent',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'bookmarkStarEnabledColor',
+            'type' => 'Color',
+            'label' => __('Couleur de l\'étoile activée'),
+            'default' => '#ff7700',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la publication'),
+        ]);
+        $this->addField([
+            'name' => 'creditsColor',
+            'type' => 'Color',
+            'label' => __('Couleur du texte'),
+            'default' => 'rgba(255,255,255,0.50196078431373)',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation des crédits'),
+        ]);
+        $this->addField([
+            'name' => 'transparentBackground',
+            'type' => 'Checkbox',
+            'label' => __('Fond transparent'),
+            'hint' => __('Si cette option est cochée, aucun fond ne sera pris en compte (ni l\'image, ni la couleur)'),
+            'default' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du fond'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation du fond'),
+        ]);
+        $this->addField([
+            'name' => 'backgroundColor',
+            'type' => 'Color',
+            'label' => __('Couleur du fond'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du fond'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation du fond'),
+        ]);
+        $this->addField([
+            'name' => 'backgroundImage',
+            'type' => 'Images',
+            'label' => __('Image de fond'),
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du fond'),
+        ]);
+        $this->addField([
+            'name' => 'repeat',
+            'type' => 'SelectFromArray',
+            'options' => [
+                0 => 'Etirer',
+                2 => 'Etirer le fond en conservant les proportions',
+                1 => 'Répéter',
+                3 => 'Ne pas répéter ni étirer',
+            ],
+            'label' => __('Affichage du fond'),
+            'default' => 0,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du fond'),
+        ]);
+        $this->addField([
+            'name' => 'backgroundHAlign',
+            'type' => 'SelectFromArray',
+            'options' => [
+                4 => 'Centré',
+                5 => 'Gauche',
+                6 => 'Droite',
+            ],
+            'label' => __('Alignement Horizontal'),
+            'default' => 4,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du fond'),
+        ]);
+        $this->addField([
+            'name' => 'backgroundVAlign',
+            'type' => 'SelectFromArray',
+            'options' => [
+                7 => 'Milieu',
+                8 => 'Haut',
+                9 => 'Bas',
+            ],
+            'label' => __('Alignement Vertical'),
+            'default' => 7,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du fond'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation du fond'),
+        ]);
+        $this->addField([
+            'name' => 'displayBackgroundDuringLoading',
+            'type' => 'Checkbox',
+            'label' => __('Afficher le fond pendant le chargement'),
+            'hint' => __('Si cette option est désactivée, le fond ne sera affiché qu\'à la fin du chargement'),
+            'default' => true,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du fond'),
+        ]);
+        $this->addField([
+            'name' => 'menuHeight',
+            'type' => 'Integer',
+            'label' => __('Hauteur (en pixels)'),
+            'default' => 60,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'name' => 'menuColor',
+            'type' => 'Color',
+            'label' => __('Couleur du fond'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'name' => 'menuImage',
+            'type' => 'Images',
+            'label' => __('Image de fond'),
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'name' => 'shadeOnMenu',
+            'type' => 'Checkbox',
+            'label' => __('Ombre portée sous la barre du menu'),
+            'default' => true,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'name' => 'invertMenuPosition',
+            'type' => 'Checkbox',
+            'label' => __('Intervertir le menu et le logo'),
+            'default' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'name' => 'topBar',
+            'type' => 'Images',
+            'label' => __('Top Bar'),
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'name' => 'topBarAlign',
+            'type' => 'SelectFromArray',
+            'options' => [
+                4 => 'Centré',
+                5 => 'Gauche',
+                6 => 'Droite',
+            ],
+            'label' => __('Alignement Horizontal de la Top Bar'),
+            'default' => 5,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'name' => 'afterSearch',
+            'type' => 'Images',
+            'label' => __('Image supplémentaire'),
+            'hint' => __('Image disposée à droite du champ de recherche'),
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre de menu'),
+        ]);
+        $this->addField([
+            'name' => 'logo',
+            'type' => 'Images',
+            'label' => __('Logo'),
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du logo'),
+        ]);
+        $this->addField([
+            'name' => 'logoHideWhenOverriden',
+            'type' => 'Checkbox',
+            'label' => __('Cacher le logo lorsqu\'il est partiellement masqué par la publication'),
+            'default' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du logo'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation du logo'),
+        ]);
+        $this->addField([
+            'name' => 'favicon',
+            'type' => 'Images',
+            'label' => __('Icone (pour favicon et CD-ROM)'),
+            'hint' => __('Image PNG de 256x256'),
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du logo'),
+        ]);
+        $this->addField([
+            'name' => 'iosicon',
+            'type' => 'Images',
+            'label' => __('Icone (pour application iOS)'),
+            'hint' => __('Image PNG de 1024x1024'),
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du logo'),
+        ]);
+        $this->addField([
+            'name' => 'androidicon',
+            'type' => 'Images',
+            'label' => __('Icone (pour application Android)'),
+            'hint' => __('Image PNG de 1024x1024'),
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du logo'),
+        ]);
+        $this->addField([
+            'name' => 'loadingBackColor',
+            'type' => 'Color',
+            'label' => __('Couleur du fond affichée avant l\'affichage de l\'image de fond'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du loader'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation du loader'),
+        ]);
+        $this->addField([
+            'name' => 'couleurL',
+            'type' => 'Color',
+            'label' => __('Couleur principale de la barre de chargement'),
+            'default' => '#000000',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du loader'),
+        ]);
+        $this->addField([
+            'name' => 'loadingSecColor',
+            'type' => 'Color',
+            'label' => __('Couleur secondaire de la barre de chargement'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du loader'),
+        ]);
+        $this->addField([
+            'name' => 'logoLoader',
+            'type' => 'Images',
+            'label' => __('Logo affiché au chargement'),
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du loader'),
+        ]);
+        $this->addField([
+            'name' => 'loaderPosition',
+            'type' => 'Checkbox',
+            'label' => __('Placer le logo à gauche et le loader à droite'),
+            'default' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation du loader'),
+        ]);
+        $this->addField([
+            'name' => 'pagesBar',
+            'type' => 'Checkbox',
+            'label' => __('Afficher la barre d\'accès rapide aux pages'),
+            'default' => true,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre des pages'),
+        ]);
+        $this->addField([
+            'name' => 'pageBarThumbBack',
+            'type' => 'Color',
+            'label' => __('Couleur de fond de la boîte'),
+            'default' => 'rgba(0,0,0,0.50196078431373)',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre des pages'),
+        ]);
+        $this->addField([
+            'type' => 'FormSeparator',
+            'tab' => __('Personnalisation de la barre des pages'),
+        ]);
+        $this->addField([
+            'name' => 'bookmarkColor',
+            'type' => 'Color',
+            'label' => __('Couleur des marques-pages'),
+            'default' => '#ffffff',
+            'allows_alpha' => false,
+            'fake' => true,
+            'store_in' => 'settings',
+            'translatable' => false,
+            'tab' => __('Personnalisation de la barre des pages'),
+        ]);
+
+    }
+}
index 9244b2510b81bf5ac0f83ef73cdfd1b54f241be8..07117186aef34bf065eae4e933f095e6f6501560 100644 (file)
             "source": {
                 "type": "git",
                 "url": "git://git.cubedesigners.com/cubedesigners_userdatabase.git",
-                "reference": "efd98ff72892e259d263baf6498c14cc72365e94"
+                "reference": "468f34c871bca91fa477542d0a3941409cdb35d6"
             },
             "dist": {
                 "type": "tar",
-                "url": "https://composer.cubedesigners.com/dist/cubedesigners/userdatabase/cubedesigners-userdatabase-dev-master-e6fb66.tar",
-                "reference": "efd98ff72892e259d263baf6498c14cc72365e94",
-                "shasum": "cbb93499fc2afb33227dfca99f00d17c2e9b664d"
+                "url": "https://composer.cubedesigners.com/dist/cubedesigners/userdatabase/cubedesigners-userdatabase-dev-master-dce46a.tar",
+                "reference": "468f34c871bca91fa477542d0a3941409cdb35d6",
+                "shasum": "7610d52039fa365a0e9e352ff461818b67ec1fd3"
             },
             "require": {
                 "cubist/cms-back": "dev-master"
                 }
             ],
             "description": "Cubedesigners common users database",
-            "time": "2020-12-16T10:27:58+00:00"
+            "time": "2021-01-12T12:35:02+00:00"
         },
         {
             "name": "cubist/cms-back",
             "source": {
                 "type": "git",
                 "url": "git://git.cubedesigners.com/cubist_cms-back.git",
-                "reference": "8d2dbf51f928cb6f6e3aa55a65d273d289c1702e"
+                "reference": "11753440231870534189111269b8abeb19325807"
             },
             "dist": {
                 "type": "tar",
-                "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-fc65ea.tar",
-                "reference": "8d2dbf51f928cb6f6e3aa55a65d273d289c1702e",
-                "shasum": "a213a89c08ea4c4e978280a352e5f7ec86ea9be3"
+                "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-f41db6.tar",
+                "reference": "11753440231870534189111269b8abeb19325807",
+                "shasum": "d6e6105cdb048be41c53a2bc85ffcf454ff1a305"
             },
             "require": {
                 "backpack/backupmanager": "^2.0",
                 }
             ],
             "description": "Cubist Backpack extension",
-            "time": "2021-01-07T14:52:46+00:00"
+            "time": "2021-01-07T16:39:27+00:00"
         },
         {
             "name": "cubist/cms-front",
         },
         {
             "name": "laravel/framework",
-            "version": "v7.30.1",
+            "version": "v7.30.3",
             "source": {
                 "type": "git",
                 "url": "https://github.com/laravel/framework.git",
-                "reference": "e73855b18dcfc645c36d2474f437e4e73dd3c11d"
+                "reference": "28481951106e75cf8c5a8b24100059fa327df1ef"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/laravel/framework/zipball/e73855b18dcfc645c36d2474f437e4e73dd3c11d",
-                "reference": "e73855b18dcfc645c36d2474f437e4e73dd3c11d",
+                "url": "https://api.github.com/repos/laravel/framework/zipball/28481951106e75cf8c5a8b24100059fa327df1ef",
+                "reference": "28481951106e75cf8c5a8b24100059fa327df1ef",
                 "shasum": ""
             },
             "require": {
                 "issues": "https://github.com/laravel/framework/issues",
                 "source": "https://github.com/laravel/framework"
             },
-            "time": "2020-12-22T17:00:45+00:00"
+            "time": "2021-01-15T15:38:30+00:00"
         },
         {
             "name": "lavary/laravel-menu",
-            "version": "v1.8.0",
+            "version": "v1.8.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/lavary/laravel-menu.git",
-                "reference": "02c58d8284c47a33eb365873a02953bff8c95d31"
+                "reference": "8c57284c30e533f46a68dd1b3726cdc096204ceb"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/lavary/laravel-menu/zipball/02c58d8284c47a33eb365873a02953bff8c95d31",
-                "reference": "02c58d8284c47a33eb365873a02953bff8c95d31",
+                "url": "https://api.github.com/repos/lavary/laravel-menu/zipball/8c57284c30e533f46a68dd1b3726cdc096204ceb",
+                "reference": "8c57284c30e533f46a68dd1b3726cdc096204ceb",
                 "shasum": ""
             },
             "require": {
             ],
             "support": {
                 "issues": "https://github.com/lavary/laravel-menu/issues",
-                "source": "https://github.com/lavary/laravel-menu/tree/v1.8.0"
+                "source": "https://github.com/lavary/laravel-menu/tree/v1.8.1"
             },
-            "time": "2020-12-12T18:16:03+00:00"
+            "time": "2021-01-19T16:24:30+00:00"
         },
         {
             "name": "league/commonmark",
         },
         {
             "name": "league/mime-type-detection",
-            "version": "1.5.1",
+            "version": "1.7.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/thephpleague/mime-type-detection.git",
-                "reference": "353f66d7555d8a90781f6f5e7091932f9a4250aa"
+                "reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/353f66d7555d8a90781f6f5e7091932f9a4250aa",
-                "reference": "353f66d7555d8a90781f6f5e7091932f9a4250aa",
+                "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3",
+                "reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3",
                 "shasum": ""
             },
             "require": {
                 "php": "^7.2 || ^8.0"
             },
             "require-dev": {
-                "phpstan/phpstan": "^0.12.36",
-                "phpunit/phpunit": "^8.5.8"
+                "friendsofphp/php-cs-fixer": "^2.18",
+                "phpstan/phpstan": "^0.12.68",
+                "phpunit/phpunit": "^8.5.8 || ^9.3"
             },
             "type": "library",
             "autoload": {
             "description": "Mime-type detection for Flysystem",
             "support": {
                 "issues": "https://github.com/thephpleague/mime-type-detection/issues",
-                "source": "https://github.com/thephpleague/mime-type-detection/tree/1.5.1"
+                "source": "https://github.com/thephpleague/mime-type-detection/tree/1.7.0"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-10-18T11:50:25+00:00"
+            "time": "2021-01-18T20:58:21+00:00"
         },
         {
             "name": "maennchen/zipstream-php",
         },
         {
             "name": "maximebf/debugbar",
-            "version": "v1.16.4",
+            "version": "v1.16.5",
             "source": {
                 "type": "git",
                 "url": "https://github.com/maximebf/php-debugbar.git",
-                "reference": "c86c717e4bf3c6d98422da5c38bfa7b0f494b04c"
+                "reference": "6d51ee9e94cff14412783785e79a4e7ef97b9d62"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/c86c717e4bf3c6d98422da5c38bfa7b0f494b04c",
-                "reference": "c86c717e4bf3c6d98422da5c38bfa7b0f494b04c",
+                "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/6d51ee9e94cff14412783785e79a4e7ef97b9d62",
+                "reference": "6d51ee9e94cff14412783785e79a4e7ef97b9d62",
                 "shasum": ""
             },
             "require": {
             ],
             "support": {
                 "issues": "https://github.com/maximebf/php-debugbar/issues",
-                "source": "https://github.com/maximebf/php-debugbar/tree/v1.16.4"
+                "source": "https://github.com/maximebf/php-debugbar/tree/v1.16.5"
             },
-            "time": "2020-12-07T10:48:48+00:00"
+            "time": "2020-12-07T11:07:24+00:00"
         },
         {
             "name": "monolog/monolog",
         },
         {
             "name": "spatie/laravel-backup",
-            "version": "6.14.2",
+            "version": "6.14.3",
             "source": {
                 "type": "git",
                 "url": "https://github.com/spatie/laravel-backup.git",
-                "reference": "3374e1eeb09ef32c6bfd495ae1f2f4de4b594922"
+                "reference": "8a4c95bffffde831edaca64bdef55aac213d0eef"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/3374e1eeb09ef32c6bfd495ae1f2f4de4b594922",
-                "reference": "3374e1eeb09ef32c6bfd495ae1f2f4de4b594922",
+                "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/8a4c95bffffde831edaca64bdef55aac213d0eef",
+                "reference": "8a4c95bffffde831edaca64bdef55aac213d0eef",
                 "shasum": ""
             },
             "require": {
             ],
             "support": {
                 "issues": "https://github.com/spatie/laravel-backup/issues",
-                "source": "https://github.com/spatie/laravel-backup/tree/6.14.2"
+                "source": "https://github.com/spatie/laravel-backup/tree/6.14.3"
             },
             "funding": [
                 {
                     "type": "other"
                 }
             ],
-            "time": "2020-12-23T10:13:12+00:00"
+            "time": "2021-01-15T13:25:43+00:00"
         },
         {
             "name": "spatie/laravel-googletagmanager",
         },
         {
             "name": "swiftmailer/swiftmailer",
-            "version": "v6.2.4",
+            "version": "v6.2.5",
             "source": {
                 "type": "git",
                 "url": "https://github.com/swiftmailer/swiftmailer.git",
-                "reference": "56f0ab23f54c4ccbb0d5dcc67ff8552e0c98d59e"
+                "reference": "698a6a9f54d7eb321274de3ad19863802c879fb7"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/56f0ab23f54c4ccbb0d5dcc67ff8552e0c98d59e",
-                "reference": "56f0ab23f54c4ccbb0d5dcc67ff8552e0c98d59e",
+                "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/698a6a9f54d7eb321274de3ad19863802c879fb7",
+                "reference": "698a6a9f54d7eb321274de3ad19863802c879fb7",
                 "shasum": ""
             },
             "require": {
             ],
             "support": {
                 "issues": "https://github.com/swiftmailer/swiftmailer/issues",
-                "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.4"
+                "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.5"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-12-08T18:02:06+00:00"
+            "time": "2021-01-12T09:35:59+00:00"
         },
         {
             "name": "symfony/console",
         },
         {
             "name": "symfony/polyfill-ctype",
-            "version": "v1.20.0",
+            "version": "v1.22.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/polyfill-ctype.git",
-                "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41"
+                "reference": "c6c942b1ac76c82448322025e084cadc56048b4e"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f4ba089a5b6366e453971d3aad5fe8e897b37f41",
-                "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41",
+                "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e",
+                "reference": "c6c942b1ac76c82448322025e084cadc56048b4e",
                 "shasum": ""
             },
             "require": {
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-main": "1.20-dev"
+                    "dev-main": "1.22-dev"
                 },
                 "thanks": {
                     "name": "symfony/polyfill",
                 "portable"
             ],
             "support": {
-                "source": "https://github.com/symfony/polyfill-ctype/tree/v1.20.0"
+                "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.0"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-10-23T14:02:19+00:00"
+            "time": "2021-01-07T16:49:33+00:00"
         },
         {
             "name": "symfony/polyfill-iconv",
-            "version": "v1.20.0",
+            "version": "v1.22.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/polyfill-iconv.git",
-                "reference": "c536646fdb4f29104dd26effc2fdcb9a5b085024"
+                "reference": "b34bfb8c4c22650ac080d2662ae3502e5f2f4ae6"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/c536646fdb4f29104dd26effc2fdcb9a5b085024",
-                "reference": "c536646fdb4f29104dd26effc2fdcb9a5b085024",
+                "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/b34bfb8c4c22650ac080d2662ae3502e5f2f4ae6",
+                "reference": "b34bfb8c4c22650ac080d2662ae3502e5f2f4ae6",
                 "shasum": ""
             },
             "require": {
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-main": "1.20-dev"
+                    "dev-main": "1.22-dev"
                 },
                 "thanks": {
                     "name": "symfony/polyfill",
                 "shim"
             ],
             "support": {
-                "source": "https://github.com/symfony/polyfill-iconv/tree/v1.20.0"
+                "source": "https://github.com/symfony/polyfill-iconv/tree/v1.22.0"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-10-23T14:02:19+00:00"
+            "time": "2021-01-07T16:49:33+00:00"
         },
         {
             "name": "symfony/polyfill-intl-grapheme",
-            "version": "v1.20.0",
+            "version": "v1.22.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
-                "reference": "c7cf3f858ec7d70b89559d6e6eb1f7c2517d479c"
+                "reference": "267a9adeb8ecb8071040a740930e077cdfb987af"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/c7cf3f858ec7d70b89559d6e6eb1f7c2517d479c",
-                "reference": "c7cf3f858ec7d70b89559d6e6eb1f7c2517d479c",
+                "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/267a9adeb8ecb8071040a740930e077cdfb987af",
+                "reference": "267a9adeb8ecb8071040a740930e077cdfb987af",
                 "shasum": ""
             },
             "require": {
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-main": "1.20-dev"
+                    "dev-main": "1.22-dev"
                 },
                 "thanks": {
                     "name": "symfony/polyfill",
                 "shim"
             ],
             "support": {
-                "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.20.0"
+                "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.0"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-10-23T14:02:19+00:00"
+            "time": "2021-01-07T16:49:33+00:00"
         },
         {
             "name": "symfony/polyfill-intl-idn",
-            "version": "v1.20.0",
+            "version": "v1.22.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/polyfill-intl-idn.git",
-                "reference": "3b75acd829741c768bc8b1f84eb33265e7cc5117"
+                "reference": "0eb8293dbbcd6ef6bf81404c9ce7d95bcdf34f44"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/3b75acd829741c768bc8b1f84eb33265e7cc5117",
-                "reference": "3b75acd829741c768bc8b1f84eb33265e7cc5117",
+                "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/0eb8293dbbcd6ef6bf81404c9ce7d95bcdf34f44",
+                "reference": "0eb8293dbbcd6ef6bf81404c9ce7d95bcdf34f44",
                 "shasum": ""
             },
             "require": {
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-main": "1.20-dev"
+                    "dev-main": "1.22-dev"
                 },
                 "thanks": {
                     "name": "symfony/polyfill",
                 "shim"
             ],
             "support": {
-                "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.20.0"
+                "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.22.0"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-10-23T14:02:19+00:00"
+            "time": "2021-01-07T16:49:33+00:00"
         },
         {
             "name": "symfony/polyfill-intl-normalizer",
-            "version": "v1.20.0",
+            "version": "v1.22.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
-                "reference": "727d1096295d807c309fb01a851577302394c897"
+                "reference": "6e971c891537eb617a00bb07a43d182a6915faba"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/727d1096295d807c309fb01a851577302394c897",
-                "reference": "727d1096295d807c309fb01a851577302394c897",
+                "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/6e971c891537eb617a00bb07a43d182a6915faba",
+                "reference": "6e971c891537eb617a00bb07a43d182a6915faba",
                 "shasum": ""
             },
             "require": {
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-main": "1.20-dev"
+                    "dev-main": "1.22-dev"
                 },
                 "thanks": {
                     "name": "symfony/polyfill",
                 "shim"
             ],
             "support": {
-                "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.20.0"
+                "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.0"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-10-23T14:02:19+00:00"
+            "time": "2021-01-07T17:09:11+00:00"
         },
         {
             "name": "symfony/polyfill-mbstring",
-            "version": "v1.20.0",
+            "version": "v1.22.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/polyfill-mbstring.git",
-                "reference": "39d483bdf39be819deabf04ec872eb0b2410b531"
+                "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/39d483bdf39be819deabf04ec872eb0b2410b531",
-                "reference": "39d483bdf39be819deabf04ec872eb0b2410b531",
+                "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f377a3dd1fde44d37b9831d68dc8dea3ffd28e13",
+                "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13",
                 "shasum": ""
             },
             "require": {
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-main": "1.20-dev"
+                    "dev-main": "1.22-dev"
                 },
                 "thanks": {
                     "name": "symfony/polyfill",
                 "shim"
             ],
             "support": {
-                "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.20.0"
+                "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.0"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-10-23T14:02:19+00:00"
+            "time": "2021-01-07T16:49:33+00:00"
         },
         {
             "name": "symfony/polyfill-php72",
-            "version": "v1.20.0",
+            "version": "v1.22.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/polyfill-php72.git",
-                "reference": "cede45fcdfabdd6043b3592e83678e42ec69e930"
+                "reference": "cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/cede45fcdfabdd6043b3592e83678e42ec69e930",
-                "reference": "cede45fcdfabdd6043b3592e83678e42ec69e930",
+                "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9",
+                "reference": "cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9",
                 "shasum": ""
             },
             "require": {
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-main": "1.20-dev"
+                    "dev-main": "1.22-dev"
                 },
                 "thanks": {
                     "name": "symfony/polyfill",
                 "shim"
             ],
             "support": {
-                "source": "https://github.com/symfony/polyfill-php72/tree/v1.20.0"
+                "source": "https://github.com/symfony/polyfill-php72/tree/v1.22.0"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-10-23T14:02:19+00:00"
+            "time": "2021-01-07T16:49:33+00:00"
         },
         {
             "name": "symfony/polyfill-php73",
-            "version": "v1.20.0",
+            "version": "v1.22.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/polyfill-php73.git",
-                "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed"
+                "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/8ff431c517be11c78c48a39a66d37431e26a6bed",
-                "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed",
+                "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
+                "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
                 "shasum": ""
             },
             "require": {
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-main": "1.20-dev"
+                    "dev-main": "1.22-dev"
                 },
                 "thanks": {
                     "name": "symfony/polyfill",
                 "shim"
             ],
             "support": {
-                "source": "https://github.com/symfony/polyfill-php73/tree/v1.20.0"
+                "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.0"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-10-23T14:02:19+00:00"
+            "time": "2021-01-07T16:49:33+00:00"
         },
         {
             "name": "symfony/polyfill-php80",
-            "version": "v1.20.0",
+            "version": "v1.22.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/polyfill-php80.git",
-                "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de"
+                "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/e70aa8b064c5b72d3df2abd5ab1e90464ad009de",
-                "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de",
+                "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91",
+                "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91",
                 "shasum": ""
             },
             "require": {
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-main": "1.20-dev"
+                    "dev-main": "1.22-dev"
                 },
                 "thanks": {
                     "name": "symfony/polyfill",
                 "shim"
             ],
             "support": {
-                "source": "https://github.com/symfony/polyfill-php80/tree/v1.20.0"
+                "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.0"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-10-23T14:02:19+00:00"
+            "time": "2021-01-07T16:49:33+00:00"
         },
         {
             "name": "symfony/process",
         },
         {
             "name": "composer/ca-bundle",
-            "version": "1.2.8",
+            "version": "1.2.9",
             "source": {
                 "type": "git",
                 "url": "https://github.com/composer/ca-bundle.git",
-                "reference": "8a7ecad675253e4654ea05505233285377405215"
+                "reference": "78a0e288fdcebf92aa2318a8d3656168da6ac1a5"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/composer/ca-bundle/zipball/8a7ecad675253e4654ea05505233285377405215",
-                "reference": "8a7ecad675253e4654ea05505233285377405215",
+                "url": "https://api.github.com/repos/composer/ca-bundle/zipball/78a0e288fdcebf92aa2318a8d3656168da6ac1a5",
+                "reference": "78a0e288fdcebf92aa2318a8d3656168da6ac1a5",
                 "shasum": ""
             },
             "require": {
                 "php": "^5.3.2 || ^7.0 || ^8.0"
             },
             "require-dev": {
-                "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8",
+                "phpstan/phpstan": "^0.12.55",
                 "psr/log": "^1.0",
+                "symfony/phpunit-bridge": "^4.2 || ^5",
                 "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0"
             },
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-master": "1.x-dev"
+                    "dev-main": "1.x-dev"
                 }
             },
             "autoload": {
             "support": {
                 "irc": "irc://irc.freenode.org/composer",
                 "issues": "https://github.com/composer/ca-bundle/issues",
-                "source": "https://github.com/composer/ca-bundle/tree/1.2.8"
+                "source": "https://github.com/composer/ca-bundle/tree/1.2.9"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2020-08-23T12:54:47+00:00"
+            "time": "2021-01-12T12:10:35+00:00"
         },
         {
             "name": "composer/composer",
         },
         {
             "name": "phpunit/phpunit",
-            "version": "8.5.13",
+            "version": "8.5.14",
             "source": {
                 "type": "git",
                 "url": "https://github.com/sebastianbergmann/phpunit.git",
-                "reference": "8e86be391a58104ef86037ba8a846524528d784e"
+                "reference": "c25f79895d27b6ecd5abfa63de1606b786a461a3"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8e86be391a58104ef86037ba8a846524528d784e",
-                "reference": "8e86be391a58104ef86037ba8a846524528d784e",
+                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c25f79895d27b6ecd5abfa63de1606b786a461a3",
+                "reference": "c25f79895d27b6ecd5abfa63de1606b786a461a3",
                 "shasum": ""
             },
             "require": {
             ],
             "support": {
                 "issues": "https://github.com/sebastianbergmann/phpunit/issues",
-                "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.13"
+                "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.14"
             },
             "funding": [
                 {
                     "type": "github"
                 }
             ],
-            "time": "2020-12-01T04:53:52+00:00"
+            "time": "2021-01-17T07:37:30+00:00"
         },
         {
             "name": "psy/psysh",
-            "version": "v0.10.5",
+            "version": "v0.10.6",
             "source": {
                 "type": "git",
                 "url": "https://github.com/bobthecow/psysh.git",
-                "reference": "7c710551d4a2653afa259c544508dc18a9098956"
+                "reference": "6f990c19f91729de8b31e639d6e204ea59f19cf3"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/bobthecow/psysh/zipball/7c710551d4a2653afa259c544508dc18a9098956",
-                "reference": "7c710551d4a2653afa259c544508dc18a9098956",
+                "url": "https://api.github.com/repos/bobthecow/psysh/zipball/6f990c19f91729de8b31e639d6e204ea59f19cf3",
+                "reference": "6f990c19f91729de8b31e639d6e204ea59f19cf3",
                 "shasum": ""
             },
             "require": {
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-master": "0.10.x-dev"
+                    "dev-main": "0.10.x-dev"
                 }
             },
             "autoload": {
             ],
             "support": {
                 "issues": "https://github.com/bobthecow/psysh/issues",
-                "source": "https://github.com/bobthecow/psysh/tree/v0.10.5"
+                "source": "https://github.com/bobthecow/psysh/tree/v0.10.6"
             },
-            "time": "2020-12-04T02:51:30+00:00"
+            "time": "2021-01-18T15:53:43+00:00"
         },
         {
             "name": "sebastian/code-unit-reverse-lookup",