mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 11:47:42 +02:00
EZQMS-1393: implemented folders in controlled documents (#7803)
* EZQMS-1393: implemented folders in controlled documents Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com> * formatting Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com> --------- Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
@@ -107,20 +107,28 @@ export const documentsPlugin = plugin(documentsId, {
|
||||
DocumentMetaPresenter: '' as AnyComponent,
|
||||
DocumentVersionPresenter: '' as AnyComponent,
|
||||
DeleteCategoryPopup: '' as AnyComponent,
|
||||
DocumentIcon: '' as AnyComponent
|
||||
DocumentIcon: '' as AnyComponent,
|
||||
CreateFolder: '' as AnyComponent
|
||||
},
|
||||
action: {
|
||||
ChangeDocumentOwner: '' as Ref<Action<Doc, any>>,
|
||||
CreateChildDocument: '' as Ref<Action<Document, any>>,
|
||||
CreateChildTemplate: '' as Ref<Action<Document, any>>,
|
||||
CreateChildFolder: '' as Ref<Action<Document, any>>,
|
||||
RenameFolder: '' as Ref<Action<Document, any>>,
|
||||
DeleteFolder: '' as Ref<Action<Document, any>>,
|
||||
CreateDocument: '' as Ref<Action<DocumentSpace, any>>,
|
||||
CreateTemplate: '' as Ref<Action<DocumentSpace, any>>,
|
||||
CreateFolder: '' as Ref<Action<DocumentSpace, any>>,
|
||||
DeleteDocumentCategory: '' as Ref<Action<Doc, any>>,
|
||||
DeleteDocument: '' as Ref<Action>,
|
||||
ArchiveDocument: '' as Ref<Action>,
|
||||
EditDocSpace: '' as Ref<Action>,
|
||||
TransferDocument: '' as Ref<Action>,
|
||||
Print: '' as Ref<Action<Doc, { signed: boolean }>>
|
||||
Print: '' as Ref<Action<Doc, { signed: boolean }>>,
|
||||
PrintProjectDocument: '' as Ref<Action<Doc, { signed: boolean }>>,
|
||||
OpenDocument: '' as Ref<Action<Doc, { signed: boolean }>>,
|
||||
OpenDocumentInNewTab: '' as Ref<Action<Doc, { signed: boolean }>>
|
||||
},
|
||||
function: {
|
||||
CanChangeDocumentOwner: '' as Resource<(doc?: Doc | Doc[]) => Promise<boolean>>,
|
||||
@@ -131,6 +139,7 @@ export const documentsPlugin = plugin(documentsId, {
|
||||
CheckmarkCircle: '' as Asset,
|
||||
DocumentApplication: '' as Asset,
|
||||
NewDocument: '' as Asset,
|
||||
Folder: '' as Asset,
|
||||
Document: '' as Asset,
|
||||
Library: '' as Asset,
|
||||
StateDraft: '' as Asset,
|
||||
@@ -212,6 +221,8 @@ export const documentsPlugin = plugin(documentsId, {
|
||||
ChangeOwnerWarning: '' as IntlString,
|
||||
CreateDocument: '' as IntlString,
|
||||
CreateTemplate: '' as IntlString,
|
||||
CreateFolder: '' as IntlString,
|
||||
RenameFolder: '' as IntlString,
|
||||
DeleteCategory: '' as IntlString,
|
||||
DeleteCategoryHint: '' as IntlString,
|
||||
DeleteCategoryWarning: '' as IntlString,
|
||||
@@ -228,6 +239,7 @@ export const documentsPlugin = plugin(documentsId, {
|
||||
Path: '' as IntlString,
|
||||
CreateChildDocument: '' as IntlString,
|
||||
CreateChildTemplate: '' as IntlString,
|
||||
CreateChildFolder: '' as IntlString,
|
||||
All: '' as IntlString,
|
||||
ImpactAnalysis: '' as IntlString,
|
||||
ImpactedDocuments: '' as IntlString,
|
||||
@@ -270,7 +282,8 @@ export const documentsPlugin = plugin(documentsId, {
|
||||
},
|
||||
ids: {
|
||||
NoParent: '' as Ref<DocumentMeta>,
|
||||
NoProject: '' as Ref<Project>
|
||||
NoProject: '' as Ref<Project>,
|
||||
Folder: '' as Ref<HierarchyDocument>
|
||||
},
|
||||
sequence: {
|
||||
Templates: '' as Ref<Sequence>,
|
||||
|
||||
Reference in New Issue
Block a user