<!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
{% block sw_import_export_edit_profile_import_settings %}
<div class="sw-import-export-edit-profile-import-settings">
    <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
    {% block sw_import_export_edit_profile_import_settings_headline %}
    <h3 class="sw-import-export-edit-profile-import-settings__headline">
        {{ $tc('sw-import-export.profile.importSettingsHeadline') }}
    </h3>
    {% endblock %}

    <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
    {% block sw_import_export_edit_profile_import_settings_create_switch %}
    <sw-switch-field
        v-model:value="profile.config.createEntities"
        class="sw-import-export-edit-profile-import-settings__create-switch"
        :label="$tc('sw-import-export.profile.createEntitiesLabel')"
        :disabled="profile.systemDefault"
        @update:value="onChange($event, 'updateEntities')"
    />
    {% endblock %}

    <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
    {% block sw_import_export_edit_profile_import_settings_update_switch %}
    <sw-switch-field
        v-model:value="profile.config.updateEntities"
        class="sw-import-export-edit-profile-import-settings__update-switch"
        :label="$tc('sw-import-export.profile.updateEntitiesLabel')"
        :disabled="profile.systemDefault"
        @update:value="onChange($event, 'createEntities')"
    />
    {% endblock %}
</div>
{% endblock %}
