<?php
/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */
?>
<div class="wtai-separator">|</div>
<div class="wtai-guide-steps" data-bind="scope: 'wtaiGuideSteps'">
    <div data-bind="visible: opened" style="display: none;">
        <input type="checkbox"
            class="admin__control-checkbox"
            id="wtaiGuideSteps"
            name="guide_steps"
            data-bind="checked: guideSteps" />
        <label class="admin__field-label" for="wtaiGuideSteps">
            <?= $block->escapeHtml(__('Hide step guides')) ?>
        </label>
    </div>
</div>
<script type="text/x-magento-init">
    {
        "*": {
            "Magento_Ui/js/core/app": {
                "components": {
                    "wtaiGuideSteps": {
                        "component": "WriteTextAI_WriteTextAI/js/guide-steps",
                        "saveUrl": "<?= $block->escapeJs($block->getUrl('wtai/settings/save')) ?>",
                        "entityType": "category"
                    }
                }
            }
        }
    }
</script>

