[ACA-543] Disable Share feature based on repository property (#658)

* add visibility type to navigation schema

* repository data model

* add repository state

* add repository state

* add repository evaluator

* allot navigation elements to called again

* AppRuleContext extends

* repository status resolver

* map repository evaluator

* reevaluate navigation elements

* generic route evaluator

* add route guard on Share

* evaluate guard based on data property

* changed old imports

* add Action suffix

* set state false by default

* tree shakable services to simplify rebase

* fix rebase

* isQuickShareEnabled initial null state

* repository store effects

* repository store actions

* refactored

* refactored
This commit is contained in:
Cilibiu Bogdan
2018-09-28 12:32:36 +03:00
committed by Denys Vuika
parent 30863e7bdd
commit 8d9d3dbc45
21 changed files with 517 additions and 39 deletions

View File

@@ -199,9 +199,15 @@
"description": "Element order",
"type": "number"
},
"disabled": {
"description": "Toggles the disabled state",
"type": "boolean"
"rules": {
"description": "Element rules",
"type": "object",
"properties": {
"visible": {
"description": "Rule to evaluate the visibility state",
"type": "string"
}
}
}
}
},
@@ -223,9 +229,15 @@
"description": "Group order",
"type": "number"
},
"disabled": {
"description": "Toggles the disabled state",
"type": "boolean"
"rules": {
"description": "Element rules",
"type": "object",
"properties": {
"visible": {
"description": "Rule to evaluate the visibility state",
"type": "string"
}
}
}
}
},