.pos-step
.customer-selection-step
.customer-selector
searcher(
mode='normal'
:items='customers'
:keys="['name', 'phone', 'mobile', 'email']"
@onSearch='filterCustomers'
)
card-grid(
:canAdd='isWired'
:items='visibleCustomers'
:loading='loadingCustomers'
@onAdd='showCustomerForm'
@onSelect='selectCustomer'
)
customer-modal(
:show='showingCustomerForm'
@onAccept='submitCustomer'
@onCancel='hideCustomerForm'
)
transition(name='slide-fade')
customer-form(
type='small'
mode='details'
v-if='!!selectedCustomer'
:customer='selectedCustomer'
)