@voplus/morpho-document 6.1.2 → 6.1.4
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/es/components/DocumentBreadCrumbsHeader/index.d.ts +1 -1
- package/es/components/DocumentCardList/index.d.ts +2 -2
- package/es/components/DocumentList/index.d.ts +11 -11
- package/es/components/DocumentListCard/index.d.ts +8 -8
- package/es/components/DocumentSelectDialog/index.d.ts +5 -5
- package/es/components/DocumentSortableTree/SortableTreeContext.d.ts +1 -0
- package/es/components/DocumentTabs/index.d.ts +7 -7
- package/es/components/DocumentTree/index.d.ts +2 -2
- package/es/components/FileViewer/FileViewer.d.ts +2 -2
- package/es/components/Links/NewLinkType.d.ts +2 -2
- package/es/components/NewDocumentForm/DocumentForm.js +5 -2
- package/es/components/NewDocumentForm/DocumentForm.js.map +1 -1
- package/es/components/NewDocumentForm/NewDocumentFormDialog.d.ts +4 -4
- package/es/components/NewDocumentForm/NewDocumentFormDialog.js +3 -3
- package/es/components/NewDocumentForm/NewDocumentFormDialog.js.map +1 -1
- package/es/components/NewDocumentForm/index.d.ts +8 -8
- package/es/components/NewDocumentForm/index.less +8 -2
- package/es/components/PasteListInDocument/index.d.ts +3 -3
- package/es/components/SendForm/index.d.ts +7 -7
- package/es/components/ViewFrame/index.d.ts +6 -6
- package/es/components/WordFieldViewer/index.less +6 -5
- package/es/components/WordFillView/WordFillContext.d.ts +1 -0
- package/es/controls/ChildDocumentSelect/Item.d.ts +2 -2
- package/es/controls/ChildDocumentSelect/index.d.ts +6 -6
- package/es/controls/DocumentDataIconBar/index.d.ts +4 -4
- package/es/controls/DocumentLabel/index.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Access.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Archive.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Copy.d.ts +2 -2
- package/es/controls/DocumentMenu/items/CopyReference.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Delete.d.ts +4 -4
- package/es/controls/DocumentMenu/items/DownloadFiles.d.ts +2 -2
- package/es/controls/DocumentMenu/items/DownloadLetter.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Duplicate.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Lock.d.ts +3 -3
- package/es/controls/DocumentMenu/items/Notifications.d.ts +2 -2
- package/es/controls/DocumentMenu/items/OpenInBrowser.d.ts +2 -2
- package/es/controls/DocumentMenu/items/OpenReferenceView.d.ts +2 -2
- package/es/controls/DocumentMenu/items/OpenWordFillPage.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Pin.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Print.d.ts +3 -3
- package/es/controls/DocumentMenu/items/PrintActivities.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Publish.d.ts +4 -4
- package/es/controls/DocumentMenu/items/PublishLock.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Revert.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Unlock.d.ts +3 -3
- package/es/controls/DocumentMenu/items/Unpin.d.ts +2 -2
- package/es/controls/DocumentStatusLabel/index.d.ts +4 -4
- package/es/controls/ToolBar/buttons/Delete.d.ts +3 -3
- package/es/controls/ToolBar/buttons/Download.d.ts +4 -4
- package/es/controls/ToolBar/buttons/Edit.d.ts +3 -3
- package/es/controls/ToolBar/buttons/Open.d.ts +4 -4
- package/es/controls/ToolBar/buttons/UpLevel.d.ts +3 -3
- package/es/controls/data-icons/FlagIcon/index.d.ts +6 -6
- package/es/data/DocumentMetaStore.d.ts +1 -0
- package/es/data/contexts/DocumentListContext/index.d.ts +1 -0
- package/es/data/message-template/metas.d.ts +1 -0
- package/es/data/metas/ContainerMeta.d.ts +1 -0
- package/es/data/metas/DocumentRegisterMeta.d.ts +1 -0
- package/es/data/metas/FileTypeMeta.d.ts +1 -0
- package/es/data/metas/GraphMeta.d.ts +1 -0
- package/es/data/metas/LibraryMeta.d.ts +1 -0
- package/es/data/metas/PageMeta.d.ts +1 -0
- package/es/data/metas/RegisteredDocumentMeta.d.ts +1 -0
- package/es/data/metas/ShortcutMeta.d.ts +1 -0
- package/es/data/metas/SignEnvelopeMeta.d.ts +1 -0
- package/es/data/metas/TextMeta.d.ts +1 -0
- package/es/modules/document-register/controls/DocumentRegisterStatusLabel/index.d.ts +1 -1
- package/es/modules/graph/control/GraphMenu/item/OpenEditor.d.ts +2 -2
- package/es/modules/message-template/components/CodeMirror/index.d.ts +3 -3
- package/es/modules/message-template/components/MessageTemplateSelect/index.d.ts +4 -4
- package/es/modules/message-template/controls/MessageTemplateMenu/items/SendPreviewEmail.d.ts +2 -2
- package/es/modules/page/components/PageItemHeader/index.d.ts +3 -3
- package/es/modules/page/data/PageContext.d.ts +1 -0
- package/es/modules/quick-access/AdvanceFilterForm/index.d.ts +2 -2
- package/es/modules/quick-access/GeneralFilterForm/index.d.ts +2 -2
- package/es/modules/quick-access/QuickAccessPage/QuickAccessContext.d.ts +1 -0
- package/es/modules/registered-document/RegisteredDocumentContext.d.ts +1 -1
- package/es/modules/registered-document/components/RegisteredDocumentListHeader/index.d.ts +4 -4
- package/es/modules/registered-document/controls/RegisteredDocumentStatusLabel/index.d.ts +1 -1
- package/es/modules/tenant-service/components/StringDynamicField/index.d.ts +1 -1
- package/es/modules/tenant-service/components/TenantServiceList/index.d.ts +4 -4
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.d.ts +4 -4
- package/es/obsolete/EmailTemplate/CodeMirror/index.d.ts +3 -3
- package/es/obsolete/EmailTemplate/EmailTemplateSelect/index.d.ts +2 -2
- package/es/pages/Library/components/DocumentTree/index.d.ts +2 -2
- package/es/pages/Signature/Envelope/components/ReasonDialog/index.d.ts +1 -1
- package/es/pages/Signature/Envelope/components/RemindersDialog/index.d.ts +1 -1
- package/es/pages/Signature/Envelope/components/RemoveSignatureDialog/index.d.ts +2 -2
- package/es/pages/Signature/Envelope/components/ReviewDialog/index.d.ts +1 -1
- package/es/pages/Signature/Envelope/components/ReviewDialog/state.d.ts +2 -2
- package/es/pages/Signature/Envelope/components/SendDialog/index.d.ts +3 -3
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Cancel.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Complete.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Reopen.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendInvite.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReminders.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReview.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/ViewSignatures.d.ts +2 -2
- package/es/pages/Signature/Letter/LetterItem/index.d.ts +4 -4
- package/es/pages/Signature/Letter/LetterList/index.d.ts +6 -6
- package/es/pages/Signature/Letter/LetterRecipientItem/index.d.ts +2 -2
- package/es/pages/Signature/Letter/LetterViewer/index.d.ts +1 -1
- package/es/pages/Signature/SignatureTable/RemoveSignatureDialog.d.ts +2 -2
- package/es/pages/Signature/SigningReminderDialog/index.d.ts +1 -1
- package/es/pages/Signature/data/EnvelopeContext.d.ts +1 -0
- package/es/pages/VSubmit/components/EmailRecipients/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Pin: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (context?: any) => void;
|
|
6
|
+
action?: ((context?: any) => void) | undefined;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Pin;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Print: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
5
|
/** url of open new page eg:`meeting/print/${id}` */
|
|
6
|
-
url?: string;
|
|
6
|
+
url?: string | undefined;
|
|
7
7
|
/** function of Click */
|
|
8
|
-
action?: (context?: any) => void;
|
|
8
|
+
action?: ((context?: any) => void) | undefined;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default Print;
|
|
@@ -2,9 +2,9 @@ import React from "react";
|
|
|
2
2
|
declare const PrintActivities: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** disabled Button */
|
|
5
|
-
disabled?: boolean;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
6
|
/** function of Click */
|
|
7
|
-
action?: (context?: any) => void;
|
|
7
|
+
action?: ((context?: any) => void) | undefined;
|
|
8
8
|
}): React.JSX.Element;
|
|
9
9
|
defaultProps: {
|
|
10
10
|
size: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Publish: (props: {
|
|
3
|
-
style?: React.CSSProperties;
|
|
3
|
+
style?: React.CSSProperties | undefined;
|
|
4
4
|
/** disabled Button */
|
|
5
|
-
disabled?: boolean;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
6
|
/** 需不需要查 system */
|
|
7
|
-
isCheckSystem?: boolean;
|
|
7
|
+
isCheckSystem?: boolean | undefined;
|
|
8
8
|
/** function of Click */
|
|
9
|
-
action?: (context?: any) => void;
|
|
9
|
+
action?: ((context?: any) => void) | undefined;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default Publish;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const PublishLock: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (context?: any) => void;
|
|
6
|
+
action?: ((context?: any) => void) | undefined;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default PublishLock;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Revert: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (context?: any) => void;
|
|
6
|
+
action?: ((context?: any) => void) | undefined;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Revert;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Unlock: (props: {
|
|
3
|
-
style?: React.CSSProperties;
|
|
3
|
+
style?: React.CSSProperties | undefined;
|
|
4
4
|
/** disabled Button */
|
|
5
|
-
disabled?: boolean;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
6
|
/** function of Click */
|
|
7
|
-
action?: (context?: any) => void;
|
|
7
|
+
action?: ((context?: any) => void) | undefined;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default Unlock;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Unpin: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (context?: any) => void;
|
|
6
|
+
action?: ((context?: any) => void) | undefined;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Unpin;
|
|
@@ -6,9 +6,9 @@ declare const DocumentStatusLabel: (props: {
|
|
|
6
6
|
displayName?: string;
|
|
7
7
|
}[];
|
|
8
8
|
/** The current status */
|
|
9
|
-
status?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
editable?: boolean;
|
|
12
|
-
onChange?: (params: any) => void;
|
|
9
|
+
status?: string | undefined;
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
editable?: boolean | undefined;
|
|
12
|
+
onChange?: ((params: any) => void) | undefined;
|
|
13
13
|
}) => React.JSX.Element;
|
|
14
14
|
export default DocumentStatusLabel;
|
|
@@ -2,11 +2,11 @@ import React from "react";
|
|
|
2
2
|
declare const Delete: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** size of Button */
|
|
5
|
-
size?: "small" | "middle" | "large";
|
|
5
|
+
size?: "small" | "middle" | "large" | undefined;
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
8
|
/** function of Click */
|
|
9
|
-
action?: (context?: any) => void;
|
|
9
|
+
action?: ((context?: any) => void) | undefined;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
11
|
defaultProps: {
|
|
12
12
|
size: string;
|
|
@@ -2,12 +2,12 @@ import React from "react";
|
|
|
2
2
|
declare const Download: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** size of Button */
|
|
5
|
-
size?: "small" | "middle" | "large";
|
|
5
|
+
size?: "small" | "middle" | "large" | undefined;
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
text?: string;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
text?: string | undefined;
|
|
9
9
|
/** function of Click */
|
|
10
|
-
action?: (context?: any) => void;
|
|
10
|
+
action?: ((context?: any) => void) | undefined;
|
|
11
11
|
}): React.JSX.Element;
|
|
12
12
|
defaultProps: {
|
|
13
13
|
size: string;
|
|
@@ -2,11 +2,11 @@ import React from "react";
|
|
|
2
2
|
declare const Edit: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** size of Button */
|
|
5
|
-
size?: "small" | "middle" | "large";
|
|
5
|
+
size?: "small" | "middle" | "large" | undefined;
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
8
|
/** function of Click */
|
|
9
|
-
action?: (context?: any) => void;
|
|
9
|
+
action?: ((context?: any) => void) | undefined;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
11
|
defaultProps: {
|
|
12
12
|
size: string;
|
|
@@ -2,13 +2,13 @@ import React from "react";
|
|
|
2
2
|
declare const Open: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** size of Button */
|
|
5
|
-
size?: "small" | "middle" | "large";
|
|
5
|
+
size?: "small" | "middle" | "large" | undefined;
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
8
|
/** url of open new page */
|
|
9
|
-
url?: string;
|
|
9
|
+
url?: string | undefined;
|
|
10
10
|
/** function of Click */
|
|
11
|
-
action?: (context?: any) => void;
|
|
11
|
+
action?: ((context?: any) => void) | undefined;
|
|
12
12
|
}): React.JSX.Element;
|
|
13
13
|
defaultProps: {
|
|
14
14
|
size: string;
|
|
@@ -4,11 +4,11 @@ declare const UpLevel: {
|
|
|
4
4
|
/** */
|
|
5
5
|
id: string;
|
|
6
6
|
/** size of Button */
|
|
7
|
-
size?: "small" | "middle" | "large";
|
|
7
|
+
size?: "small" | "middle" | "large" | undefined;
|
|
8
8
|
/** disabled Button */
|
|
9
|
-
disabled?: boolean;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
10
|
/** function of Click */
|
|
11
|
-
action?: (context?: any) => void;
|
|
11
|
+
action?: ((context?: any) => void) | undefined;
|
|
12
12
|
}): React.JSX.Element;
|
|
13
13
|
defaultProps: {
|
|
14
14
|
size: string;
|
|
@@ -3,13 +3,13 @@ import React from "react";
|
|
|
3
3
|
declare const FlagIcon: {
|
|
4
4
|
(props: {
|
|
5
5
|
id: string;
|
|
6
|
-
editable?: boolean;
|
|
7
|
-
flag?: "
|
|
6
|
+
editable?: boolean | undefined;
|
|
7
|
+
flag?: "Star" | "Urgent" | "None" | undefined;
|
|
8
8
|
icon?: any;
|
|
9
|
-
color?: string;
|
|
10
|
-
size?: "
|
|
11
|
-
className?: string;
|
|
12
|
-
onchange?: (params?: any) => void;
|
|
9
|
+
color?: string | undefined;
|
|
10
|
+
size?: "sm" | "xs" | "lg" | undefined;
|
|
11
|
+
className?: string | undefined;
|
|
12
|
+
onchange?: ((params?: any) => void) | undefined;
|
|
13
13
|
}): React.JSX.Element;
|
|
14
14
|
defaultProps: {
|
|
15
15
|
editable: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { DocumentCardProps, IDocument, IDocumentMetaStore, IDocumentTypeMeta, QuickViewProps, DocumentMenuProps, DocumentNewFormProps } from "@voplus/morpho-document-core";
|
|
2
3
|
import { FilterOption, Store } from "@voplus/morpho-data";
|
|
3
4
|
export declare class DocumentMetaStore extends Store implements IDocumentMetaStore {
|
|
@@ -4,7 +4,7 @@ import { DocumentRegisterStatus } from "../../../../data/document-register";
|
|
|
4
4
|
declare const DocumentRegisterStatusLabel: (props: {
|
|
5
5
|
status: string;
|
|
6
6
|
editable: boolean;
|
|
7
|
-
className?: string;
|
|
7
|
+
className?: string | undefined;
|
|
8
8
|
onChange: (status: DocumentRegisterStatus) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default DocumentRegisterStatusLabel;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const OpenEditor: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (context?: any) => void;
|
|
6
|
+
action?: ((context?: any) => void) | undefined;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default OpenEditor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const CodeMirror: (props: {
|
|
3
|
-
code?: string;
|
|
4
|
-
readOnly?: boolean;
|
|
5
|
-
onChange?: (code: string) => void;
|
|
3
|
+
code?: string | undefined;
|
|
4
|
+
readOnly?: boolean | undefined;
|
|
5
|
+
onChange?: ((code: string) => void) | undefined;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default CodeMirror;
|
|
@@ -2,10 +2,10 @@ import React from "react";
|
|
|
2
2
|
import { SelectProps } from "antd";
|
|
3
3
|
import { IMessageTemplate } from "../../../../data/message-template";
|
|
4
4
|
declare const MessageTemplateSelect: {
|
|
5
|
-
(props: SelectProps & {
|
|
6
|
-
defaultValue?: string;
|
|
7
|
-
isLayout?: boolean;
|
|
8
|
-
onChange?: (messageTemplate?: IMessageTemplate) => void;
|
|
5
|
+
(props: SelectProps<any, import("rc-select/lib/Select").DefaultOptionType> & {
|
|
6
|
+
defaultValue?: string | undefined;
|
|
7
|
+
isLayout?: boolean | undefined;
|
|
8
|
+
onChange?: ((messageTemplate?: IMessageTemplate) => void) | undefined;
|
|
9
9
|
}): React.JSX.Element;
|
|
10
10
|
defaultProps: {
|
|
11
11
|
isLayout: boolean;
|
package/es/modules/message-template/controls/MessageTemplateMenu/items/SendPreviewEmail.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const SendPreviewEmail: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (context?: any) => void;
|
|
6
|
+
action?: ((context?: any) => void) | undefined;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default SendPreviewEmail;
|
|
@@ -4,11 +4,11 @@ declare const PageItemHeader: (props: {
|
|
|
4
4
|
id: string;
|
|
5
5
|
collapse: boolean;
|
|
6
6
|
connectDragSource?: any;
|
|
7
|
-
changeCollapse?: (collapse: boolean) => void;
|
|
7
|
+
changeCollapse?: ((collapse: boolean) => void) | undefined;
|
|
8
8
|
/** Open new tab button */
|
|
9
|
-
openVisible?: boolean;
|
|
9
|
+
openVisible?: boolean | undefined;
|
|
10
10
|
/** show icon */
|
|
11
|
-
iconVisible?: boolean;
|
|
11
|
+
iconVisible?: boolean | undefined;
|
|
12
12
|
preToolBar?: ReactNode;
|
|
13
13
|
}) => React.JSX.Element;
|
|
14
14
|
export default PageItemHeader;
|
|
@@ -3,7 +3,7 @@ import { INodeInfo } from "../../../data/quick-access";
|
|
|
3
3
|
import { FilterOption } from "@voplus/morpho-data";
|
|
4
4
|
declare const AdvanceFilterForm: (props: {
|
|
5
5
|
fileTypes: INodeInfo[];
|
|
6
|
-
onChange?: (type: string) => void;
|
|
7
|
-
onFilter?: (options?: FilterOption[]) => void;
|
|
6
|
+
onChange?: ((type: string) => void) | undefined;
|
|
7
|
+
onFilter?: ((options?: FilterOption[]) => void) | undefined;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default AdvanceFilterForm;
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { FilterOption } from "@voplus/morpho-data";
|
|
3
3
|
declare const GeneralFilterForm: (props: {
|
|
4
4
|
id: "InvoiceNode" | "CorporateNode" | "CustomerNode" | "QuotationNode" | "WorkNode" | "FormSchemaNode" | "MessageTemplate" | "DocumentNode";
|
|
5
|
-
className?: string;
|
|
6
|
-
onFilter?: (options?: FilterOption[]) => void;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
onFilter?: ((options?: FilterOption[]) => void) | undefined;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default GeneralFilterForm;
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
/** Registered Document State */
|
|
3
3
|
export declare class RegisteredDocumentState {
|
|
4
4
|
private viewType?;
|
|
5
|
-
constructor(viewType?: "
|
|
5
|
+
constructor(viewType?: "PropertiesView" | "DefaultView" | undefined);
|
|
6
6
|
/** RegisteredDocumentProperties 点击 view more 跳转到 RegisteredDocumentTabs 的 Documents */
|
|
7
7
|
activeKey?: string;
|
|
8
8
|
setActiveKey(key: string): void;
|
|
@@ -2,10 +2,10 @@ import React from "react";
|
|
|
2
2
|
import { ITypeLineOptions } from "../../../../data/document-register";
|
|
3
3
|
declare const RegisterListHeader: (props: {
|
|
4
4
|
parentId: string;
|
|
5
|
-
types?: ITypeLineOptions[];
|
|
5
|
+
types?: ITypeLineOptions[] | undefined;
|
|
6
6
|
/** type of registers shown on the list. */
|
|
7
|
-
type?: number;
|
|
8
|
-
onChangeFilter?: (typeId?: number) => void;
|
|
9
|
-
onAdd?: () => void;
|
|
7
|
+
type?: number | undefined;
|
|
8
|
+
onChangeFilter?: ((typeId?: number) => void) | undefined;
|
|
9
|
+
onAdd?: (() => void) | undefined;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default RegisterListHeader;
|
|
@@ -4,7 +4,7 @@ import { RegisteredDocumentStatus } from "../../../../data/registered-document";
|
|
|
4
4
|
declare const RegisteredDocumentStatusLabel: (props: {
|
|
5
5
|
status: string;
|
|
6
6
|
editable: boolean;
|
|
7
|
-
className?: string;
|
|
7
|
+
className?: string | undefined;
|
|
8
8
|
onChange: (status: RegisteredDocumentStatus) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default RegisteredDocumentStatusLabel;
|
|
@@ -2,6 +2,6 @@ import React from "react";
|
|
|
2
2
|
import { INodeField } from "../../../../data/tenant-service";
|
|
3
3
|
declare const StringDynamicField: (props: {
|
|
4
4
|
field: INodeField;
|
|
5
|
-
onChange?: (v: string) => void;
|
|
5
|
+
onChange?: ((v: string) => void) | undefined;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default StringDynamicField;
|
|
@@ -4,12 +4,12 @@ declare const TenantServiceList: (props: {
|
|
|
4
4
|
/** title */
|
|
5
5
|
viewTitle?: React.ReactNode;
|
|
6
6
|
/** 是否显示 total */
|
|
7
|
-
total?: boolean;
|
|
7
|
+
total?: boolean | undefined;
|
|
8
8
|
/** 是否允在 listView 内部打开 aside */
|
|
9
|
-
asideable?: boolean;
|
|
9
|
+
asideable?: boolean | undefined;
|
|
10
10
|
/** Call back when received total number of tenant-service. */
|
|
11
|
-
onTotal?: (total: number) => void;
|
|
11
|
+
onTotal?: ((total: number) => void) | undefined;
|
|
12
12
|
/** Call back when an item has been clicked on the list. */
|
|
13
|
-
onClickItem?: (item: ITenantService) => void;
|
|
13
|
+
onClickItem?: ((item: ITenantService) => void) | undefined;
|
|
14
14
|
}) => React.JSX.Element;
|
|
15
15
|
export default TenantServiceList;
|
package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ declare const TenantServiceExecutionList: (props: {
|
|
|
5
5
|
/** title */
|
|
6
6
|
viewTitle?: React.ReactNode;
|
|
7
7
|
/** 是否显示 total */
|
|
8
|
-
total?: boolean;
|
|
8
|
+
total?: boolean | undefined;
|
|
9
9
|
/** 是否允在 listView 内部打开 aside */
|
|
10
|
-
asideable?: boolean;
|
|
10
|
+
asideable?: boolean | undefined;
|
|
11
11
|
/** Call back when received total number of tenant-service-execution. */
|
|
12
|
-
onTotal?: (total: number) => void;
|
|
12
|
+
onTotal?: ((total: number) => void) | undefined;
|
|
13
13
|
/** Call back when an item has been clicked on the list. */
|
|
14
|
-
onClickItem?: (item: ITenantServiceExecution) => void;
|
|
14
|
+
onClickItem?: ((item: ITenantServiceExecution) => void) | undefined;
|
|
15
15
|
}) => React.JSX.Element;
|
|
16
16
|
export default TenantServiceExecutionList;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const CodeMirror: (props: {
|
|
3
3
|
code: string;
|
|
4
|
-
height?: string;
|
|
5
|
-
readOnly?: boolean;
|
|
6
|
-
onChange?: (code: string) => void;
|
|
4
|
+
height?: string | undefined;
|
|
5
|
+
readOnly?: boolean | undefined;
|
|
6
|
+
onChange?: ((code: string) => void) | undefined;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default CodeMirror;
|
|
@@ -2,8 +2,8 @@ import React from "react";
|
|
|
2
2
|
declare const EmailTemplateSelect: {
|
|
3
3
|
(props: {
|
|
4
4
|
value: string;
|
|
5
|
-
bordered?: boolean;
|
|
6
|
-
onChange?: (id: string) => void;
|
|
5
|
+
bordered?: boolean | undefined;
|
|
6
|
+
onChange?: ((id: string) => void) | undefined;
|
|
7
7
|
}): React.JSX.Element;
|
|
8
8
|
defaultProps: {
|
|
9
9
|
bordered: boolean;
|
|
@@ -12,7 +12,7 @@ export type IDocTree = {
|
|
|
12
12
|
};
|
|
13
13
|
declare const DocumentTree: (props: {
|
|
14
14
|
id: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
onSelect?: (doc: IDocTree) => void;
|
|
15
|
+
className?: string | undefined;
|
|
16
|
+
onSelect?: ((doc: IDocTree) => void) | undefined;
|
|
17
17
|
}) => React.JSX.Element;
|
|
18
18
|
export default DocumentTree;
|
|
@@ -4,7 +4,7 @@ declare const RemoveSignatureDialog: (props: {
|
|
|
4
4
|
envelopeId: string;
|
|
5
5
|
letterId: string;
|
|
6
6
|
signatureId: string;
|
|
7
|
-
onCancel?: () => void;
|
|
8
|
-
onOk?: () => void;
|
|
7
|
+
onCancel?: (() => void) | undefined;
|
|
8
|
+
onOk?: (() => void) | undefined;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default RemoveSignatureDialog;
|
|
@@ -6,11 +6,11 @@ export declare class State {
|
|
|
6
6
|
constructor();
|
|
7
7
|
Params: {
|
|
8
8
|
Reviewers: string[];
|
|
9
|
-
Message?: string;
|
|
9
|
+
Message?: string | undefined;
|
|
10
10
|
};
|
|
11
11
|
loading: boolean;
|
|
12
12
|
params: {
|
|
13
13
|
Reviewers: string[];
|
|
14
|
-
Message?: string;
|
|
14
|
+
Message?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
@@ -2,10 +2,10 @@ import React from "react";
|
|
|
2
2
|
import "./index.less";
|
|
3
3
|
declare const SendDialog: (props: {
|
|
4
4
|
/** 用于显示 模块的 title */
|
|
5
|
-
title?: string;
|
|
5
|
+
title?: string | undefined;
|
|
6
6
|
/** cancel */
|
|
7
|
-
onCancel?: () => void;
|
|
7
|
+
onCancel?: (() => void) | undefined;
|
|
8
8
|
/** send */
|
|
9
|
-
onSend?: (data: any) => void;
|
|
9
|
+
onSend?: ((data: any) => void) | undefined;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default SendDialog;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Cancel: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (context?: any) => void;
|
|
6
|
+
action?: ((context?: any) => void) | undefined;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Cancel;
|