@imtf/dms-core 8.0.0 → 8.0.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/core/containers/PDFTronViewer/components/LightViewer/types.d.ts +6 -0
- package/core/containers/PDFTronViewer/components/Viewer/types.d.ts +6 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +1 -2
- package/core/providers/Plugins/pluginRegistry.d.ts +1 -0
- package/core/providers/Tasks/constants.d.ts +1 -0
- package/core/providers/Tasks/service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,3 +5,9 @@ export type CustomStamps = Core.Tools.RubberStampCreateTool.CustomStampData & {
|
|
|
5
5
|
subtitle?: Record<Locale, string | undefined>;
|
|
6
6
|
};
|
|
7
7
|
export type ViewerStatus = "viewing" | "editing" | "saving";
|
|
8
|
+
export type PagesEditionContext = {
|
|
9
|
+
/** Whether the viewer can save what the user changes. */
|
|
10
|
+
isEditable: boolean;
|
|
11
|
+
/** Whether the document finished loading, page streaming included. */
|
|
12
|
+
isDocumentLoaded: boolean;
|
|
13
|
+
};
|
|
@@ -15,7 +15,6 @@ type AccordionItemProps = {
|
|
|
15
15
|
parentInode?: Inode;
|
|
16
16
|
isDisabled: boolean;
|
|
17
17
|
isInvalid: boolean;
|
|
18
|
-
isDefaultExpanded: boolean;
|
|
19
18
|
isPropertiesTypeLoading: boolean;
|
|
20
19
|
properties?: PropertiesComponent[];
|
|
21
20
|
warningMessage?: string;
|
|
@@ -27,5 +26,5 @@ type AccordionItemProps = {
|
|
|
27
26
|
} | null) => void;
|
|
28
27
|
onDelete: (inodeOid: Inode["oid"]) => void;
|
|
29
28
|
};
|
|
30
|
-
declare const AccordionItem: ({ inode, options, currentType, dossierInode, parentInode, properties, isDisabled, isInvalid,
|
|
29
|
+
declare const AccordionItem: ({ inode, options, currentType, dossierInode, parentInode, properties, isDisabled, isInvalid, isPropertiesTypeLoading, warningMessage, errorMessages, control, onChange, onDelete, }: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
30
|
export default AccordionItem;
|
|
@@ -320,6 +320,7 @@ declare class PluginRegistry {
|
|
|
320
320
|
readonly DELEGATE_TASK: "DELEGATE_TASK";
|
|
321
321
|
readonly ASSIGN_TASK: "ASSIGN_TASK";
|
|
322
322
|
readonly ADD_COMMENT: "TASK_ADD_COMMENT";
|
|
323
|
+
readonly QUICK_LOOK: "TASK_QUICK_LOOK";
|
|
323
324
|
};
|
|
324
325
|
INODE: {
|
|
325
326
|
readonly MARK_AS_FAVORITE: "INODE_MARK_AS_FAVORITE";
|
|
@@ -51,6 +51,7 @@ export declare const ACTIONS: {
|
|
|
51
51
|
readonly DELEGATE_TASK: "DELEGATE_TASK";
|
|
52
52
|
readonly ASSIGN_TASK: "ASSIGN_TASK";
|
|
53
53
|
readonly ADD_COMMENT: "TASK_ADD_COMMENT";
|
|
54
|
+
readonly QUICK_LOOK: "TASK_QUICK_LOOK";
|
|
54
55
|
};
|
|
55
56
|
export declare const OUTCOME_TYPES: {
|
|
56
57
|
readonly OK: "ok";
|
|
@@ -67,7 +67,7 @@ export declare function complete(taskOid: string, outcome: {
|
|
|
67
67
|
outcome: string;
|
|
68
68
|
data: Record<string, unknown>;
|
|
69
69
|
}): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
70
|
-
export declare function validate(taskOid: string): Promise<import("axios").AxiosResponse<any, any, {}>> & {
|
|
70
|
+
export declare function validate(taskOid: string, outcome?: string): Promise<import("axios").AxiosResponse<any, any, {}>> & {
|
|
71
71
|
"@@redux-saga/CANCEL_PROMISE"?: import("axios").Canceler;
|
|
72
72
|
};
|
|
73
73
|
export declare function reviewApprove(taskOid: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|