1+ import { t } from "../i18n/translater.js" ;
2+
3+ export const carousel_params = {
4+ name : 'params' ,
5+ label : t . fields . carousel . fields . params ,
6+ widget : 'object' ,
7+ required : false ,
8+ i18n : true ,
9+ collapsed : false ,
10+ fields : [
11+ { name : 'focus' , label : t . fields . carousel . fields . focus . label , hint : t . fields . carousel . fields . focus . hint , widget : 'boolean' , options : [ 'slide' , 'loop' , 'fade' ] , required : false , i18n : 'duplicate' } ,
12+ { name : 'autoplay' , label : t . fields . carousel . fields . autoplay , widget : 'boolean' , required : false , i18n : 'duplicate' } ,
13+ { name : 'arrows' , label : t . fields . carousel . fields . arrows , widget : 'boolean' , required : false , i18n : 'duplicate' } ,
14+ { name : 'pagination' , label : t . fields . carousel . fields . pagination , widget : 'boolean' , default : true , required : false , i18n : 'duplicate' } ,
15+ { name : 'type' , label : t . fields . carousel . fields . type , widget : 'select' , options : [ 'slide' , 'loop' , 'fade' ] , required : false , i18n : 'duplicate' } ,
16+ { name : 'perPage' , label : t . fields . carousel . fields . perPage . label , hint : t . fields . carousel . fields . perPage . hint , widget : 'number' , min : 1 , required : false , i18n : 'duplicate' } ,
17+ { name : 'padding' , label : t . fields . carousel . fields . padding . label , hint : t . fields . carousel . fields . padding . hint , widget : 'number' , min : 0 , hint : 'Exprimé en rem' , required : false , i18n : 'duplicate' } ,
18+ { name : 'gap' , label : t . fields . carousel . fields . gap . label , hint : t . fields . carousel . fields . gap . hint , widget : 'number' , min : 0 , hint : 'Exprimé en rem' , required : false , i18n : 'duplicate' } ,
19+ ]
20+ }
0 commit comments