mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 01:25:00 +02:00
TSK-833 Доработка Таблицы Vacations TSK-817 Click on Employee is broken, it should open Edit Contact TSK-805 Открывать задачу в новой вкладке при клике колесиком TSK-794 Прикрепление ссылки на вакансию/аппликейшн в чате (#2734)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -543,6 +543,20 @@ export type ViewOptionModel = ToggleViewOption | DropdownViewOption
|
||||
*/
|
||||
export type OrderOption = [string, SortingOrder]
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export interface LinkProvider extends Class<Doc> {
|
||||
encode: Resource<(doc: Doc, props: Record<string, any>) => Promise<string>>
|
||||
}
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export interface ObjectPanel extends Class<Doc> {
|
||||
component: AnyComponent
|
||||
}
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
@@ -580,7 +594,9 @@ const view = plugin(viewId, {
|
||||
PreviewPresenter: '' as Ref<Mixin<PreviewPresenter>>,
|
||||
ListHeaderExtra: '' as Ref<Mixin<ListHeaderExtra>>,
|
||||
SortFuncs: '' as Ref<Mixin<ClassSortFuncs>>,
|
||||
AllValuesFunc: '' as Ref<Mixin<AllValuesFunc>>
|
||||
AllValuesFunc: '' as Ref<Mixin<AllValuesFunc>>,
|
||||
ObjectPanel: '' as Ref<Mixin<ObjectPanel>>,
|
||||
LinkProvider: '' as Ref<Mixin<LinkProvider>>
|
||||
},
|
||||
class: {
|
||||
ViewletPreference: '' as Ref<Class<ViewletPreference>>,
|
||||
|
||||
Reference in New Issue
Block a user