@omnia/management-system 7.6.26-preview → 7.6.26
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.
- package/internal-do-not-import-from-here/constants.d.ts +33 -0
- package/internal-do-not-import-from-here/index.d.ts +1 -0
- package/internal-do-not-import-from-here/manifests/omnia.ms.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/Enums.d.ts +7 -1
- package/internal-do-not-import-from-here/models/Enums.js +6 -0
- package/internal-do-not-import-from-here/models/data/settings/DefaultControlSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/models/data/shapedefinitions/ShapeDefinition.d.ts +0 -8
- package/internal-do-not-import-from-here/models/data/shapedefinitions/ShapeDefinition.js +1 -32
- package/internal-do-not-import-from-here/models/index.d.ts +1 -1
- package/internal-do-not-import-from-here/models/index.js +1 -1
- package/internal-do-not-import-from-here/models/readreceiptsignoff/DocumentNotifiedPerson.d.ts +16 -0
- package/internal-do-not-import-from-here/models/readreceiptsignoff/DocumentNotifiedPerson.js +2 -0
- package/internal-do-not-import-from-here/models/readreceiptsignoff/DocumentReadReceiptHistory.d.ts +9 -0
- package/internal-do-not-import-from-here/models/readreceiptsignoff/DocumentReadReceiptHistory.js +2 -0
- package/internal-do-not-import-from-here/models/readreceiptsignoff/index.d.ts +2 -0
- package/internal-do-not-import-from-here/models/readreceiptsignoff/index.js +5 -0
- package/internal-do-not-import-from-here/processshape/index.d.ts +1 -0
- package/internal-do-not-import-from-here/processshape/shapedefinitions/ShapeDefinitionData.d.ts +9 -0
- package/internal-do-not-import-from-here/processshape/shapedefinitions/index.d.ts +1 -0
- package/internal-do-not-import-from-here/services/document/DocumentService.d.ts +1 -1
- package/internal-do-not-import-from-here/services/documentlibrary/PublishDocumentService.d.ts +1 -2
- package/internal-do-not-import-from-here/utils.d.ts +2 -0
- package/package.json +1 -1
- package/internal-do-not-import-from-here/models/Constants.d.ts +0 -33
- package/internal-do-not-import-from-here/models/Constants.js +0 -37
@@ -196,3 +196,36 @@ export declare const ImageFolders: {
|
|
196
196
|
readonly legacy: string;
|
197
197
|
};
|
198
198
|
export declare const WebEmojiIcons: Array<string>;
|
199
|
+
export declare const OPMEnterprisePropertyInternalNames: {
|
200
|
+
readonly OPMEdition: string;
|
201
|
+
readonly OPMRevision: string;
|
202
|
+
readonly OPMProcessType: string;
|
203
|
+
readonly OPMProcessIdNumber: string;
|
204
|
+
readonly OPMPublished: string;
|
205
|
+
readonly OPMApprovedBy: string;
|
206
|
+
readonly OPMIsArchived: string;
|
207
|
+
readonly OPMIsPublished: string;
|
208
|
+
};
|
209
|
+
export declare const OPMProcessProperty: {
|
210
|
+
readonly Id: string;
|
211
|
+
};
|
212
|
+
export declare module Security {
|
213
|
+
const OPMRoleDefinitions: {
|
214
|
+
readonly Author: string;
|
215
|
+
readonly Reader: string;
|
216
|
+
readonly Approver: string;
|
217
|
+
readonly Reviewer: string;
|
218
|
+
};
|
219
|
+
const OPMResourceEvaluators: {
|
220
|
+
readonly SecurityResourceIdResource: string;
|
221
|
+
readonly OPMProcessIdResource: string;
|
222
|
+
};
|
223
|
+
const Parameters: {
|
224
|
+
readonly OPMProcessId: string;
|
225
|
+
readonly SecurityResourceId: string;
|
226
|
+
};
|
227
|
+
const ODMRoleDefinitions: {
|
228
|
+
readonly AppInstanceAuthor: string;
|
229
|
+
readonly AppInstanceReader: string;
|
230
|
+
};
|
231
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"omniaWebpackJsonp['b3d13ef7-5ff8-4496-a283-81a742080aef']['54a125ba-c2f8-4c4c-b549-ce0c3861026b']","content":{"./node_modules/@omnia/management-system/messaging/InternalOPMTopics.js":{"id":"./node_modules/@omnia/management-system/messaging/internalopmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalOPMTopics"]},"./node_modules/@omnia/management-system/services/index.js":{"id":"./node_modules/@omnia/management-system/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ApprovalTaskService","DocumentLibraryService","DocumentService","DocumentTemplateService","DocumentTypeService","ImageService","MoveProcessService","PermissionService","ProcessDocumentRelationshipService","ProcessFeedbackService","ProcessRollupService","ProcessService","ProcessTaskService","ProcessTemplateService","ProcessTypeService","PublishDocumentService","QueryablePropertiesService","ReviewReminderTaskService","ReviewTaskService","SettingsService","ShapeTemplateService","SharePointTaskService","TaskService","TeamAppPropertyService","UserService"]},"./node_modules/@omnia/management-system/models/index.js":{"id":"711e87d2-a76a-42d5-8658-eb2d0f74135a","buildMeta":{"exportsType":"namespace"},"expo.js":["AddShapePanelStyles","ArchiveFactory","CenterConfigurableHeightDialogStyles","CenterScrollableDialogStyles","DateTimeMode","DefaultControlSettings","DisplayProcessButtonType","DocumentApproverId","DocumentAuthorsType","DocumentConversions","DocumentLibraryViewType","DocumentTaskBulkUpdateTrackingStatusEnum","DocumentTemplateCategoryFactory","DocumentTemplateContentFactory","DocumentTemplateContentTypes","DocumentTemplateFactory","DocumentTemplateSettingsFactory","DocumentTemplateSettingsTypes","DocumentTypeFactory","DocumentTypeSettingsTypes","DocumentTypeTermSynchronizationStatusStatuses","DrawingCanvasSettingsStyles","DrawingShapeTypes","DynamicKeySetting","Enums","FreeformPickerStyles","GlobalSettings","GraphApiPlannerTaskProgress","MSService","MediaPickerStyles","NavigationNodeStyles","ODMResourceManifests","ODMWebComponentManifests","
|
1
|
+
{"name":"omniaWebpackJsonp['b3d13ef7-5ff8-4496-a283-81a742080aef']['54a125ba-c2f8-4c4c-b549-ce0c3861026b']","content":{"./node_modules/@omnia/management-system/constants.js":{"id":"./node_modules/@omnia/management-system/constants.js","buildMeta":{"exportsType":"namespace"},"expo.js":["BuiltInActionButtonHandlers","ContentBlockConfigurationFactory","DefaultDateFormat","DocumentLibrariesUrl","DocumentsBlockDataSettingsKey","DrawingBlockConfigurationFactory","ImageFolders","LinksBlockConfigurationFactory","ODMDocumentRollupDisplayFields","ODMFeatureIds","ODMFieldNameConstants","ODMRecentDocumentTypesLocalStorageKey","OPMEnterprisePropertyInternalNames","OPMFeatureIds","OPMProcessProperty","OPMSpecialRouteVersion","OWA_QUERY_PARAMETER","PagesBlockDataSettingsKey","ProcessDefaultData","ProcessLayoutBlockConfigurationFactory","ProcessNavigationConfigurationFactory","ProcessRollupConstants","ProcessTableColumnsConstants","ProcessTaskProviderIds","PropertiesBlockConfigurationFactory","RootProcessStepDesignerItemIds","Security","ShapeHighlightProperties","ShapeTemplatesConstants","SharePointFieldsConstants","SystemProcessProperties","TasksBlockConfigurationFactory","TextSpacingWithShape","TitleBlockConfigurationFactory","WebEmojiIcons"]},"./node_modules/@omnia/management-system/messaging/InternalOPMTopics.js":{"id":"./node_modules/@omnia/management-system/messaging/internalopmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalOPMTopics"]},"./node_modules/@omnia/management-system/processshape/fabricshape/FabricShapeData.js":{"id":"./node_modules/@omnia/management-system/processshape/fabricshape/fabricshapedata.js","buildMeta":{"exportsType":"namespace"},"expo.js":["FabricShapeDataTypes"]},"./node_modules/@omnia/management-system/processshape/fabricshape/index.js":{"id":"./node_modules/@omnia/management-system/processshape/fabricshape/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["FabricShapeDataTypes"]},"./node_modules/@omnia/management-system/processshape/index.js":{"id":"./node_modules/@omnia/management-system/processshape/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["FabricShapeDataTypes","ShapeDefinitionFactory","ShapeFactory"]},"./node_modules/@omnia/management-system/processshape/shapedefinitions/index.js":{"id":"./node_modules/@omnia/management-system/processshape/shapedefinitions/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ShapeDefinitionFactory"]},"./node_modules/@omnia/management-system/processshape/shapedefinitions/ShapeDefinitionData.js":{"id":"./node_modules/@omnia/management-system/processshape/shapedefinitions/shapedefinitiondata.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ShapeDefinitionFactory"]},"./node_modules/@omnia/management-system/processshape/shapes/index.js":{"id":"./node_modules/@omnia/management-system/processshape/shapes/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ShapeFactory"]},"./node_modules/@omnia/management-system/processshape/shapes/Shape.js":{"id":"./node_modules/@omnia/management-system/processshape/shapes/shape.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ShapeFactory"]},"./node_modules/@omnia/management-system/processshape/shapes/ShapeObject.js":{"id":"./node_modules/@omnia/management-system/processshape/shapes/shapeobject.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/management-system/services/index.js":{"id":"./node_modules/@omnia/management-system/services/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ApprovalTaskService","DocumentLibraryService","DocumentService","DocumentTemplateService","DocumentTypeService","ImageService","MoveProcessService","PermissionService","ProcessDocumentRelationshipService","ProcessFeedbackService","ProcessRollupService","ProcessService","ProcessTaskService","ProcessTemplateService","ProcessTypeService","PublishDocumentService","QueryablePropertiesService","ReviewReminderTaskService","ReviewTaskService","SettingsService","ShapeTemplateService","SharePointTaskService","TaskService","TeamAppPropertyService","UserService"]},"./node_modules/@omnia/management-system/models/index.js":{"id":"711e87d2-a76a-42d5-8658-eb2d0f74135a","buildMeta":{"exportsType":"namespace"},"expo.js":["AddShapePanelStyles","ArchiveFactory","CenterConfigurableHeightDialogStyles","CenterScrollableDialogStyles","DateTimeMode","DefaultControlSettings","DisplayProcessButtonType","DocumentApproverId","DocumentAuthorsType","DocumentConversions","DocumentLibraryViewType","DocumentTaskBulkUpdateTrackingStatusEnum","DocumentTemplateCategoryFactory","DocumentTemplateContentFactory","DocumentTemplateContentTypes","DocumentTemplateFactory","DocumentTemplateSettingsFactory","DocumentTemplateSettingsTypes","DocumentTypeFactory","DocumentTypeSettingsTypes","DocumentTypeTermSynchronizationStatusStatuses","DrawingCanvasSettingsStyles","DrawingShapeTypes","DynamicKeySetting","Enums","FreeformPickerStyles","GlobalSettings","GraphApiPlannerTaskProgress","MSService","MediaPickerStyles","NavigationNodeStyles","ODMResourceManifests","ODMWebComponentManifests","OPMResourceManifests","OPMWebComponentManifests","PagingServerQuery","ProcessApproverId","ProcessButtonType","ProcessDefaultControlSettings","ProcessDesignerStyles","ProcessFieldDisplayStyles","ProcessGlobalSettings","ProcessLayoutProvider","ProcessMediaPickerProviderContext","ProcessNavigationBlockStyles","ProcessPickerStyles","ProcessReviewReminderFactory","ProcessStepDrawingStyles","ProcessStepPickerStyles","ProcessStepStatusType","ProcessStepType","ProcessTaskAssignmentDataType","ProcessTaskProvider","ProcessTemplateFactory","ProcessTemplateLayoutDefinition","ProcessTypeFactory","ProcessTypeSettingsTypes","ProcessTypeTermSynchronizationStatusStatuses","ProcessVersionType","ProcessWorkflowType","ProcessWorkingStatus","PropertySelectionListType","PublishingApprovalSettingsFactory","PublishingApprovalSettingsTypes","RetentionFactory","RetentionTypes","ReviewReminderFactory","ReviewReminderScheduleFactory","ReviewReminderScheduleTypes","ReviewReminderTaskFactory","ReviewReminderTaskSettingsFactory","Setting","ShapeDefinitionTypes","ShapeGalleryDefaultSettingStyles","ShapeMovingDirection","ShapeSelectionStyles","ShapeSettingsStyles","ShapeTemplateFactory","ShapeTemplateMediaPickerProviderContext","ShapeTemplateType","ShapeTypeStyles","SiteGroupIdSettings","TargetControlIdentifierType","TaskOutcome","TextAlignment","TextPosition","TitleBlockStyles","UnpublishProcessDialogStyles","VDialogScrollableDialogStyles","WorkflowCompletedType"]},"./node_modules/@omnia/management-system/index.js":{"id":"c91869c1-7bd3-46b4-9e71-21d5b16a5460","buildMeta":{"exportsType":"namespace"},"expo.js":["ApprovalTaskService","BuiltInActionButtonHandlers","ContentBlockConfigurationFactory","CurrentProcessStore","DefaultDateFormat","DocumentConversionStore","DocumentLibrariesUrl","DocumentLibraryService","DocumentPropetiesStore","DocumentRollupSettingsProvider","DocumentService","DocumentSharePointFieldStore","DocumentTemplateService","DocumentTemplateStore","DocumentTypeService","DocumentTypeStore","DocumentsBlockDataSettingsKey","DrawingBlockConfigurationFactory","FabricShapeDataTypes","ImageFolders","ImageService","InternalOPMTopics","LibraryStore","LinksBlockConfigurationFactory","MoveProcessService","NewDocumentStore","ODMDocumentRollupDisplayFields","ODMFeatureIds","ODMFieldNameConstants","ODMRecentDocumentTypesLocalStorageKey","ODMUtils","OPMEnterprisePropertyInternalNames","OPMFeatureIds","OPMProcessProperty","OPMPublicTopics","OPMRouter","OPMSpecialRouteVersion","OPMUtils","OWA_QUERY_PARAMETER","OdmPublicTopics","PageRollupSettingsProvider","PagesBlockDataSettingsKey","PermissionService","ProcessDefaultData","ProcessDocumentRelationshipService","ProcessFeedbackService","ProcessLayoutBlockConfigurationFactory","ProcessNavigationConfigurationFactory","ProcessRendererOptions","ProcessRollupConstants","ProcessRollupService","ProcessService","ProcessStore","ProcessTableColumnsConstants","ProcessTaskProviderIds","ProcessTaskService","ProcessTemplateLayoutStore","ProcessTemplateService","ProcessTemplateStore","ProcessTypeService","ProcessTypeStore","PropertiesBlockConfigurationFactory","PublishDocumentService","QueryablePropertiesService","ReviewReminderTaskService","ReviewTaskService","RootProcessStepDesignerItemIds","Security","SettingsService","SettingsStore","ShapeDefinitionFactory","ShapeFactory","ShapeHighlightProperties","ShapeTemplateService","ShapeTemplateStore","ShapeTemplatesConstants","SharePointFieldsConstants","SharePointTaskService","SystemProcessProperties","TaskService","TasksBlockConfigurationFactory","TeamAppPropertyService","TextSpacingWithShape","TitleBlockConfigurationFactory","UserService","WebEmojiIcons"]}}}
|
@@ -52,7 +52,13 @@ export declare module Enums {
|
|
52
52
|
InRecyleBin = 7,
|
53
53
|
Restoring = 8,
|
54
54
|
Restored = 9,
|
55
|
-
RecycleBinDeleting = 10
|
55
|
+
RecycleBinDeleting = 10,
|
56
|
+
FailedBeforePublishingDocument = 100,
|
57
|
+
FailedEnsureColumnsAndFolderWhenPublishingDocument = 101,
|
58
|
+
FailedConvertPdfFileWhenPublishingDocument = 102,
|
59
|
+
FailedCopyDocumentWhenPublishingDocument = 103,
|
60
|
+
FailedEnsurePermissionWhenPublishingDocument = 104,
|
61
|
+
FailedFinishingWhenPublishingDocument = 105
|
56
62
|
}
|
57
63
|
enum LibraryDocumentStatus {
|
58
64
|
Draft = 0,
|
@@ -68,6 +68,12 @@ var Enums;
|
|
68
68
|
ProcessingStatus[ProcessingStatus["Restoring"] = 8] = "Restoring";
|
69
69
|
ProcessingStatus[ProcessingStatus["Restored"] = 9] = "Restored";
|
70
70
|
ProcessingStatus[ProcessingStatus["RecycleBinDeleting"] = 10] = "RecycleBinDeleting";
|
71
|
+
ProcessingStatus[ProcessingStatus["FailedBeforePublishingDocument"] = 100] = "FailedBeforePublishingDocument";
|
72
|
+
ProcessingStatus[ProcessingStatus["FailedEnsureColumnsAndFolderWhenPublishingDocument"] = 101] = "FailedEnsureColumnsAndFolderWhenPublishingDocument";
|
73
|
+
ProcessingStatus[ProcessingStatus["FailedConvertPdfFileWhenPublishingDocument"] = 102] = "FailedConvertPdfFileWhenPublishingDocument";
|
74
|
+
ProcessingStatus[ProcessingStatus["FailedCopyDocumentWhenPublishingDocument"] = 103] = "FailedCopyDocumentWhenPublishingDocument";
|
75
|
+
ProcessingStatus[ProcessingStatus["FailedEnsurePermissionWhenPublishingDocument"] = 104] = "FailedEnsurePermissionWhenPublishingDocument";
|
76
|
+
ProcessingStatus[ProcessingStatus["FailedFinishingWhenPublishingDocument"] = 105] = "FailedFinishingWhenPublishingDocument";
|
71
77
|
})(ProcessingStatus = DocumentViewEnums.ProcessingStatus || (DocumentViewEnums.ProcessingStatus = {}));
|
72
78
|
let LibraryDocumentStatus;
|
73
79
|
(function (LibraryDocumentStatus) {
|
@@ -6,6 +6,7 @@ export interface MSTeamsAppTabTargetControlIdentifier extends TargetControlIdent
|
|
6
6
|
channelId: string;
|
7
7
|
threadId: string;
|
8
8
|
tabId: string;
|
9
|
+
tabEntityId?: string;
|
9
10
|
appId: GuidValue;
|
10
11
|
}
|
11
12
|
export interface AppLayoutTargetControlIdentifier extends TargetControlIdentifier {
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { MultilingualString, GuidValue } from "@omnia/fx-models";
|
2
|
-
import { OmniaTheming } from "@omnia/fx/ux";
|
3
2
|
import { FabricShapeData } from "../../../processshape";
|
4
3
|
export declare enum ShapeDefinitionTypes {
|
5
4
|
Heading = 1,
|
@@ -19,10 +18,3 @@ export interface ShapeDefinition {
|
|
19
18
|
multilingualTitle?: string;
|
20
19
|
clonedNodes?: FabricShapeData[];
|
21
20
|
}
|
22
|
-
/**
|
23
|
-
* NOTE: whenever an new property is added in settings, we need to define its initial value in factory
|
24
|
-
* To ensure it fully react on view
|
25
|
-
* */
|
26
|
-
export declare const ShapeDefinitionFactory: {
|
27
|
-
createDefaultProcessTemplate(theming: OmniaTheming, type?: ShapeDefinitionTypes): ShapeDefinition;
|
28
|
-
};
|
@@ -1,9 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
const fx_models_1 = require("@omnia/fx-models");
|
5
|
-
const constants_1 = require("../../../constants");
|
6
|
-
const enums_1 = require("../enums");
|
3
|
+
exports.ShapeMovingDirection = exports.ShapeDefinitionTypes = void 0;
|
7
4
|
var ShapeDefinitionTypes;
|
8
5
|
(function (ShapeDefinitionTypes) {
|
9
6
|
ShapeDefinitionTypes[ShapeDefinitionTypes["Heading"] = 1] = "Heading";
|
@@ -17,31 +14,3 @@ var ShapeMovingDirection;
|
|
17
14
|
ShapeMovingDirection[ShapeMovingDirection["Left"] = 2] = "Left";
|
18
15
|
ShapeMovingDirection[ShapeMovingDirection["Right"] = 3] = "Right";
|
19
16
|
})(ShapeMovingDirection = exports.ShapeMovingDirection || (exports.ShapeMovingDirection = {}));
|
20
|
-
/**
|
21
|
-
* NOTE: whenever an new property is added in settings, we need to define its initial value in factory
|
22
|
-
* To ensure it fully react on view
|
23
|
-
* */
|
24
|
-
exports.ShapeDefinitionFactory = {
|
25
|
-
createDefaultProcessTemplate(theming, type) {
|
26
|
-
const shapeDefinition = {
|
27
|
-
type: type ? type : ShapeDefinitionTypes.Drawing,
|
28
|
-
title: { isMultilingualString: true },
|
29
|
-
id: fx_models_1.Guid.newGuid()
|
30
|
-
};
|
31
|
-
if (shapeDefinition.type == ShapeDefinitionTypes.Drawing) {
|
32
|
-
shapeDefinition.shapeTemplateId = constants_1.ShapeTemplatesConstants.Diamond.id;
|
33
|
-
shapeDefinition.shapeTemplateType = constants_1.ShapeTemplatesConstants.Diamond.settings.type;
|
34
|
-
shapeDefinition.title = constants_1.ShapeTemplatesConstants.Diamond.title;
|
35
|
-
shapeDefinition.fontSize = 20;
|
36
|
-
shapeDefinition.backgroundColor = theming.promoted.header.background.base;
|
37
|
-
shapeDefinition.textColor = theming.promoted.header.text.base;
|
38
|
-
shapeDefinition.width = 100;
|
39
|
-
shapeDefinition.height = 100;
|
40
|
-
shapeDefinition.textPosition = enums_1.TextPosition.On;
|
41
|
-
shapeDefinition.textAlignment = enums_1.TextAlignment.Center;
|
42
|
-
shapeDefinition.textHorizontalAdjustment = 0;
|
43
|
-
shapeDefinition.textVerticalAdjustment = 0;
|
44
|
-
}
|
45
|
-
return shapeDefinition;
|
46
|
-
}
|
47
|
-
};
|
@@ -9,10 +9,10 @@ export * from "./components";
|
|
9
9
|
export * from "./styles";
|
10
10
|
export * from "./shared";
|
11
11
|
export * from "./contexts";
|
12
|
-
export * from "./Constants";
|
13
12
|
export * from "./paging";
|
14
13
|
export * from "./richtexteditorextensions";
|
15
14
|
export * from "./mediapicker";
|
16
15
|
export * from "./graph";
|
17
16
|
export * from "./processtaskassignments";
|
18
17
|
export * from "./processstepstatuses";
|
18
|
+
export * from "./readreceiptsignoff";
|
@@ -13,10 +13,10 @@ tslib_1.__exportStar(require("./components"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./styles"), exports);
|
14
14
|
tslib_1.__exportStar(require("./shared"), exports);
|
15
15
|
tslib_1.__exportStar(require("./contexts"), exports);
|
16
|
-
tslib_1.__exportStar(require("./Constants"), exports);
|
17
16
|
tslib_1.__exportStar(require("./paging"), exports);
|
18
17
|
tslib_1.__exportStar(require("./richtexteditorextensions"), exports);
|
19
18
|
tslib_1.__exportStar(require("./mediapicker"), exports);
|
20
19
|
tslib_1.__exportStar(require("./graph"), exports);
|
21
20
|
tslib_1.__exportStar(require("./processtaskassignments"), exports);
|
22
21
|
tslib_1.__exportStar(require("./processstepstatuses"), exports);
|
22
|
+
tslib_1.__exportStar(require("./readreceiptsignoff"), exports);
|
package/internal-do-not-import-from-here/models/readreceiptsignoff/DocumentNotifiedPerson.d.ts
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
import { GuidValue, Identity } from "@omnia/fx-models";
|
2
|
+
import { ControlledDocument } from "..";
|
3
|
+
export interface DocumentNotifiedPerson {
|
4
|
+
id: GuidValue;
|
5
|
+
documentId: GuidValue;
|
6
|
+
identity: Identity;
|
7
|
+
isReadReceiptRequired: boolean;
|
8
|
+
oDMDocId: string;
|
9
|
+
edition: number;
|
10
|
+
isReadAndUnderstood: boolean;
|
11
|
+
publishedDocument: ControlledDocument;
|
12
|
+
}
|
13
|
+
export interface DocumentNotifiedPersonUI extends DocumentNotifiedPerson {
|
14
|
+
displayName: string;
|
15
|
+
userEmail: string;
|
16
|
+
}
|
package/internal-do-not-import-from-here/models/readreceiptsignoff/DocumentReadReceiptHistory.d.ts
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
import { DocumentNotifiedPerson } from "./DocumentNotifiedPerson";
|
2
|
+
export interface DocumentReadReceiptsHistory {
|
3
|
+
edition: number;
|
4
|
+
published: Date;
|
5
|
+
isRequireReadReceipt: boolean;
|
6
|
+
notifiedUsers: Array<DocumentNotifiedPerson>;
|
7
|
+
numberOfSignedOffUsers: number;
|
8
|
+
title?: string;
|
9
|
+
}
|
package/internal-do-not-import-from-here/processshape/shapedefinitions/ShapeDefinitionData.d.ts
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
import { OmniaTheming } from "@omnia/fx/ux";
|
2
|
+
import { ShapeDefinition, ShapeDefinitionTypes } from "../../models";
|
3
|
+
/**
|
4
|
+
* NOTE: whenever an new property is added in settings, we need to define its initial value in factory
|
5
|
+
* To ensure it fully react on view
|
6
|
+
* */
|
7
|
+
export declare const ShapeDefinitionFactory: {
|
8
|
+
createDefaultProcessTemplate(theming: OmniaTheming, type?: ShapeDefinitionTypes): ShapeDefinition;
|
9
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./ShapeDefinitionData";
|
@@ -23,7 +23,7 @@ export declare class DocumentService {
|
|
23
23
|
getExistingDraftDocument: (odmDocId: string, webUrl: string) => Promise<ControlledDocument>;
|
24
24
|
getLatestPublishedDocument: (documentId: string, webUrl: string) => Promise<SqlDocument>;
|
25
25
|
getDocumentByDocIdNumber: (docIdNumber: number, webUrl: string) => Promise<ControlledDocument>;
|
26
|
-
deletePublishDocument: (odmDocId: string, odmDocIdNumber: number, webUrl: string, documentTypeId: string) => Promise<boolean>;
|
26
|
+
deletePublishDocument: (odmDocId: string, odmDocIdNumber: number, webUrl: string, documentTypeId: string, comment: string) => Promise<boolean>;
|
27
27
|
getCurrentUserRolesOfListItems(request: DocumentRequest, library: string): Promise<{
|
28
28
|
[key: number]: Enums.DocumentViewEnums.DocumentRoles[];
|
29
29
|
}[]>;
|
package/internal-do-not-import-from-here/services/documentlibrary/PublishDocumentService.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import { GuidValue } from "@omnia/fx/models";
|
2
|
-
import { DocumentNotifiedPerson, DocumentReadReceiptsHistory } from "
|
3
|
-
import { Enums, PublishDocumentWithoutApprovalRequest, MoveDocumentToTargetSiteRequest, PreviewPublishedDocumentRequest } from "../../models";
|
2
|
+
import { DocumentNotifiedPerson, DocumentReadReceiptsHistory, Enums, PublishDocumentWithoutApprovalRequest, MoveDocumentToTargetSiteRequest, PreviewPublishedDocumentRequest } from "../../models";
|
4
3
|
export declare class PublishDocumentService {
|
5
4
|
private httpClient;
|
6
5
|
constructor();
|
@@ -27,10 +27,12 @@ export declare module OPMUtils {
|
|
27
27
|
function parentFrameIsMsTeams(): boolean;
|
28
28
|
function IsOpenEditorPreview(): boolean;
|
29
29
|
function buildContextIdentifier(appId: GuidValue, processRoute: string): string;
|
30
|
+
function getMaximumLengthOfMultilingualString(multilingualString: MultilingualString): number;
|
30
31
|
}
|
31
32
|
export declare module ODMUtils {
|
32
33
|
function orderBy(input: any, [config]: [string?]): any;
|
33
34
|
function getOfficeClientPrefix(extension: string): string;
|
35
|
+
function addOfficeClientPrefix(url: string): string;
|
34
36
|
function saveRecentDocumentType(documentTypeId: GuidValue): void;
|
35
37
|
function getRecentDocumentTypes(): Array<RecentDocumentType>;
|
36
38
|
function isSupportedByOfficeWebApp(fileExtension: string): boolean;
|
package/package.json
CHANGED
@@ -1,33 +0,0 @@
|
|
1
|
-
export declare const OPMEnterprisePropertyInternalNames: {
|
2
|
-
readonly OPMEdition: string;
|
3
|
-
readonly OPMRevision: string;
|
4
|
-
readonly OPMProcessType: string;
|
5
|
-
readonly OPMProcessIdNumber: string;
|
6
|
-
readonly OPMPublished: string;
|
7
|
-
readonly OPMApprovedBy: string;
|
8
|
-
readonly OPMIsArchived: string;
|
9
|
-
readonly OPMIsPublished: string;
|
10
|
-
};
|
11
|
-
export declare const OPMProcessProperty: {
|
12
|
-
readonly Id: string;
|
13
|
-
};
|
14
|
-
export declare module Security {
|
15
|
-
const OPMRoleDefinitions: {
|
16
|
-
readonly Author: string;
|
17
|
-
readonly Reader: string;
|
18
|
-
readonly Approver: string;
|
19
|
-
readonly Reviewer: string;
|
20
|
-
};
|
21
|
-
const OPMResourceEvaluators: {
|
22
|
-
readonly SecurityResourceIdResource: string;
|
23
|
-
readonly OPMProcessIdResource: string;
|
24
|
-
};
|
25
|
-
const Parameters: {
|
26
|
-
readonly OPMProcessId: string;
|
27
|
-
readonly SecurityResourceId: string;
|
28
|
-
};
|
29
|
-
const ODMRoleDefinitions: {
|
30
|
-
readonly AppInstanceAuthor: string;
|
31
|
-
readonly AppInstanceReader: string;
|
32
|
-
};
|
33
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Security = exports.OPMProcessProperty = exports.OPMEnterprisePropertyInternalNames = void 0;
|
4
|
-
exports.OPMEnterprisePropertyInternalNames = {
|
5
|
-
get OPMEdition() { return "OPMEdition"; },
|
6
|
-
get OPMRevision() { return "OPMRevision"; },
|
7
|
-
get OPMProcessType() { return "OPMProcessType"; },
|
8
|
-
get OPMProcessIdNumber() { return "OPMProcessIdNumber"; },
|
9
|
-
get OPMPublished() { return "OPMPublished"; },
|
10
|
-
get OPMApprovedBy() { return "OPMApprovedBy"; },
|
11
|
-
get OPMIsArchived() { return "OPMIsArchived"; },
|
12
|
-
get OPMIsPublished() { return "OPMIsPublished"; }
|
13
|
-
};
|
14
|
-
exports.OPMProcessProperty = {
|
15
|
-
get Id() { return "7491ec1a-9cf5-4c49-b102-2f84f89795eb"; }
|
16
|
-
};
|
17
|
-
var Security;
|
18
|
-
(function (Security) {
|
19
|
-
Security.OPMRoleDefinitions = {
|
20
|
-
get Author() { return "f412d0be-16e8-4fc2-80cf-dca39a265a08"; },
|
21
|
-
get Reader() { return "38c86dbf-44a2-45c4-b370-2c1cabea954c"; },
|
22
|
-
get Approver() { return "22672fb9-e62f-470c-a68d-77ae03a5115d"; },
|
23
|
-
get Reviewer() { return "89e89b72-a75c-41d2-8303-b83800980faa"; }
|
24
|
-
};
|
25
|
-
Security.OPMResourceEvaluators = {
|
26
|
-
get SecurityResourceIdResource() { return "Omnia.ManagementSystem.Web.Security.ResourceEvaluators.ISecurityResourceIdResourceEvaluator"; },
|
27
|
-
get OPMProcessIdResource() { return "Omnia.ManagementSystem.Web.Security.ResourceEvaluators.IOPMProcessIdResourceEvaluator"; }
|
28
|
-
};
|
29
|
-
Security.Parameters = {
|
30
|
-
get OPMProcessId() { return "opmProcessId"; },
|
31
|
-
get SecurityResourceId() { return "opmSecurityResourceId"; }
|
32
|
-
};
|
33
|
-
Security.ODMRoleDefinitions = {
|
34
|
-
get AppInstanceAuthor() { return "86c0c947-91e5-45aa-b85e-4ea8a9a31b07"; },
|
35
|
-
get AppInstanceReader() { return "cde81de4-58b0-4fe5-a45f-ed66138cb64c"; }
|
36
|
-
};
|
37
|
-
})(Security = exports.Security || (exports.Security = {}));
|