diff --git a/wp-content/themes/moonshine/acf-json/group_abstract_social.json b/wp-content/themes/moonshine/acf-json/group_abstract_social.json index 16135ec..672bcc8 100644 --- a/wp-content/themes/moonshine/acf-json/group_abstract_social.json +++ b/wp-content/themes/moonshine/acf-json/group_abstract_social.json @@ -1,86 +1,84 @@ { - "key": "group_abstract_social", - "title": "Abstract - Social", - "fields": [ + "key": "group_abstract_social", + "title": "Abstract - Social", + "fields": [ + { + "key": "field_6855a1d643408", + "label": "Médias sociaux", + "name": "profiles", + "aria-label": "", + "type": "repeater", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "acfe_repeater_stylised_button": 0, + "layout": "table", + "pagination": 0, + "min": 0, + "max": 0, + "collapsed": "", + "button_label": "Ajouter un élément", + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "profiles", + "graphql_non_null": 0, + "rows_per_page": 20, + "sub_fields": [ { - "key": "field_6855a1d643408", - "label": "Médias sociaux", - "name": "profiles", - "aria-label": "", - "type": "repeater", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "acfe_repeater_stylised_button": 0, - "layout": "table", - "pagination": 0, - "min": 0, - "max": 0, - "collapsed": "", - "button_label": "Ajouter un élément", - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "profiles", - "graphql_non_null": 0, - "rows_per_page": 20, - "sub_fields": [ - { - "key": "field_6855a7e143409", - "label": "URL", - "name": "url", - "aria-label": "", - "type": "url", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "allow_in_bindings": 0, - "placeholder": "", - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "url", - "graphql_non_null": 1, - "parent_repeater": "field_6855a1d643408" - } - ] + "key": "field_6855a7e143409", + "label": "URL", + "name": "url", + "aria-label": "", + "type": "url", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "allow_in_bindings": 0, + "placeholder": "", + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "url", + "graphql_non_null": 1, + "parent_repeater": "field_6855a1d643408" } - ], - "location": [ - [ - { - "param": "abstract" - } - ] - ], - "menu_order": 0, - "position": "normal", - "style": "seamless", - "label_placement": "top", - "instruction_placement": "label", - "hide_on_screen": "", - "active": true, - "description": "", - "show_in_rest": 0, - "display_title": "", - "acfe_autosync": [ - "json" - ], - "acfe_form": 0, - "show_in_graphql": 1, - "graphql_field_name": "GroupAbstractSocial", - "map_graphql_types_from_location_rules": 0, - "graphql_types": "", - "acfe_meta": "", - "acfe_note": "", - "modified": 1770821599 + ] + } + ], + "location": [ + [ + { + "param": "abstract" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "seamless", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": "", + "active": true, + "description": "", + "show_in_rest": 0, + "display_title": "", + "acfe_autosync": ["json"], + "acfe_form": 0, + "show_in_graphql": 1, + "graphql_field_name": "GroupAbstractSocial", + "map_graphql_types_from_location_rules": 0, + "graphql_types": "", + "acfe_meta": "", + "acfe_note": "", + "modified": 1770821599 } diff --git a/wp-content/themes/moonshine/acf-json/group_options_site.json b/wp-content/themes/moonshine/acf-json/group_options_site.json index eb6d311..fdf05b5 100644 --- a/wp-content/themes/moonshine/acf-json/group_options_site.json +++ b/wp-content/themes/moonshine/acf-json/group_options_site.json @@ -1,158 +1,154 @@ { - "key": "group_options_site", - "title": "Options - Site", - "fields": [ + "key": "group_options_site", + "title": "Options - Site", + "fields": [ + { + "key": "field_697220310aaaf", + "label": "Courriel", + "name": "email", + "aria-label": "", + "type": "email", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "allow_in_bindings": 0, + "placeholder": "", + "prepend": "", + "append": "", + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "email", + "graphql_non_null": 1 + }, + { + "key": "field_697cbf414fdd5", + "label": "Numéro de téléphone", + "name": "phone_number", + "aria-label": "", + "type": "phone", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "initial_country": "CA", + "return_format": "national", + "allow_in_bindings": 0, + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "phoneNumber", + "graphql_non_null": 1 + }, + { + "key": "field_697cd4c5fc56a", + "label": "Médias sociaux", + "name": "social", + "aria-label": "", + "type": "clone", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "graphql_field_name": "social", + "clone": ["group_abstract_social"], + "display": "seamless", + "layout": "block", + "prefix_label": 0, + "prefix_name": 0, + "acfe_seamless_style": 0, + "acfe_clone_modal": 0, + "acfe_clone_modal_close": 0, + "acfe_clone_modal_button": "", + "acfe_clone_modal_size": "large" + }, + { + "key": "field_697cc921234cc", + "label": "Liens globaux", + "name": "links", + "aria-label": "", + "type": "group", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "layout": "row", + "acfe_seamless_style": 0, + "acfe_group_modal": 0, + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "links", + "graphql_non_null": 0, + "acfe_group_modal_close": 0, + "acfe_group_modal_button": "", + "acfe_group_modal_size": "large", + "sub_fields": [ { - "key": "field_697220310aaaf", - "label": "Courriel", - "name": "email", - "aria-label": "", - "type": "email", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "allow_in_bindings": 0, - "placeholder": "", - "prepend": "", - "append": "", - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "email", - "graphql_non_null": 1 - }, - { - "key": "field_697cbf414fdd5", - "label": "Numéro de téléphone", - "name": "phone_number", - "aria-label": "", - "type": "phone", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "initial_country": "CA", - "return_format": "national", - "allow_in_bindings": 0, - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "phoneNumber", - "graphql_non_null": 1 - }, - { - "key": "field_697cd4c5fc56a", - "label": "Médias sociaux", - "name": "social", - "aria-label": "", - "type": "clone", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "graphql_field_name": "social", - "clone": [ - "group_abstract_social" - ], - "display": "seamless", - "layout": "block", - "prefix_label": 0, - "prefix_name": 0, - "acfe_seamless_style": 0, - "acfe_clone_modal": 0, - "acfe_clone_modal_close": 0, - "acfe_clone_modal_button": "", - "acfe_clone_modal_size": "large" - }, - { - "key": "field_697cc921234cc", - "label": "Liens globaux", - "name": "links", - "aria-label": "", - "type": "group", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "layout": "row", - "acfe_seamless_style": 0, - "acfe_group_modal": 0, - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "links", - "graphql_non_null": 0, - "acfe_group_modal_close": 0, - "acfe_group_modal_button": "", - "acfe_group_modal_size": "large", - "sub_fields": [ - { - "key": "field_697cc93e234cd", - "label": "Contact", - "name": "contact", - "aria-label": "", - "type": "link", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "return_format": "array", - "allow_in_bindings": 0, - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "contact", - "graphql_non_null": 1 - } - ] + "key": "field_697cc93e234cd", + "label": "Contact", + "name": "contact", + "aria-label": "", + "type": "link", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "return_format": "array", + "allow_in_bindings": 0, + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "contact", + "graphql_non_null": 1 } - ], - "location": [ - [ - { - "param": "options_page", - "operator": "==", - "value": "site-options" - } - ] - ], - "menu_order": 0, - "position": "normal", - "style": "seamless", - "label_placement": "top", - "instruction_placement": "label", - "hide_on_screen": "", - "active": true, - "description": "", - "show_in_rest": 0, - "display_title": "", - "acfe_autosync": [ - "json" - ], - "acfe_form": 0, - "show_in_graphql": 1, - "graphql_field_name": "GroupSiteOptions", - "map_graphql_types_from_location_rules": 0, - "graphql_types": "", - "acfe_meta": "", - "acfe_note": "", - "modified": 1770820358 + ] + } + ], + "location": [ + [ + { + "param": "options_page", + "operator": "==", + "value": "site-options" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "seamless", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": "", + "active": true, + "description": "", + "show_in_rest": 0, + "display_title": "", + "acfe_autosync": ["json"], + "acfe_form": 0, + "show_in_graphql": 1, + "graphql_field_name": "GroupSiteOptions", + "map_graphql_types_from_location_rules": 0, + "graphql_types": "", + "acfe_meta": "", + "acfe_note": "", + "modified": 1770820358 } diff --git a/wp-content/themes/moonshine/app/composables/useGeneralSettings.ts b/wp-content/themes/moonshine/app/composables/useGeneralSettings.ts index 89def0c..f49a296 100644 --- a/wp-content/themes/moonshine/app/composables/useGeneralSettings.ts +++ b/wp-content/themes/moonshine/app/composables/useGeneralSettings.ts @@ -4,5 +4,5 @@ export const useGeneralSettings = () => {}, { transform: ({ generalSettings }) => generalSettings, - } + }, ); diff --git a/wp-content/themes/moonshine/app/composables/useSiteOptions.ts b/wp-content/themes/moonshine/app/composables/useSiteOptions.ts index ac67f2a..b013226 100644 --- a/wp-content/themes/moonshine/app/composables/useSiteOptions.ts +++ b/wp-content/themes/moonshine/app/composables/useSiteOptions.ts @@ -4,5 +4,5 @@ export const useSiteOptions = () => {}, { transform: ({ siteOptions }) => siteOptions?.groupSiteOptions, - } + }, ); diff --git a/wp-content/themes/moonshine/graphql.config.json b/wp-content/themes/moonshine/graphql.config.json index 048ebed..fff5900 100644 --- a/wp-content/themes/moonshine/graphql.config.json +++ b/wp-content/themes/moonshine/graphql.config.json @@ -1,4 +1,4 @@ { "schema": "./.nuxt/graphql/schema.gql", "documents": "**/*.gql" -} \ No newline at end of file +}