wip: Builder features

This commit is contained in:
2025-09-22 14:22:21 -04:00
parent dcf12d9216
commit 23b4e13994
14 changed files with 949 additions and 362 deletions

View File

@@ -1,10 +1,15 @@
<?php
__( "1024px container", 'ccat' );
__( "1280px container", 'ccat' );
__( "640px container", 'ccat' );
__( "768px container", 'ccat' );
__( "Abstract &#8211; Builder", 'ccat' );
__( "Abstract &#8211; Credits", 'ccat' );
__( "Abstract &#8211; Entity", 'ccat' );
__( "Abstract &#8211; Gallery", 'ccat' );
__( "Abstract &#8211; Offer", 'ccat' );
__( "Abstract &#8211; Social", 'ccat' );
__( "Accented background", 'ccat' );
__( "Add File", 'ccat' );
__( "Address", 'ccat' );
__( "Adultes (18+)", 'ccat' );
@@ -12,6 +17,7 @@ __( "Ajouter un élément", 'ccat' );
__( "Alternative title(s)", 'ccat' );
__( "Attendance mode", 'ccat' );
__( "Auteur", 'ccat' );
__( "Background color", 'ccat' );
__( "Bar", 'ccat' );
__( "Billing", 'ccat' );
__( "Billing is the same as contact", 'ccat' );
@@ -27,6 +33,7 @@ __( "Configuration name", 'ccat' );
__( "Confirmed", 'ccat' );
__( "Contact", 'ccat' );
__( "Content", 'ccat' );
__( "Content width", 'ccat' );
__( "Contribution type(s)", 'ccat' );
__( "Contribution(s)", 'ccat' );
__( "Contributor", 'ccat' );
@@ -35,10 +42,13 @@ __( "Credits", 'ccat' );
__( "Date / time", 'ccat' );
__( "Date range", 'ccat' );
__( "Day(s)", 'ccat' );
__( "Default background", 'ccat' );
__( "Default container", 'ccat' );
__( "Description", 'ccat' );
__( "Discipline(s)", 'ccat' );
__( "Document type", 'ccat' );
__( "Document(s)", 'ccat' );
__( "Elevated background", 'ccat' );
__( "Email", 'ccat' );
__( "Email preferences", 'ccat' );
__( "End date", 'ccat' );
@@ -54,8 +64,10 @@ __( "Failed", 'ccat' );
__( "Familial", 'ccat' );
__( "Festival", 'ccat' );
__( "File", 'ccat' );
__( "Fluid container", 'ccat' );
__( "Form", 'ccat' );
__( "Free", 'ccat' );
__( "Full-width container", 'ccat' );
__( "Gallery", 'ccat' );
__( "H:i", 'ccat' );
__( "Hybrid", 'ccat' );
@@ -82,6 +94,7 @@ __( "Message", 'ccat' );
__( "Minimum price", 'ccat' );
__( "Moral entity", 'ccat' );
__( "Multiple day(s)", 'ccat' );
__( "Muted background", 'ccat' );
__( "Name", 'ccat' );
__( "Notification(s)", 'ccat' );
__( "Offer", 'ccat' );
@@ -118,6 +131,8 @@ __( "Salle de spectacle", 'ccat' );
__( "Same as contact", 'ccat' );
__( "Schedule type", 'ccat' );
__( "Search for address...", 'ccat' );
__( "Section &#8211; Container", 'ccat' );
__( "Section &#8211; Theme", 'ccat' );
__( "Section(s)", 'ccat' );
__( "Select", 'ccat' );
__( "Sent", 'ccat' );

View File

@@ -16,7 +16,42 @@
"class": "",
"id": ""
},
"acfe_flexible_advanced": 0,
"acfe_flexible_advanced": 1,
"acfe_flexible_stylised_button": 0,
"acfe_flexible_hide_empty_message": 0,
"acfe_flexible_empty_message": "",
"acfe_flexible_layouts_templates": 1,
"acfe_flexible_layouts_previews": 1,
"acfe_flexible_layouts_previews_iframe": 1,
"acfe_flexible_layouts_previews_responsive": 1,
"acfe_flexible_layouts_thumbnails": 0,
"acfe_flexible_layouts_settings": 1,
"acfe_flexible_layouts_locations": 0,
"acfe_flexible_async": [],
"acfe_flexible_add_actions": [
"title",
"toggle",
"copy"
],
"acfe_flexible_remove_button": [],
"acfe_flexible_layouts_state": "user",
"acfe_flexible_modal_edit": {
"acfe_flexible_modal_edit_enabled": "0",
"acfe_flexible_modal_edit_size": "large"
},
"acfe_flexible_modal": {
"acfe_flexible_modal_enabled": "0",
"acfe_flexible_modal_title": false,
"acfe_flexible_modal_size": "full",
"acfe_flexible_modal_col": "4",
"acfe_flexible_modal_categories": false
},
"acfe_flexible_grid": {
"acfe_flexible_grid_enabled": "0",
"acfe_flexible_grid_align": "center",
"acfe_flexible_grid_valign": "stretch",
"acfe_flexible_grid_wrap": false
},
"layouts": {
"layout_6852f761e95b0": {
"key": "layout_6852f761e95b0",
@@ -68,12 +103,15 @@
],
"min": "",
"max": "",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_render_template": "",
"acfe_flexible_render_style": "",
"acfe_flexible_render_script": "",
"acfe_flexible_settings": [
"group_section_container",
"group_section_theme"
],
"acfe_flexible_settings_size": "large",
"acfe_flexible_thumbnail": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium",
"acfe_layout_locations": [],
"acfe_flexible_modal_edit_size": false,
"acfe_flexible_category": false,
@@ -88,36 +126,7 @@
"graphql_description": "",
"graphql_field_name": "sections",
"graphql_non_null": 1,
"acfe_flexible_stylised_button": false,
"acfe_flexible_hide_empty_message": false,
"acfe_flexible_empty_message": "",
"acfe_flexible_layouts_templates": false,
"acfe_flexible_layouts_previews": false,
"acfe_flexible_layouts_placeholder": false,
"acfe_flexible_layouts_thumbnails": false,
"acfe_flexible_layouts_settings": false,
"acfe_flexible_layouts_locations": false,
"acfe_flexible_async": [],
"acfe_flexible_add_actions": [],
"acfe_flexible_remove_button": [],
"acfe_flexible_layouts_state": false,
"acfe_flexible_modal_edit": {
"acfe_flexible_modal_edit_enabled": false,
"acfe_flexible_modal_edit_size": "large"
},
"acfe_flexible_modal": {
"acfe_flexible_modal_enabled": false,
"acfe_flexible_modal_title": false,
"acfe_flexible_modal_size": "full",
"acfe_flexible_modal_col": "4",
"acfe_flexible_modal_categories": false
},
"acfe_flexible_grid": {
"acfe_flexible_grid_enabled": false,
"acfe_flexible_grid_align": "center",
"acfe_flexible_grid_valign": "stretch",
"acfe_flexible_grid_wrap": false
},
"acfe_flexible_grid_container": false
}
],
@@ -150,5 +159,5 @@
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1758554756
"modified": 1758564756
}

View File

@@ -0,0 +1,79 @@
{
"key": "group_section_container",
"title": "Section - Container",
"fields": [
{
"key": "field_68d18dd881229",
"label": "Content width",
"name": "content_width",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"container": "Default container",
"container-fluid": "Fluid container",
"container-full": "Full-width container",
"container-sm": "640px container",
"container-md": "768px container",
"container-lg": "1024px container",
"container-xl": "1280px container"
},
"default_value": "container",
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"required_message": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "contentWidth",
"graphql_non_null": 1,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": ""
}
],
"location": [
[
{
"param": "abstract"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "left",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "sectionContainer",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1758564033
}

View File

@@ -0,0 +1,75 @@
{
"key": "group_section_theme",
"title": "Section - Theme",
"fields": [
{
"key": "field_68d190c22372a",
"label": "Background color",
"name": "bg_color",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"bg-default": "Default background",
"bg-muted": "Muted background",
"bg-elevated": "Elevated background",
"bg-accented": "Accented background"
},
"default_value": "bg-default",
"return_format": "value",
"multiple": 0,
"max": "",
"allow_custom": 0,
"placeholder": "",
"search_placeholder": "",
"prepend": "",
"append": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "bgColor",
"graphql_non_null": 1,
"ajax": 0,
"create_options": 0,
"save_options": 0,
"min": ""
}
],
"location": [
[
{
"param": "abstract"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "left",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "sectionTheme",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1758564696
}