| Current Path : /home/eolienneia/www/templates/yootheme/vendor/yootheme/builder-joomla/elements/module/ |
| Current File : /home/eolienneia/www/templates/yootheme/vendor/yootheme/builder-joomla/elements/module/element.json |
{
"@import": "./element.php",
"name": "module",
"title": "Module",
"group": "system",
"icon": "${url:images/icon.svg}",
"iconSmall": "${url:images/iconSmall.svg}",
"element": true,
"width": 500,
"templates": {
"render": "./templates/template.php"
},
"fields": {
"module": {
"type": "select-module",
"label": "Module",
"description": "Any Joomla module can be displayed in your custom layout."
},
"style": {
"type": "select",
"label": "Style",
"description": "Select a panel style.",
"options": {
"None": "",
"Card Default": "card-default",
"Card Primary": "card-primary",
"Card Secondary": "card-secondary",
"Card Hover": "card-hover"
}
},
"title_style": {
"type": "select",
"label": "Style",
"description": "Title styles differ in font-size but may also come with a predefined color, size and font.",
"options": {
"None": "",
"2Xlarge": "heading-2xlarge",
"XLarge": "heading-xlarge",
"Large": "heading-large",
"Medium": "heading-medium",
"Small": "heading-small",
"H1": "h1",
"H2": "h2",
"H3": "h3",
"H4": "h4",
"H5": "h5",
"H6": "h6",
"Meta": "meta",
"Lead": "lead"
}
},
"title_decoration": {
"type": "select",
"label": "Decoration",
"description": "Decorate the title with a divider, bullet or a line that is vertically centered to the heading.",
"options": {
"None": "",
"Divider": "divider",
"Bullet": "bullet",
"Line": "line"
}
},
"title_font_family": {
"label": "Font Family",
"description": "Select an alternative font family. Mind that not all styles have different font families.",
"type": "select",
"options": {
"None": "",
"Default": "default",
"Primary": "primary",
"Secondary": "secondary",
"Tertiary": "tertiary"
}
},
"title_color": {
"type": "select",
"label": "Color",
"description": "Select the text color. If the background option is selected, styles that don't apply a background image use the primary color instead.",
"options": {
"None": "",
"Muted": "muted",
"Primary": "primary",
"Success": "success",
"Warning": "warning",
"Danger": "danger",
"Background": "background"
}
},
"list_style": {
"label": "List Style",
"description": "Select the list style.",
"type": "select",
"options": {
"None": "",
"Divider": "divider"
},
"enable": "$match(type, 'articles_archive|articles_categories|articles_latest|articles_popular|tags_popular|tags_similar')"
},
"link_style": {
"label": "Link Style",
"description": "Select the link style.",
"type": "select",
"options": {
"None": "",
"Muted": "muted"
},
"enable": "$match(type, 'articles_archive|articles_categories|articles_latest|articles_popular|tags_popular|tags_similar')"
},
"menu_style": {
"label": "Style",
"description": "Select the menu style",
"type": "select",
"default": "nav",
"options": {
"Nav": "nav",
"Subnav": "subnav"
},
"enable": "$match(type, 'menu')"
},
"menu_divider": {
"type": "checkbox",
"text": "Show dividers",
"enable": "(menu_style == 'nav') && $match(type, 'menu')"
},
"position": "${builder.position}",
"position_left": "${builder.position_left}",
"position_right": "${builder.position_right}",
"position_top": "${builder.position_top}",
"position_bottom": "${builder.position_bottom}",
"position_z_index": "${builder.position_z_index}",
"margin": "${builder.margin}",
"margin_remove_top": "${builder.margin_remove_top}",
"margin_remove_bottom": "${builder.margin_remove_bottom}",
"maxwidth": "${builder.maxwidth}",
"maxwidth_breakpoint": "${builder.maxwidth_breakpoint}",
"block_align": "${builder.block_align}",
"block_align_breakpoint": "${builder.block_align_breakpoint}",
"block_align_fallback": "${builder.block_align_fallback}",
"text_align": "${builder.text_align_justify}",
"text_align_breakpoint": "${builder.text_align_breakpoint}",
"text_align_fallback": "${builder.text_align_justify_fallback}",
"animation": "${builder.animation}",
"_parallax_button": "${builder._parallax_button}",
"visibility": "${builder.visibility}",
"name": "${builder.name}",
"status": "${builder.status}",
"id": "${builder.id}",
"class": "${builder.cls}",
"attributes": "${builder.attrs}",
"css": {
"label": "CSS",
"description": "Enter your own custom CSS. The following selectors will be prefixed automatically for this element: <code>.el-element</code>, <code>.el-title</code>",
"type": "editor",
"editor": "code",
"mode": "css",
"attrs": {
"debounce": 500
}
}
},
"fieldset": {
"default": {
"type": "tabs",
"fields": [
{
"title": "Content",
"fields": ["module"]
},
{
"title": "Settings",
"fields": [
{
"label": "Panel",
"type": "group",
"divider": true,
"fields": ["style"]
},
{
"label": "Title",
"type": "group",
"divider": true,
"fields": [
"title_style",
"title_decoration",
"title_font_family",
"title_color"
]
},
{
"label": "List",
"type": "group",
"divider": true,
"fields": ["list_style", "link_style"]
},
{
"label": "Menu",
"type": "group",
"divider": true,
"fields": ["menu_style", "menu_divider"]
},
{
"label": "General",
"type": "group",
"fields": [
"position",
"position_left",
"position_right",
"position_top",
"position_bottom",
"position_z_index",
"margin",
"margin_remove_top",
"margin_remove_bottom",
"maxwidth",
"maxwidth_breakpoint",
"block_align",
"block_align_breakpoint",
"block_align_fallback",
"text_align",
"text_align_breakpoint",
"text_align_fallback",
"animation",
"_parallax_button",
"visibility"
]
}
]
},
"${builder.advanced}"
]
}
}
}