<Layout::Section::Header @title={{t "storefront.networks.index.network.stores.store"}} @searchQuery={{this.storeQuery}} @onSearch={{perform this.search}}>
    <Button
        @type="primary"
        @icon="plus"
        @text={{t "storefront.networks.index.network.stores.add-stores-button-text"}}
        @textClass="truncate"
        @size="sm"
        @onClick={{this.addStores}}
        @wrapperClass="mr-2"
    />
    <Button
        @type="primary"
        @icon="envelope-open-text"
        @textClass="truncate"
        @size="sm"
        @text={{t "storefront.networks.index.network.stores.invite-stores-button-text"}}
        @onClick={{this.invite}}
    />
</Layout::Section::Header>

<Layout::Section::Body>
    <NetworkCategoryPicker @network={{this.network}} @onCreateNewCategory={{this.createNewCategory}} @onSelect={{this.selectCategory}} @wrapperClass="my-4 ml-9" />
    <Table @rows={{@model}} @columns={{this.columns}} @selectable={{true}} @canSelectAll={{true}} @onSetup={{fn (mut this.table)}} @tfoot={{false}} @selectAllColumnWidth={{20}} />
</Layout::Section::Body>