Merge pull request 'Added focus directive to searchbar' (#401) from 2492-index_refactor into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #401
Reviewed-by: Carlos Jimenez <carlosjr@verdnatura.es>
This commit is contained in:
Carlos Jimenez Ruiz 2020-10-06 07:11:28 +00:00
commit e44989eb1d
14 changed files with 15 additions and 2 deletions

View File

@ -7,6 +7,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-claim-search-panel"
info="Search claim by id or client name"
model="model">

View File

@ -7,6 +7,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-client-search-panel"
info="Search client by id or name"
model="model"

View File

@ -99,7 +99,7 @@
"component": "ui-view",
"abstract": true
}, {
"url": "/index",
"url": "/index?q",
"state": "client.card.address.index",
"component": "vn-client-address-index",
"description": "Addresses",
@ -353,7 +353,7 @@
}
},
{
"url": "/consumption",
"url": "/consumption?q",
"state": "client.card.consumption",
"component": "vn-client-consumption",
"description": "Consumption",

View File

@ -6,6 +6,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-latest-buys-search-panel"
placeholder="Search by item id or name"
info="You can search by item id or name"

View File

@ -6,6 +6,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-entry-search-panel"
info="Search entrys by id"
model="model">

View File

@ -6,6 +6,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-invoice-search-panel"
info="Search invoices by reference"
model="model">

View File

@ -7,6 +7,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-item-search-panel"
info="Search items by id, name or barcode"
suggested-filter="{isActive: true}"

View File

@ -7,6 +7,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-order-search-panel"
info="Search orders by id"
model="model"

View File

@ -7,6 +7,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-route-search-panel"
info="Search routes by id"
filter="$ctrl.filter"

View File

@ -6,6 +6,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-ticket-search-panel"
info="Search ticket by id or alias"
model="model"

View File

@ -10,6 +10,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
placeholder="Search by weekly ticket"
info="Search weekly ticket by id or client id"
auto-state="false"

View File

@ -6,6 +6,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-travel-search-panel"
info="Search travels by id"
model="model"

View File

@ -6,6 +6,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
panel="vn-worker-search-panel"
info="Search workers by id, firstName, lastName or user name"
model="model">

View File

@ -6,6 +6,7 @@
</vn-crud-model>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
info="Search zone by id or name"
panel="vn-zone-search-panel"
model="model"