UNPKG

ba-block-cli

Version:
227 lines 7.07 kB
{ "key": "group_634953af69cbb", "title": "Block - Contact", "fields": [ { "key": "field_643523ec2fe93", "label": "Hero section", "name": "hero_section", "aria-label": "", "type": "true_false", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "message": "", "default_value": 0, "ui_on_text": "", "ui_off_text": "", "ui": 1 }, { "key": "field_634953b539fad", "label": "Title", "name": "title", "aria-label": "", "type": "text", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "", "placeholder": "", "prepend": "", "append": "", "maxlength": "" }, { "key": "field_64352170f753e", "label": "Text", "name": "text", "aria-label": "", "type": "wysiwyg", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "", "tabs": "all", "toolbar": "full", "media_upload": 1, "delay": 0 }, { "key": "field_634953be39fae", "label": "Contact informations", "name": "contact_informations", "aria-label": "", "type": "repeater", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "collapsed": "field_634953e239fb0", "min": 0, "max": 0, "layout": "row", "button_label": "Add new address", "sub_fields": [ { "key": "field_643c0ccefac2f", "label": "Icon class", "name": "icon_class", "aria-label": "", "type": "text", "instructions": "Font Awesome icon classes", "required": 0, "conditional_logic": [ [ { "field": "field_634953d939faf", "operator": "==empty" } ] ], "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "fa fa-phone", "placeholder": "", "prepend": "", "append": "", "maxlength": "", "parent_repeater": "field_634953be39fae" }, { "key": "field_634953d939faf", "label": "Icon", "name": "icon", "aria-label": "", "type": "image", "instructions": "", "required": 0, "conditional_logic": [ [ { "field": "field_643c0ccefac2f", "operator": "==empty" } ] ], "wrapper": { "width": "", "class": "", "id": "" }, "return_format": "id", "preview_size": "medium", "library": "all", "min_width": "", "min_height": "", "min_size": "", "max_width": "", "max_height": "", "max_size": "", "mime_types": "", "parent_repeater": "field_634953be39fae" }, { "key": "field_634953e239fb0", "label": "Label", "name": "label", "aria-label": "", "type": "text", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "", "placeholder": "", "prepend": "", "append": "", "maxlength": "", "parent_repeater": "field_634953be39fae" }, { "key": "field_634953f139fb2", "label": "Link", "name": "link", "aria-label": "", "type": "link", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "return_format": "array", "parent_repeater": "field_634953be39fae" } ], "rows_per_page": 20 }, { "key": "field_64352179f753f", "label": "Shortcode", "name": "shortcode", "aria-label": "", "type": "text", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "", "maxlength": "", "placeholder": "", "prepend": "", "append": "" } ], "location": [ [ { "param": "block", "operator": "==", "value": "acf\/contact" } ] ], "menu_order": 0, "position": "normal", "style": "default", "label_placement": "top", "instruction_placement": "label", "hide_on_screen": "", "active": true, "description": "", "show_in_rest": 0, "modified": 1681658375 }