@omnia/management-system 7.9.2-preview → 7.9.2
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/README.md +2 -2
- package/internal-do-not-import-from-here/apis/documents/DocumentItemCustomRenderFieldApi.d.ts +1 -0
- package/internal-do-not-import-from-here/apis/documents/DocumentItemCustomRenderFieldApi.manifest.d.ts +1 -0
- package/internal-do-not-import-from-here/apis/documents/DocumentLibraryContextMenuButtonApi.d.ts +1 -0
- package/internal-do-not-import-from-here/apis/documents/DocumentLibraryContextMenuButtonApi.manifest.d.ts +1 -0
- package/internal-do-not-import-from-here/models/components/documentlibrary/DocumentItemCustomRenderFieldApi.d.ts +31 -0
- package/internal-do-not-import-from-here/models/components/documentlibrary/DocumentItemCustomRenderFieldApi.js +2 -0
- package/internal-do-not-import-from-here/models/components/documentlibrary/DocumentLibraryContextMenuButtonApi.d.ts +25 -0
- package/internal-do-not-import-from-here/models/components/documentlibrary/DocumentLibraryContextMenuButtonApi.js +2 -0
- package/internal-do-not-import-from-here/models/components/documentlibrary/index.d.ts +2 -0
- package/internal-do-not-import-from-here/models/components/documentlibrary/index.js +2 -0
- package/internal-do-not-import-from-here/models/components/documentrollup/DocumentRollupBlockSettings.d.ts +2 -0
- package/models/package.json +4 -4
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Omnia Management System
|
|
2
2
|
|
|
3
|
-
Omnia Management System is a product from
|
|
3
|
+
Omnia Management System is a product from Omnia Digital Workplace AB.
|
|
4
4
|
|
|
5
5
|
### Documentation
|
|
6
|
-
https://github.com/
|
|
6
|
+
https://github.com/omniaintranet/Omnia-Foundation-Docs
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/internal-do-not-import-from-here/apis/documents/DocumentLibraryContextMenuButtonApi.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Future, GuidValue, IExtendApiManifestWithConfiguration } from "@omnia/fx/models";
|
|
2
|
+
import { ControlledDocument, DraftControlledDocument } from "../../data";
|
|
3
|
+
import { DocumentLibraryViewType } from "./DocumentLibraryCommandButtonApi";
|
|
4
|
+
export interface IDocumentComponent<T extends ControlledDocument = ControlledDocument> {
|
|
5
|
+
documentItem: T;
|
|
6
|
+
}
|
|
7
|
+
export interface CustomRenderView {
|
|
8
|
+
internalName: string;
|
|
9
|
+
manifestId: GuidValue;
|
|
10
|
+
viewType: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IDocumentItemCustomRender extends DraftControlledDocument {
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
hidden?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface IDocumentItemCustomRenderFieldApi {
|
|
17
|
+
addCustomRenderField: (viewType: DocumentLibraryViewType, internalName: string, manifestId: GuidValue) => void;
|
|
18
|
+
getCustomRenderFieldsByType: (viewType: DocumentLibraryViewType) => Future<Array<CustomRenderView>>;
|
|
19
|
+
}
|
|
20
|
+
declare module "../../../apis/index" {
|
|
21
|
+
interface IMSApi {
|
|
22
|
+
documentItemCustomRender: {
|
|
23
|
+
registration: Promise<IDocumentItemCustomRenderFieldApi>;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
interface IMSExtendApiManifest {
|
|
27
|
+
documentItemCustomRender: {
|
|
28
|
+
registration: IExtendApiManifestWithConfiguration<DocumentLibraryViewType>;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Future, IExtendApiManifestWithConfiguration } from "@omnia/fx/models";
|
|
2
|
+
import { ControlledDocument } from "../../data";
|
|
3
|
+
import { DocumentLibraryViewType, ICommandButton } from "./DocumentLibraryCommandButtonApi";
|
|
4
|
+
export interface IContextMenuButton extends ICommandButton {
|
|
5
|
+
onSelectionChanged?: (document: ControlledDocument) => Future<void>;
|
|
6
|
+
}
|
|
7
|
+
export interface IContextMenuButtonComponent<T extends IContextMenuButton = IContextMenuButton> {
|
|
8
|
+
button: T;
|
|
9
|
+
}
|
|
10
|
+
export interface IDocumentLibraryContextMenuButtonApi {
|
|
11
|
+
addContextMenuButton: (viewType: DocumentLibraryViewType, items: IContextMenuButton) => void;
|
|
12
|
+
getContextMenuButtonsByType: (viewType: DocumentLibraryViewType) => Future<Array<IContextMenuButton>>;
|
|
13
|
+
}
|
|
14
|
+
declare module "../../../apis/index" {
|
|
15
|
+
interface IMSApi {
|
|
16
|
+
documentLibraryContextMenuButton: {
|
|
17
|
+
registration: Promise<IDocumentLibraryContextMenuButtonApi>;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
interface IMSExtendApiManifest {
|
|
21
|
+
documentLibraryContextMenuButton: {
|
|
22
|
+
registration: IExtendApiManifestWithConfiguration<DocumentLibraryViewType>;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -2,3 +2,5 @@ export * from "./DocumentLibraryDisplaySettings";
|
|
|
2
2
|
export * from "./DocumentLibrarySettings";
|
|
3
3
|
export * from "./DocumentLibraryViewSettings";
|
|
4
4
|
export * from "./DocumentLibraryCommandButtonApi";
|
|
5
|
+
export * from "./DocumentLibraryContextMenuButtonApi";
|
|
6
|
+
export * from "./DocumentItemCustomRenderFieldApi";
|
|
@@ -5,3 +5,5 @@ tslib_1.__exportStar(require("./DocumentLibraryDisplaySettings"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./DocumentLibrarySettings"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./DocumentLibraryViewSettings"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./DocumentLibraryCommandButtonApi"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DocumentLibraryContextMenuButtonApi"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DocumentItemCustomRenderFieldApi"), exports);
|
|
@@ -31,6 +31,8 @@ export interface DocumentRollupBlockSettings {
|
|
|
31
31
|
};
|
|
32
32
|
defaultExpandedSectionIndex?: number;
|
|
33
33
|
excelExportColumns?: Array<ListViewColumn>;
|
|
34
|
+
excelExportSortBy?: string;
|
|
35
|
+
excelExportSortDescending?: boolean;
|
|
34
36
|
noResultText?: MultilingualString;
|
|
35
37
|
analyticsSettings?: AnalyticsSettings;
|
|
36
38
|
processDocumentQuerySettings?: ProcessDocumentQuerySettings;
|
package/models/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/omniaintranet/OmniaDocumentManagement.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"omnia",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"office365",
|
|
18
18
|
"sharepoint"
|
|
19
19
|
],
|
|
20
|
-
"author": "
|
|
20
|
+
"author": "Omnia Digital Workplace AB",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
},
|
|
23
23
|
"typings": "./index.d.ts",
|
|
24
24
|
"bugs": {
|
|
25
|
-
"url": "https://github.com/
|
|
25
|
+
"url": "https://github.com/omniaintranet/OmniaDocumentManagement/issues"
|
|
26
26
|
},
|
|
27
|
-
"homepage": "https://github.com/
|
|
27
|
+
"homepage": "https://github.com/omniaintranet/OmniaDocumentManagement#readme"
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/management-system",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.9.2
|
|
4
|
+
"version": "7.9.2",
|
|
5
5
|
"description": "Omnia Management System.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/omniaintranet/OmniaDocumentManagement.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"omnia",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"office365",
|
|
18
18
|
"sharepoint"
|
|
19
19
|
],
|
|
20
|
-
"author": "
|
|
20
|
+
"author": "Omnia Digital Workplace AB",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
},
|
|
23
23
|
"typings": "./index.d.ts",
|
|
24
24
|
"bugs": {
|
|
25
|
-
"url": "https://github.com/
|
|
25
|
+
"url": "https://github.com/omniaintranet/OmniaDocumentManagement/issues"
|
|
26
26
|
},
|
|
27
|
-
"homepage": "https://github.com/
|
|
27
|
+
"homepage": "https://github.com/omniaintranet/OmniaDocumentManagement#readme"
|
|
28
28
|
}
|