refactor(routes json): fixed indentation

This commit is contained in:
Carlos Jimenez Ruiz 2022-06-22 16:42:59 +02:00
parent 9fd812dd0f
commit 3c963b5ab2
2 changed files with 98 additions and 49 deletions

View File

@ -27,17 +27,20 @@
"abstract": true, "abstract": true,
"component": "vn-claim", "component": "vn-claim",
"description": "Claims" "description": "Claims"
}, { },
{
"url": "/index?q", "url": "/index?q",
"state": "claim.index", "state": "claim.index",
"component": "vn-claim-index", "component": "vn-claim-index",
"description": "Claims" "description": "Claims"
}, { },
{
"url": "/:id", "url": "/:id",
"state": "claim.card", "state": "claim.card",
"abstract": true, "abstract": true,
"component": "vn-claim-card" "component": "vn-claim-card"
}, { },
{
"url": "/summary", "url": "/summary",
"state": "claim.card.summary", "state": "claim.card.summary",
"component": "vn-claim-summary", "component": "vn-claim-summary",
@ -45,7 +48,8 @@
"params": { "params": {
"claim": "$ctrl.claim" "claim": "$ctrl.claim"
} }
}, { },
{
"url": "/basic-data", "url": "/basic-data",
"state": "claim.card.basicData", "state": "claim.card.basicData",
"component": "vn-claim-basic-data", "component": "vn-claim-basic-data",
@ -54,7 +58,8 @@
"claim": "$ctrl.claim" "claim": "$ctrl.claim"
}, },
"acl": ["salesPerson"] "acl": ["salesPerson"]
}, { },
{
"url": "/detail", "url": "/detail",
"state": "claim.card.detail", "state": "claim.card.detail",
"component": "vn-claim-detail", "component": "vn-claim-detail",
@ -63,7 +68,8 @@
"claim": "$ctrl.claim" "claim": "$ctrl.claim"
}, },
"acl": ["salesPerson"] "acl": ["salesPerson"]
}, { },
{
"url": "/development", "url": "/development",
"state": "claim.card.development", "state": "claim.card.development",
"component": "vn-claim-development", "component": "vn-claim-development",
@ -72,7 +78,8 @@
"claim": "$ctrl.claim" "claim": "$ctrl.claim"
}, },
"acl": ["claimManager"] "acl": ["claimManager"]
}, { },
{
"url": "/action", "url": "/action",
"state": "claim.card.action", "state": "claim.card.action",
"component": "vn-claim-action", "component": "vn-claim-action",
@ -81,7 +88,8 @@
"claim": "$ctrl.claim" "claim": "$ctrl.claim"
}, },
"acl": ["claimManager"] "acl": ["claimManager"]
}, { },
{
"url": "/photos", "url": "/photos",
"state": "claim.card.photos", "state": "claim.card.photos",
"component": "vn-claim-photos", "component": "vn-claim-photos",
@ -89,7 +97,8 @@
"params": { "params": {
"claim": "$ctrl.claim" "claim": "$ctrl.claim"
} }
}, { },
{
"url" : "/log", "url" : "/log",
"state": "claim.card.log", "state": "claim.card.log",
"component": "vn-claim-log", "component": "vn-claim-log",

View File

@ -50,22 +50,26 @@
"component": "vn-client", "component": "vn-client",
"description": "Clients", "description": "Clients",
"acl": ["employee"] "acl": ["employee"]
}, { },
{
"url": "/index?q", "url": "/index?q",
"state": "client.index", "state": "client.index",
"component": "vn-client-index", "component": "vn-client-index",
"description": "Clients" "description": "Clients"
}, { },
{
"url": "/create", "url": "/create",
"state": "client.create", "state": "client.create",
"component": "vn-client-create", "component": "vn-client-create",
"description": "New client" "description": "New client"
}, { },
{
"url": "/:id?sendSMS&phone&message", "url": "/:id?sendSMS&phone&message",
"state": "client.card", "state": "client.card",
"abstract": true, "abstract": true,
"component": "vn-client-card" "component": "vn-client-card"
}, { },
{
"url": "/summary", "url": "/summary",
"state": "client.card.summary", "state": "client.card.summary",
"component": "vn-client-summary", "component": "vn-client-summary",
@ -73,7 +77,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/basic-data", "url": "/basic-data",
"state": "client.card.basicData", "state": "client.card.basicData",
"component": "vn-client-basic-data", "component": "vn-client-basic-data",
@ -81,7 +86,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/fiscal-data", "url": "/fiscal-data",
"state": "client.card.fiscalData", "state": "client.card.fiscalData",
"component": "vn-client-fiscal-data", "component": "vn-client-fiscal-data",
@ -89,7 +95,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/billing-data", "url": "/billing-data",
"state": "client.card.billingData", "state": "client.card.billingData",
"component": "vn-client-billing-data", "component": "vn-client-billing-data",
@ -97,12 +104,14 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/address", "url": "/address",
"state": "client.card.address", "state": "client.card.address",
"component": "ui-view", "component": "ui-view",
"abstract": true "abstract": true
}, { },
{
"url": "/index?q", "url": "/index?q",
"state": "client.card.address.index", "state": "client.card.address.index",
"component": "vn-client-address-index", "component": "vn-client-address-index",
@ -110,7 +119,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/create", "url": "/create",
"state": "client.card.address.create", "state": "client.card.address.create",
"component": "vn-client-address-create", "component": "vn-client-address-create",
@ -118,12 +128,14 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/:addressId/edit", "url": "/:addressId/edit",
"state": "client.card.address.edit", "state": "client.card.address.edit",
"component": "vn-client-address-edit", "component": "vn-client-address-edit",
"description": "Edit address" "description": "Edit address"
}, { },
{
"url": "/web-access", "url": "/web-access",
"state": "client.card.webAccess", "state": "client.card.webAccess",
"component": "vn-client-web-access", "component": "vn-client-web-access",
@ -131,12 +143,14 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/note", "url": "/note",
"state": "client.card.note", "state": "client.card.note",
"component": "ui-view", "component": "ui-view",
"abstract": true "abstract": true
}, { },
{
"url": "/index", "url": "/index",
"state": "client.card.note.index", "state": "client.card.note.index",
"component": "vn-client-note", "component": "vn-client-note",
@ -144,17 +158,20 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/create", "url": "/create",
"state": "client.card.note.create", "state": "client.card.note.create",
"component": "vn-note-create", "component": "vn-note-create",
"description": "New note" "description": "New note"
}, { },
{
"url": "/credit", "url": "/credit",
"abstract": true, "abstract": true,
"state": "client.card.credit", "state": "client.card.credit",
"component": "ui-view" "component": "ui-view"
}, { },
{
"url": "/index", "url": "/index",
"state": "client.card.credit.index", "state": "client.card.credit.index",
"component": "vn-client-credit-index", "component": "vn-client-credit-index",
@ -162,7 +179,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/create", "url": "/create",
"state": "client.card.credit.create", "state": "client.card.credit.create",
"component": "vn-client-credit-create", "component": "vn-client-credit-create",
@ -171,12 +189,14 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/greuge", "url": "/greuge",
"abstract": true, "abstract": true,
"state": "client.card.greuge", "state": "client.card.greuge",
"component": "ui-view" "component": "ui-view"
}, { },
{
"url": "/index", "url": "/index",
"state": "client.card.greuge.index", "state": "client.card.greuge.index",
"component": "vn-client-greuge-index", "component": "vn-client-greuge-index",
@ -184,7 +204,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/create", "url": "/create",
"state": "client.card.greuge.create", "state": "client.card.greuge.create",
"component": "vn-client-greuge-create", "component": "vn-client-greuge-create",
@ -193,17 +214,20 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/mandate", "url": "/mandate",
"state": "client.card.mandate", "state": "client.card.mandate",
"component": "vn-client-mandate", "component": "vn-client-mandate",
"description": "Mandates" "description": "Mandates"
}, { },
{
"url": "/balance", "url": "/balance",
"abstract": true, "abstract": true,
"state": "client.card.balance", "state": "client.card.balance",
"component": "ui-view" "component": "ui-view"
}, { },
{
"url": "/index", "url": "/index",
"state": "client.card.balance.index", "state": "client.card.balance.index",
"component": "vn-client-balance-index", "component": "vn-client-balance-index",
@ -211,7 +235,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/create?payed&companyFk&bankFk&payedAmount", "url": "/create?payed&companyFk&bankFk&payedAmount",
"state": "client.card.balance.create", "state": "client.card.balance.create",
"component": "vn-client-balance-create", "component": "vn-client-balance-create",
@ -219,12 +244,14 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/recovery", "url": "/recovery",
"abstract": true, "abstract": true,
"state": "client.card.recovery", "state": "client.card.recovery",
"component": "ui-view" "component": "ui-view"
}, { },
{
"url": "/index", "url": "/index",
"state": "client.card.recovery.index", "state": "client.card.recovery.index",
"component": "vn-client-recovery-index", "component": "vn-client-recovery-index",
@ -232,7 +259,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/create", "url": "/create",
"state": "client.card.recovery.create", "state": "client.card.recovery.create",
"component": "vn-client-recovery-create", "component": "vn-client-recovery-create",
@ -240,12 +268,14 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/credit-insurance", "url": "/credit-insurance",
"abstract": true, "abstract": true,
"state": "client.card.creditInsurance", "state": "client.card.creditInsurance",
"component": "ui-view" "component": "ui-view"
}, { },
{
"url": "/index", "url": "/index",
"state": "client.card.creditInsurance.index", "state": "client.card.creditInsurance.index",
"component": "vn-client-credit-insurance-index", "component": "vn-client-credit-insurance-index",
@ -253,7 +283,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/create", "url": "/create",
"state": "client.card.creditInsurance.create", "state": "client.card.creditInsurance.create",
"component": "vn-client-credit-insurance-create", "component": "vn-client-credit-insurance-create",
@ -262,13 +293,15 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/insurance", "url": "/insurance",
"abstract": true, "abstract": true,
"state": "client.card.creditInsurance.insurance", "state": "client.card.creditInsurance.insurance",
"component": "ui-view", "component": "ui-view",
"acl": ["insurance"] "acl": ["insurance"]
}, { },
{
"url": "/:classificationId/index", "url": "/:classificationId/index",
"state": "client.card.creditInsurance.insurance.index", "state": "client.card.creditInsurance.insurance.index",
"component": "vn-client-credit-insurance-insurance-index", "component": "vn-client-credit-insurance-insurance-index",
@ -277,7 +310,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/:classificationId/create", "url": "/:classificationId/create",
"state": "client.card.creditInsurance.insurance.create", "state": "client.card.creditInsurance.insurance.create",
"component": "vn-client-credit-insurance-insurance-create", "component": "vn-client-credit-insurance-insurance-create",
@ -286,7 +320,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/contact", "url": "/contact",
"state": "client.card.contact", "state": "client.card.contact",
"component": "vn-client-contact", "component": "vn-client-contact",
@ -294,12 +329,14 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/sample", "url": "/sample",
"abstract": true, "abstract": true,
"state": "client.card.sample", "state": "client.card.sample",
"component": "ui-view" "component": "ui-view"
}, { },
{
"url": "/index", "url": "/index",
"state": "client.card.sample.index", "state": "client.card.sample.index",
"component": "vn-client-sample-index", "component": "vn-client-sample-index",
@ -307,7 +344,8 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/create", "url": "/create",
"state": "client.card.sample.create", "state": "client.card.sample.create",
"component": "vn-client-sample-create", "component": "vn-client-sample-create",
@ -315,12 +353,14 @@
"params": { "params": {
"client": "$ctrl.client" "client": "$ctrl.client"
} }
}, { },
{
"url": "/web-payment", "url": "/web-payment",
"state": "client.card.webPayment", "state": "client.card.webPayment",
"component": "vn-client-web-payment", "component": "vn-client-web-payment",
"description": "Web Payment" "description": "Web Payment"
}, { },
{
"url" : "/log", "url" : "/log",
"state": "client.card.log", "state": "client.card.log",
"component": "vn-client-log", "component": "vn-client-log",