salix/modules/zone/front/routes.json

112 lines
3.2 KiB
JSON
Raw Normal View History

2018-09-25 06:53:57 +00:00
{
2020-02-25 07:08:13 +00:00
"module": "zone",
"name": "Zones",
2020-03-11 07:02:58 +00:00
"icon" : "icon-zone",
2018-09-25 06:53:57 +00:00
"validations" : true,
2019-04-02 09:04:53 +00:00
"dependencies": ["worker"],
2019-11-10 10:08:44 +00:00
"menus": {
"main": [
2020-03-11 07:05:38 +00:00
{"state": "zone.index", "icon": "icon-zone"},
2020-05-15 10:17:34 +00:00
{"state": "zone.deliveryDays", "icon": "today"},
{"state": "zone.upcomingDeliveries", "icon": "today"}
2019-11-10 10:08:44 +00:00
],
"card": [
{"state": "zone.card.basicData", "icon": "settings"},
{"state": "zone.card.location", "icon": "my_location"},
{"state": "zone.card.warehouses", "icon": "home"},
2020-12-02 11:05:47 +00:00
{"state": "zone.card.log", "icon": "history"},
2019-11-10 10:08:44 +00:00
{"state": "zone.card.events", "icon": "today"}
]
},
2021-01-29 08:46:57 +00:00
"keybindings": [
{"key": "z", "state": "zone.index"}
],
2018-09-25 06:53:57 +00:00
"routes": [
{
"url": "/zone",
"state": "zone",
"abstract": true,
2019-09-25 18:06:42 +00:00
"component": "vn-zone",
2018-09-25 06:53:57 +00:00
"description": "Zones"
},
{
2018-09-25 06:53:57 +00:00
"url": "/index?q",
"state": "zone.index",
"component": "vn-zone-index",
"description": "Zones"
},
{
"url": "/delivery-days?q&deliveryMethodFk&geoFk&agencyModeFk",
2019-09-25 18:06:42 +00:00
"state": "zone.deliveryDays",
"component": "vn-zone-delivery-days",
"description": "Delivery days"
},
{
2020-05-19 06:46:42 +00:00
"url": "/upcoming-deliveries",
2020-05-15 10:17:34 +00:00
"state": "zone.upcomingDeliveries",
"component": "vn-upcoming-deliveries",
"description": "Upcoming deliveries"
},
{
2018-09-25 06:53:57 +00:00
"url": "/create",
"state": "zone.create",
"component": "vn-zone-create",
"description": "New zone"
},
{
2018-09-25 06:53:57 +00:00
"url": "/:id",
"state": "zone.card",
"component": "vn-zone-card",
"abstract": true,
"description": "Detail"
},
{
"url": "/summary",
"state": "zone.card.summary",
"component": "vn-zone-summary",
"description": "Summary",
2018-09-25 06:53:57 +00:00
"params": {
"zone": "$ctrl.zone"
}
},
{
2019-01-21 10:45:53 +00:00
"url": "/basic-data",
"state": "zone.card.basicData",
"component": "vn-zone-basic-data",
"description": "Basic data",
2018-09-25 06:53:57 +00:00
"params": {
"zone": "$ctrl.zone"
}
},
{
2019-09-25 18:06:42 +00:00
"url": "/warehouses",
"state": "zone.card.warehouses",
"component": "vn-zone-warehouses",
"description": "Warehouses"
},
{
2022-05-12 13:02:07 +00:00
"url": "/events?q",
2019-09-25 18:06:42 +00:00
"state": "zone.card.events",
"component": "vn-zone-events",
2022-05-12 13:02:07 +00:00
"description": "Calendar",
"params": {
"zone": "$ctrl.zone"
}
},
{
"url": "/location?q",
"state": "zone.card.location",
"component": "vn-zone-location",
"description": "Locations",
"params": {
"zone": "$ctrl.zone"
}
},
{
2020-12-02 11:05:47 +00:00
"url" : "/log",
"state": "zone.card.log",
"component": "vn-zone-log",
"description": "Log"
2018-09-25 06:53:57 +00:00
}
2019-01-21 10:45:53 +00:00
]
2018-09-25 06:53:57 +00:00
}