2022-05-24 10:50:22 +00:00
|
|
|
{
|
|
|
|
"module": "shelving",
|
|
|
|
"name": "Shelvings",
|
|
|
|
"icon" : "contact_support",
|
2022-07-14 07:54:28 +00:00
|
|
|
"dependencies": ["worker"],
|
2022-05-24 10:50:22 +00:00
|
|
|
"validations" : true,
|
|
|
|
"menus": {
|
|
|
|
"main": [
|
|
|
|
{"state": "shelving.index", "icon": "contact_support"}
|
|
|
|
],
|
|
|
|
"card": [
|
|
|
|
{"state": "shelving.card.basicData", "icon": "settings"},
|
|
|
|
{"state": "shelving.card.log", "icon": "history"}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"keybindings": [
|
|
|
|
{"key": "s", "state": "shelving.index"}
|
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/shelving",
|
|
|
|
"state": "shelving",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-shelving",
|
|
|
|
"description": "Shelvings"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/index?q",
|
|
|
|
"state": "shelving.index",
|
|
|
|
"component": "vn-shelving-index",
|
|
|
|
"description": "Shelvings"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/create",
|
|
|
|
"state": "shelving.create",
|
|
|
|
"component": "vn-shelving-create",
|
|
|
|
"description": "New shelving"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/:id",
|
|
|
|
"state": "shelving.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-shelving-card"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/summary",
|
|
|
|
"state": "shelving.card.summary",
|
|
|
|
"component": "vn-shelving-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"shelving": "$ctrl.shelving"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/basic-data",
|
|
|
|
"state": "shelving.card.basicData",
|
|
|
|
"component": "vn-shelving-basic-data",
|
|
|
|
"description": "Basic data",
|
|
|
|
"params": {
|
|
|
|
"shelving": "$ctrl.shelving"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url" : "/log",
|
|
|
|
"state": "shelving.card.log",
|
|
|
|
"component": "vn-shelving-log",
|
|
|
|
"description": "Log"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|