Feature: Allow picking of Tree Root (#669)
* include manifest in local variable name * this is run when the alias is changed * add manifest to variable * add TODO * update tree repo interface to get a tree root * simplify * return data type tree root * add request root method to tree context * render tree directly in tree menu item * render root in tree element * map has children to model * set root to custom type * add requestTreeRoot method to all repos that implement a treeRepository * avalanche of type updates * allow null (root) in pickers * allow tree item extension for multiple "entity" types * get tree root items if getChildren receives null * add tree root model * update tree root data * allow entity action to be applied to multiple entity types * allow move and copy to root * selection in picker can include null * temp typescript fix * add support for hiding the tree root * fix file system trees get root items * clean up * update move/copy mock db logic * allow create action on data type root * restrict data type entity actions on specific entity types * temp add action to all entities * temp typescript hack * Update tree-item.model.ts --------- Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
This commit is contained in:
@@ -47,5 +47,5 @@ export interface MetaEntityAction {
|
||||
}
|
||||
|
||||
export interface ConditionsEntityAction {
|
||||
entityType: string;
|
||||
entityTypes: Array<string>;
|
||||
}
|
||||
|
||||
@@ -7,5 +7,5 @@ export interface ManifestTreeItem extends ManifestElement<UmbTreeItemExtensionEl
|
||||
}
|
||||
|
||||
export interface ConditionsTreeItem {
|
||||
entityType: string;
|
||||
entityTypes: Array<string>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user