From 3db3e7d5e16b78553744c2c1f3c17d7cd61932ad Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 20 Jan 2021 17:39:39 +0100 Subject: [PATCH] wip #4216 @2 --- app/Fields/FluidbookLocale.php | 12 + app/Fields/FluidbookTheme.php | 12 + app/Models/FluidbookPublication.php | 34 + app/Models/FluidbookTheme.php | 1067 +++++++++++++++++++++++++++ composer.lock | 264 +++---- 5 files changed, 1258 insertions(+), 131 deletions(-) create mode 100644 app/Fields/FluidbookLocale.php create mode 100644 app/Fields/FluidbookTheme.php create mode 100644 app/Models/FluidbookPublication.php create mode 100644 app/Models/FluidbookTheme.php diff --git a/app/Fields/FluidbookLocale.php b/app/Fields/FluidbookLocale.php new file mode 100644 index 000000000..70c449f53 --- /dev/null +++ b/app/Fields/FluidbookLocale.php @@ -0,0 +1,12 @@ + '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 index 000000000..9fe34c3bb --- /dev/null +++ b/app/Models/FluidbookTheme.php @@ -0,0 +1,1067 @@ + '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'), + ]); + + } +} diff --git a/composer.lock b/composer.lock index 9244b2510..07117186a 100644 --- a/composer.lock +++ b/composer.lock @@ -1091,13 +1091,13 @@ "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" @@ -1128,7 +1128,7 @@ } ], "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", @@ -1136,13 +1136,13 @@ "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", @@ -1217,7 +1217,7 @@ } ], "description": "Cubist Backpack extension", - "time": "2021-01-07T14:52:46+00:00" + "time": "2021-01-07T16:39:27+00:00" }, { "name": "cubist/cms-front", @@ -3115,16 +3115,16 @@ }, { "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": { @@ -3273,20 +3273,20 @@ "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": { @@ -3327,9 +3327,9 @@ ], "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", @@ -3678,16 +3678,16 @@ }, { "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": { @@ -3695,8 +3695,9 @@ "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": { @@ -3717,7 +3718,7 @@ "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": [ { @@ -3729,7 +3730,7 @@ "type": "tidelift" } ], - "time": "2020-10-18T11:50:25+00:00" + "time": "2021-01-18T20:58:21+00:00" }, { "name": "maennchen/zipstream-php", @@ -3977,16 +3978,16 @@ }, { "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": { @@ -4036,9 +4037,9 @@ ], "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", @@ -5583,16 +5584,16 @@ }, { "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": { @@ -5656,7 +5657,7 @@ ], "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": [ { @@ -5668,7 +5669,7 @@ "type": "other" } ], - "time": "2020-12-23T10:13:12+00:00" + "time": "2021-01-15T13:25:43+00:00" }, { "name": "spatie/laravel-googletagmanager", @@ -6243,16 +6244,16 @@ }, { "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": { @@ -6302,7 +6303,7 @@ ], "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": [ { @@ -6314,7 +6315,7 @@ "type": "tidelift" } ], - "time": "2020-12-08T18:02:06+00:00" + "time": "2021-01-12T09:35:59+00:00" }, { "name": "symfony/console", @@ -7254,16 +7255,16 @@ }, { "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": { @@ -7275,7 +7276,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7313,7 +7314,7 @@ "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": [ { @@ -7329,20 +7330,20 @@ "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": { @@ -7354,7 +7355,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7393,7 +7394,7 @@ "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": [ { @@ -7409,20 +7410,20 @@ "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": { @@ -7434,7 +7435,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7474,7 +7475,7 @@ "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": [ { @@ -7490,20 +7491,20 @@ "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": { @@ -7517,7 +7518,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7561,7 +7562,7 @@ "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": [ { @@ -7577,20 +7578,20 @@ "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": { @@ -7602,7 +7603,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7645,7 +7646,7 @@ "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": [ { @@ -7661,20 +7662,20 @@ "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": { @@ -7686,7 +7687,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7725,7 +7726,7 @@ "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": [ { @@ -7741,20 +7742,20 @@ "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": { @@ -7763,7 +7764,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7801,7 +7802,7 @@ "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": [ { @@ -7817,20 +7818,20 @@ "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": { @@ -7839,7 +7840,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7880,7 +7881,7 @@ "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": [ { @@ -7896,20 +7897,20 @@ "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": { @@ -7918,7 +7919,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7963,7 +7964,7 @@ "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": [ { @@ -7979,7 +7980,7 @@ "type": "tidelift" } ], - "time": "2020-10-23T14:02:19+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/process", @@ -9050,16 +9051,16 @@ }, { "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": { @@ -9068,14 +9069,15 @@ "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": { @@ -9105,7 +9107,7 @@ "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": [ { @@ -9121,7 +9123,7 @@ "type": "tidelift" } ], - "time": "2020-08-23T12:54:47+00:00" + "time": "2021-01-12T12:10:35+00:00" }, { "name": "composer/composer", @@ -10962,16 +10964,16 @@ }, { "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": { @@ -11043,7 +11045,7 @@ ], "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": [ { @@ -11055,20 +11057,20 @@ "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": { @@ -11097,7 +11099,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "0.10.x-dev" + "dev-main": "0.10.x-dev" } }, "autoload": { @@ -11129,9 +11131,9 @@ ], "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", -- 2.39.5