@omnia/management-system 7.7.28-preview → 7.7.30-preview

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.
Files changed (21) hide show
  1. package/internal-do-not-import-from-here/apis/approvaltask/ApprovalTaskCustomViewApi.d.ts +1 -0
  2. package/internal-do-not-import-from-here/apis/approvaltask/ApprovalTaskCustomViewApi.manifest.d.ts +1 -0
  3. package/internal-do-not-import-from-here/apis/documenttype/DocumentTypeSettingCustomTabApi.d.ts +1 -0
  4. package/internal-do-not-import-from-here/apis/documenttype/ProcessCustomButtonApi.manifest.d.ts +1 -0
  5. package/internal-do-not-import-from-here/models/ManifestIds.d.ts +2 -0
  6. package/internal-do-not-import-from-here/models/ManifestIds.js +2 -0
  7. package/internal-do-not-import-from-here/models/components/approvaltask/ApprovalTaskCustomView.d.ts +14 -0
  8. package/internal-do-not-import-from-here/models/components/approvaltask/ApprovalTaskCustomView.js +2 -0
  9. package/internal-do-not-import-from-here/models/components/approvaltask/ApprovalTaskCustomViewProvider.d.ts +19 -0
  10. package/internal-do-not-import-from-here/models/components/approvaltask/ApprovalTaskCustomViewProvider.js +2 -0
  11. package/internal-do-not-import-from-here/models/components/approvaltask/index.d.ts +2 -0
  12. package/internal-do-not-import-from-here/models/components/approvaltask/index.js +5 -0
  13. package/internal-do-not-import-from-here/models/components/documenttype/DocumentTypeSettingCustomProvider.d.ts +19 -0
  14. package/internal-do-not-import-from-here/models/components/documenttype/DocumentTypeSettingCustomProvider.js +2 -0
  15. package/internal-do-not-import-from-here/models/components/documenttype/DocumentTypeSettingCustomTab.d.ts +13 -0
  16. package/internal-do-not-import-from-here/models/components/documenttype/DocumentTypeSettingCustomTab.js +2 -0
  17. package/internal-do-not-import-from-here/models/components/documenttype/index.d.ts +2 -0
  18. package/internal-do-not-import-from-here/models/components/documenttype/index.js +5 -0
  19. package/internal-do-not-import-from-here/models/components/index.d.ts +2 -0
  20. package/internal-do-not-import-from-here/models/components/index.js +2 -0
  21. package/package.json +1 -1
@@ -26,6 +26,8 @@ export declare class ODMWebComponentManifests {
26
26
  static get DocumentPickerPickDocDialog(): Guid;
27
27
  static get DocumentLinkPicker(): Guid;
28
28
  static get DocumentTemplateMergeSettings(): Guid;
29
+ static get DocumenTypeSettingTabApiRegistration(): Guid;
30
+ static get ApprovalTaskCustomViewApiRegistration(): Guid;
29
31
  }
30
32
  export declare class ODMResourceManifests {
31
33
  static get FxCore(): Guid;
@@ -31,6 +31,8 @@ class ODMWebComponentManifests {
31
31
  static get DocumentPickerPickDocDialog() { return new fx_models_1.Guid("bf9d6e03-78e1-4601-9917-b70133359944"); }
32
32
  static get DocumentLinkPicker() { return new fx_models_1.Guid("81ffacf7-ccde-4ced-954e-382b34bd0d9a"); }
33
33
  static get DocumentTemplateMergeSettings() { return new fx_models_1.Guid("21d1b179-d290-4839-84b8-ad3e9d929fbf"); }
34
+ static get DocumenTypeSettingTabApiRegistration() { return new fx_models_1.Guid("78b1fb76-7785-4fdd-8509-e47a57d27a0d"); }
35
+ static get ApprovalTaskCustomViewApiRegistration() { return new fx_models_1.Guid("c0b778b9-86fb-4d96-ac88-c6314a268f78"); }
34
36
  }
35
37
  exports.ODMWebComponentManifests = ODMWebComponentManifests;
36
38
  class ODMResourceManifests {
@@ -0,0 +1,14 @@
1
+ import { GuidValue } from "@omnia/fx/models";
2
+ export interface IApprovalTaskCustomViewRenderer {
3
+ /**
4
+ * @param order need to larger than 4
5
+ */
6
+ order: number;
7
+ modelContentManifestId?: GuidValue;
8
+ title: string;
9
+ }
10
+ export interface IApprovalTaskSetting {
11
+ openInClientApp: boolean;
12
+ closeCallback: () => void;
13
+ taskId: number;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ import { ApiPath } from "@omnia/fx/models";
2
+ import { IApprovalTaskCustomViewRenderer } from "./ApprovalTaskCustomView";
3
+ export interface IApprovalTaskConfigurationApi {
4
+ addCustomView: (items: IApprovalTaskCustomViewRenderer) => void;
5
+ getView: () => IApprovalTaskCustomViewRenderer;
6
+ }
7
+ declare module "../../../apis/index" {
8
+ interface IMSApi {
9
+ approvalTaskCustomView: {
10
+ registration: Promise<IApprovalTaskConfigurationApi>;
11
+ };
12
+ }
13
+ interface IMSExtendApiManifest {
14
+ ApprovalTaskCustomView: {
15
+ use: ApiPath;
16
+ registration: ApiPath;
17
+ };
18
+ }
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./ApprovalTaskCustomViewProvider";
2
+ export * from "./ApprovalTaskCustomView";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./ApprovalTaskCustomViewProvider"), exports);
5
+ tslib_1.__exportStar(require("./ApprovalTaskCustomView"), exports);
@@ -0,0 +1,19 @@
1
+ import { ApiPath } from "@omnia/fx/models";
2
+ import { IDocumentTypeSettingCustomTabRenderer } from "./DocumentTypeSettingCustomTab";
3
+ export interface IDocumentTypeSettingConfigurationApi {
4
+ addCustomTab: (items: IDocumentTypeSettingCustomTabRenderer | IDocumentTypeSettingCustomTabRenderer[]) => void;
5
+ getAllTabs: () => IDocumentTypeSettingCustomTabRenderer[];
6
+ }
7
+ declare module "../../../apis/index" {
8
+ interface IMSApi {
9
+ ducumentTypeSettingCustomTab: {
10
+ registration: Promise<IDocumentTypeSettingConfigurationApi>;
11
+ };
12
+ }
13
+ interface IMSExtendApiManifest {
14
+ ducumentTypeSettingCustomTab: {
15
+ use: ApiPath;
16
+ registration: ApiPath;
17
+ };
18
+ }
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import { GuidValue } from "@omnia/fx/models";
2
+ import { DocumentType } from "../../../../fx/models";
3
+ export interface IDocumentTypeSettingCustomTabRenderer {
4
+ /**
5
+ * @param order need to larger than 4
6
+ */
7
+ order: number;
8
+ modelContentManifestId?: GuidValue;
9
+ title: string;
10
+ }
11
+ export interface IDocumentTypeTabSetting {
12
+ documentType: DocumentType;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./DocumentTypeSettingCustomProvider";
2
+ export * from "./DocumentTypeSettingCustomTab";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DocumentTypeSettingCustomProvider"), exports);
5
+ tslib_1.__exportStar(require("./DocumentTypeSettingCustomTab"), exports);
@@ -6,3 +6,5 @@ export * from "./viewprocess";
6
6
  export * from "./processrollup";
7
7
  export * from "./pointpicker";
8
8
  export * from "./feedbackbutton";
9
+ export * from "./documenttype";
10
+ export * from "./approvaltask";
@@ -9,3 +9,5 @@ tslib_1.__exportStar(require("./viewprocess"), exports);
9
9
  tslib_1.__exportStar(require("./processrollup"), exports);
10
10
  tslib_1.__exportStar(require("./pointpicker"), exports);
11
11
  tslib_1.__exportStar(require("./feedbackbutton"), exports);
12
+ tslib_1.__exportStar(require("./documenttype"), exports);
13
+ tslib_1.__exportStar(require("./approvaltask"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/management-system",
3
3
  "license": "MIT",
4
- "version": "7.7.28-preview",
4
+ "version": "7.7.30-preview",
5
5
  "description": "Omnia Management System.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"