<!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
{% block sw_extension_my_extensions_index %}
<sw-meteor-page
    class="sw-extension-store-purchased"
    hide-icon
>
    <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
    {% block sw_extension_my_extensions_index_smart_bar_header %}
    <template #smart-bar-header>
        {{ $tc('sw-extension.mainMenu.purchased') }}
    </template>
    {% endblock %}

    <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
    {% block sw_extension_my_extensions_index_smart_bar_search_slot %}
    <template #search-bar>
        <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
        {% block sw_extension_my_extensions_index_smart_bar_search_slot_search_bar %}
        <sw-search-bar
            initial-search-type="extension"
            :placeholder="$tc('sw-extension.my-extensions.listing.placeholderSearchBar')"
            @search="onSearch"
        />
        {% endblock %}
    </template>
    {% endblock %}

    <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
    {% block sw_extension_my_extensions_index_smart_bar_tabs %}
    <template #page-tabs>
        <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
        {% block sw_extension_my_extensions_index_smart_bar_tabs_app %}
        <sw-tabs-item :route="{ name: 'sw.extension.my-extensions.listing.app', query: queryParams }">
            {{ $tc('sw-extension.my-extensions.tabs.app') }}
        </sw-tabs-item>
        {% endblock %}

        <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
        {% block sw_extension_my_extensions_index_smart_bar_tabs_theme %}
        <sw-tabs-item :route="{ name: 'sw.extension.my-extensions.listing.theme', query: queryParams }">
            {{ $tc('sw-extension.my-extensions.tabs.theme') }}
        </sw-tabs-item>
        {% endblock %}

        <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
        {% block sw_extension_my_extensions_index_smart_bar_tabs_recommendation %}
        <sw-tabs-item :route="{ name: 'sw.extension.my-extensions.recommendation' }">
            {{ $tc('sw-extension.my-extensions.tabs.recommendation') }}
        </sw-tabs-item>
        {% endblock %}

        <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
        {% block sw_extension_my_extensions_index_smart_bar_tabs_account %}
        <sw-tabs-item :route="{ name: 'sw.extension.my-extensions.account' }">
            {{ $tc('sw-extension.my-extensions.tabs.shopwareAccount') }}
        </sw-tabs-item>
        {% endblock %}
    </template>
    {% endblock %}

    <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
    {% block sw_extension_my_extensions_index_smart_bar_actions %}
    <template #smart-bar-actions>
        <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
        {% block sw_extension_my_extensions_index_smart_bar_actions_file_upload %}
        <sw-extension-file-upload v-if="acl.can('system.plugin_upload') || !extensionManagementDisabled" />
        {% endblock %}
    </template>
    {% endblock %}

    <!-- eslint-disable-next-line sw-deprecation-rules/no-twigjs-blocks -->
    {% block sw_extension_my_extensions_index_body %}
    <template #default>
        <router-view />
    </template>
    {% endblock %}
</sw-meteor-page>
{% endblock %}

