@omnia/management-system 7.11.19 → 7.11.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
|
2
2
|
import { GuidValue, MediaPickerImage } from "@omnia/fx-models";
|
|
3
3
|
import { MoveProcessService } from "../services";
|
|
4
|
-
import { ProcessActionModel, Process, ProcessReference, ProcessReferenceData, ProcessCheckoutInfo, ProcessWithCheckoutInfo, Version, ProcessMoveInfo, ProcessDataLayoutMergeResult, ProcessStep } from "../models";
|
|
4
|
+
import { ProcessActionModel, Process, ProcessReference, ProcessReferenceData, ProcessCheckoutInfo, ProcessWithCheckoutInfo, Version, ProcessMoveInfo, ProcessDataLayoutMergeResult, ProcessStep, ProcessRelatedControlledDocument } from "../models";
|
|
5
5
|
import { ProcessSite } from "../../models";
|
|
6
6
|
import { MediaPickerService } from "@omnia/fx/services";
|
|
7
7
|
import { ProcessTemplateLayoutStore } from "./ProcessTemplateLayoutStore";
|
|
@@ -17,6 +17,7 @@ interface NotificationMessage {
|
|
|
17
17
|
export declare class ProcessStore extends Store {
|
|
18
18
|
private processService;
|
|
19
19
|
moveProcessService: MoveProcessService;
|
|
20
|
+
private processDocumentRelationshipService;
|
|
20
21
|
mediaPickerService: MediaPickerService;
|
|
21
22
|
processTemplateLayoutStore: ProcessTemplateLayoutStore;
|
|
22
23
|
private processDict;
|
|
@@ -32,6 +33,7 @@ export declare class ProcessStore extends Store {
|
|
|
32
33
|
private processLoadPromises;
|
|
33
34
|
private processDataLoadPromises;
|
|
34
35
|
private processSiteLoadPromises;
|
|
36
|
+
private processStepDocumentsRequestPromises;
|
|
35
37
|
private processStepIdAndProcessIdDict;
|
|
36
38
|
notificationMessage: import("@omnia/fx/stores").StoreState<NotificationMessage>;
|
|
37
39
|
readonly moveMessageTimeout = 10000;
|
|
@@ -71,6 +73,7 @@ export declare class ProcessStore extends Store {
|
|
|
71
73
|
ensureLoadDraftProcesses: import("@omnia/fx/stores").StoreAction<unknown, (teamAppId: GuidValue) => void, (result: Process[], teamAppId: GuidValue) => void, (failureReason: any, teamAppId: GuidValue) => void, (teamAppId: GuidValue) => Promise<Process[]>>;
|
|
72
74
|
ensureLoadPublishedProcesses: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: Process[]) => void, (failureReason: any) => void, () => Promise<Process[]>>;
|
|
73
75
|
setNewChangeCommentDraftProcess: import("@omnia/fx/stores").StoreAction<unknown, (opmProcessId: GuidValue, comment: string) => void, (result: void, opmProcessId: GuidValue, comment: string) => void, (failureReason: any, opmProcessId: GuidValue, comment: string) => void, (opmProcessId: GuidValue, comment: string) => Promise<void>>;
|
|
76
|
+
ensureProcessStepDocuments: import("@omnia/fx/stores").StoreAction<unknown, (processId: GuidValue, processStepId: GuidValue, includeSuggestions?: boolean) => void, (result: ProcessRelatedControlledDocument[], processId: GuidValue, processStepId: GuidValue, includeSuggestions?: boolean) => void, (failureReason: any, processId: GuidValue, processStepId: GuidValue, includeSuggestions?: boolean) => void, (processId: GuidValue, processStepId: GuidValue, includeSuggestions?: boolean) => Promise<ProcessRelatedControlledDocument[]>>;
|
|
74
77
|
};
|
|
75
78
|
private updateProcessState;
|
|
76
79
|
private internalMutations;
|
|
@@ -86,6 +89,7 @@ export declare class ProcessStore extends Store {
|
|
|
86
89
|
private getProcessSiteCacheKey;
|
|
87
90
|
private getProcessDataCacheKey;
|
|
88
91
|
private getProcessDataLayoutMergedResultCacheKey;
|
|
92
|
+
private getProcessStepDocumentsLoadPromiseKey;
|
|
89
93
|
private getProcessTemplateLayoutCacheKey;
|
|
90
94
|
protected onActivated(): void;
|
|
91
95
|
protected onDisposing(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ProcessStep, Process, ProcessReference, RootProcessStep, InternalProcessStep, DrawingShapeDefinition } from "./models";
|
|
1
|
+
import { ProcessStep, Process, ProcessReference, RootProcessStep, InternalProcessStep, DrawingShapeDefinition, DocumentTypeItemSettings, SharePointTextField, SharePointDateTimeField } from "./models";
|
|
2
2
|
import { GuidValue } from "@omnia/fx-models";
|
|
3
3
|
import { MultilingualStore } from "@omnia/fx/stores";
|
|
4
|
-
import { MultilingualString, EnterprisePropertyDefinition } from "@omnia/fx/models";
|
|
4
|
+
import { MultilingualString, EnterprisePropertyDefinition, EnterprisePropertySet } from "@omnia/fx/models";
|
|
5
5
|
import { RecentDocumentType } from "../models";
|
|
6
6
|
export declare module OPMUtils {
|
|
7
7
|
function generateProcessStepExpandState(processStep: RootProcessStep, processStepId: GuidValue): {
|
|
@@ -38,7 +38,10 @@ export declare module ODMUtils {
|
|
|
38
38
|
function getManagedProperty(managedProperties: EnterprisePropertyDefinition[], defaultManagedProperty: string, field: string): string;
|
|
39
39
|
function isSupportedByOfficeWebApp(fileExtension: string): boolean;
|
|
40
40
|
function isSupportedByOfficeWebAppWithMsTeams(fileExtension: string): boolean;
|
|
41
|
+
function isSupportedByWebViewer(fileExtension: string): boolean;
|
|
41
42
|
function correctDateOnlyValue(dateValue: any): Date;
|
|
42
43
|
function isAllowedToConvertToPDF(fileExtension: string): boolean;
|
|
44
|
+
function isDateInPast(field: SharePointDateTimeField): boolean;
|
|
43
45
|
function isUrlFileExtension(fileExtension: string): boolean;
|
|
46
|
+
function isMultiLineTextField(field: SharePointTextField, documentTypeItemSettings: DocumentTypeItemSettings, enterprisePropertySets?: Array<EnterprisePropertySet>): boolean;
|
|
44
47
|
}
|
package/models/package.json
CHANGED
package/package.json
CHANGED