person presenter to open corresponding editor

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov
2021-09-08 18:42:40 +02:00
parent a29afa4d98
commit 9874c47cf2
9 changed files with 520 additions and 441 deletions
+9 -1
View File
@@ -41,6 +41,13 @@ export interface KanbanCard extends Class<Doc> {
card: AnyComponent
}
/**
* @public
*/
export interface ObjectEditor extends Class<Doc> {
editor: AnyComponent
}
/**
* @public
*/
@@ -68,7 +75,8 @@ export default plugin(viewId, {
mixin: {
AttributeEditor: '' as Ref<Mixin<AttributeEditor>>,
AttributePresenter: '' as Ref<Mixin<AttributePresenter>>,
KanbanCard: '' as Ref<Mixin<KanbanCard>>
KanbanCard: '' as Ref<Mixin<KanbanCard>>,
ObjectEditor: '' as Ref<Mixin<ObjectEditor>>
},
class: {
ViewletDescriptor: '' as Ref<Class<ViewletDescriptor>>,