<?xml version="1.0" ?>
<!--
/**
 * Hyvä Themes - https://hyva.io
 * Copyright © Hyvä Themes 2022-present. All rights reserved.
 * This product is licensed per Magento install
 * See https://hyva.io/license
 */
-->
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd"
>
    <group id="debug"
           showInDefault="1"
           showInStore="1"
           showInWebsite="1"
           sortOrder="9999"
           translate="label"
    >
        <label>Debug</label>

        <field id="mode"
               showInDefault="1"
               showInStore="1"
               showInWebsite="1"
               sortOrder="10"
               translate="label"
               type="select"
        >
            <label>Mode</label>
            <source_model>Hyva\Checkout\Model\Config\Source\CheckoutDebugModes</source_model>
        </field>

        <field id="wire_key_components"
               translate="label comment"
               type="select"
               sortOrder="20"
               showInDefault="1"
               showInWebsite="1"
               showInStore="1"
        >
            <label>Add unique keys to components</label>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <comment>Enable to add a "wire:key" prefix based on the current step route to all Magewire components. Note: This will reset component state when navigating between steps (e.g., open dropdowns will close when moving to another step).</comment>
        </field>
    </group>
</include>
