@voplus/morpho-document 6.0.87 → 6.0.89
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 +12 -12
- package/es/components/DocumentList/index.js +8 -8
- package/es/components/DocumentList/index.js.map +1 -1
- package/es/components/DocumentList/index.less +33 -0
- package/es/components/DocumentListCard/index.d.ts +8 -8
- package/es/components/DocumentSelectDialog/index.d.ts +4 -4
- package/es/components/DocumentSortableTree/SortableTreeContext.d.ts +0 -1
- package/es/components/DocumentTabs/index.d.ts +5 -5
- package/es/components/FileViewer/FileViewer.d.ts +2 -2
- package/es/components/Links/NewLinkType.d.ts +2 -2
- package/es/components/NewDocumentForm/NewDocumentFormDialog.d.ts +4 -4
- package/es/components/NewDocumentForm/index.d.ts +8 -8
- package/es/components/PasteListInDocument/index.d.ts +4 -4
- package/es/components/SendForm/index.d.ts +7 -7
- package/es/components/ViewFrame/ViewFrameContext.js +3 -2
- package/es/components/ViewFrame/ViewFrameContext.js.map +1 -1
- package/es/components/ViewFrame/index.d.ts +6 -6
- package/es/components/ViewFrame/index.js +9 -6
- package/es/components/ViewFrame/index.js.map +1 -1
- package/es/components/WordFillView/WordFillContext.d.ts +0 -1
- 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 +3 -3
- 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/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 +3 -3
- 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 +0 -1
- package/es/data/contexts/DocumentListContext/index.d.ts +0 -1
- package/es/data/email-template/metas.d.ts +0 -1
- package/es/data/metas/ContainerMeta.d.ts +0 -1
- package/es/data/metas/DocumentRegisterMeta.d.ts +0 -1
- package/es/data/metas/FileTypeMeta.d.ts +0 -1
- package/es/data/metas/GraphMeta.d.ts +0 -1
- package/es/data/metas/LibraryMeta.d.ts +0 -1
- package/es/data/metas/PageMeta.d.ts +0 -1
- package/es/data/metas/ShortcutMeta.d.ts +0 -1
- package/es/data/metas/SignEnvelopeMeta.d.ts +0 -1
- package/es/data/metas/TextMeta.d.ts +0 -1
- package/es/modules/document-register/controls/DocumentRegisterStatusLabel/index.d.ts +1 -1
- package/es/modules/email-template/components/CodeMirror/index.d.ts +3 -3
- package/es/modules/graph/control/GraphMenu/item/OpenEditor.d.ts +2 -2
- package/es/modules/page/components/PageItemHeader/index.d.ts +3 -3
- package/es/modules/page/data/PageContext.d.ts +0 -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/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/SendDialog/index.d.ts +3 -3
- 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 +0 -1
- package/es/pages/VSubmit/components/EmailRecipients/index.d.ts +3 -3
- package/es/views/ExplorerView/ExplorerView2.d.ts +6 -0
- package/es/views/ExplorerView/ExplorerView2.js +37 -0
- package/es/views/ExplorerView/ExplorerView2.js.map +1 -0
- package/es/views/ExplorerView/index.d.ts +0 -1
- package/es/views/ExplorerView/index.js +4 -33
- package/es/views/ExplorerView/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Access: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Access;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Archive: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Archive;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Copy: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Copy;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const CopyReference: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default CopyReference;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Delete: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** 关闭Aside */
|
|
6
|
-
closeAside?: boolean
|
|
6
|
+
closeAside?: boolean;
|
|
7
7
|
/** 需不需要查 system */
|
|
8
|
-
isCheckSystem?: boolean
|
|
8
|
+
isCheckSystem?: boolean;
|
|
9
9
|
/** function of Click */
|
|
10
|
-
action?: (
|
|
10
|
+
action?: (context?: any) => void;
|
|
11
11
|
}) => React.JSX.Element;
|
|
12
12
|
export default Delete;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const DownloadFiles: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default DownloadFiles;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Lock: (props: {
|
|
3
|
-
style?: React.CSSProperties
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
4
|
/** disabled Button */
|
|
5
|
-
disabled?: boolean
|
|
5
|
+
disabled?: boolean;
|
|
6
6
|
/** function of Click */
|
|
7
|
-
action?: (
|
|
7
|
+
action?: (context?: any) => void;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default Lock;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Notifications: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Notifications;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const OpenInBrowser: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default OpenInBrowser;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const OpenReferenceView: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default OpenReferenceView;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const OpenWordFillPage: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default OpenWordFillPage;
|
|
@@ -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;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
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;
|
|
5
5
|
/** url of open new page eg:`meeting/print/${id}` */
|
|
6
|
-
url?: string
|
|
6
|
+
url?: string;
|
|
7
7
|
/** function of Click */
|
|
8
|
-
action?: (
|
|
8
|
+
action?: (context?: any) => void;
|
|
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;
|
|
6
6
|
/** function of Click */
|
|
7
|
-
action?: (
|
|
7
|
+
action?: (context?: any) => void;
|
|
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;
|
|
4
4
|
/** disabled Button */
|
|
5
|
-
disabled?: boolean
|
|
5
|
+
disabled?: boolean;
|
|
6
6
|
/** 需不需要查 system */
|
|
7
|
-
isCheckSystem?: boolean
|
|
7
|
+
isCheckSystem?: boolean;
|
|
8
8
|
/** function of Click */
|
|
9
|
-
action?: (
|
|
9
|
+
action?: (context?: any) => void;
|
|
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;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
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;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
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;
|
|
4
4
|
/** disabled Button */
|
|
5
|
-
disabled?: boolean
|
|
5
|
+
disabled?: boolean;
|
|
6
6
|
/** function of Click */
|
|
7
|
-
action?: (
|
|
7
|
+
action?: (context?: any) => void;
|
|
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;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
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?: (
|
|
9
|
+
status?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
editable?: boolean;
|
|
12
|
+
onChange?: (params: any) => void;
|
|
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";
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean
|
|
7
|
+
disabled?: boolean;
|
|
8
8
|
/** function of Click */
|
|
9
|
-
action?: (
|
|
9
|
+
action?: (context?: any) => void;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
11
|
defaultProps: {
|
|
12
12
|
size: string;
|
|
@@ -2,11 +2,11 @@ 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";
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean
|
|
7
|
+
disabled?: boolean;
|
|
8
8
|
/** function of Click */
|
|
9
|
-
action?: (
|
|
9
|
+
action?: (context?: any) => void;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
11
|
defaultProps: {
|
|
12
12
|
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";
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean
|
|
7
|
+
disabled?: boolean;
|
|
8
8
|
/** function of Click */
|
|
9
|
-
action?: (
|
|
9
|
+
action?: (context?: any) => void;
|
|
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";
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean
|
|
7
|
+
disabled?: boolean;
|
|
8
8
|
/** url of open new page */
|
|
9
|
-
url?: string
|
|
9
|
+
url?: string;
|
|
10
10
|
/** function of Click */
|
|
11
|
-
action?: (
|
|
11
|
+
action?: (context?: any) => void;
|
|
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";
|
|
8
8
|
/** disabled Button */
|
|
9
|
-
disabled?: boolean
|
|
9
|
+
disabled?: boolean;
|
|
10
10
|
/** function of Click */
|
|
11
|
-
action?: (
|
|
11
|
+
action?: (context?: any) => void;
|
|
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?: "None" | "Star" | "Urgent"
|
|
6
|
+
editable?: boolean;
|
|
7
|
+
flag?: "None" | "Star" | "Urgent";
|
|
8
8
|
icon?: any;
|
|
9
|
-
color?: string
|
|
10
|
-
size?: "
|
|
11
|
-
className?: string
|
|
12
|
-
onchange?: (
|
|
9
|
+
color?: string;
|
|
10
|
+
size?: "xs" | "sm" | "lg";
|
|
11
|
+
className?: string;
|
|
12
|
+
onchange?: (params?: any) => void;
|
|
13
13
|
}): React.JSX.Element;
|
|
14
14
|
defaultProps: {
|
|
15
15
|
editable: boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DocumentCardProps, IDocument, IDocumentMetaStore, IDocumentTypeMeta, QuickViewProps, DocumentMenuProps, DocumentNewFormProps } from "@voplus/morpho-document-core";
|
|
3
2
|
import { Store } from "@voplus/morpho-data";
|
|
4
3
|
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;
|
|
8
8
|
onChange: (status: DocumentRegisterStatus) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default DocumentRegisterStatusLabel;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const CodeMirror: (props: {
|
|
3
|
-
code?: string
|
|
4
|
-
readOnly?: boolean
|
|
5
|
-
onChange?: (
|
|
3
|
+
code?: string;
|
|
4
|
+
readOnly?: boolean;
|
|
5
|
+
onChange?: (code: string) => void;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default CodeMirror;
|
|
@@ -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;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default OpenEditor;
|
|
@@ -4,11 +4,11 @@ declare const PageItemHeader: (props: {
|
|
|
4
4
|
id: string;
|
|
5
5
|
collapse: boolean;
|
|
6
6
|
connectDragSource?: any;
|
|
7
|
-
changeCollapse?: (
|
|
7
|
+
changeCollapse?: (collapse: boolean) => void;
|
|
8
8
|
/** Open new tab button */
|
|
9
|
-
openVisible?: boolean
|
|
9
|
+
openVisible?: boolean;
|
|
10
10
|
/** show icon */
|
|
11
|
-
iconVisible?: boolean
|
|
11
|
+
iconVisible?: boolean;
|
|
12
12
|
preToolBar?: ReactNode;
|
|
13
13
|
}) => React.JSX.Element;
|
|
14
14
|
export default PageItemHeader;
|
|
@@ -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?: (
|
|
5
|
+
onChange?: (v: string) => void;
|
|
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;
|
|
8
8
|
/** 是否允在 listView 内部打开 aside */
|
|
9
|
-
asideable?: boolean
|
|
9
|
+
asideable?: boolean;
|
|
10
10
|
/** Call back when received total number of tenant-service. */
|
|
11
|
-
onTotal?: (
|
|
11
|
+
onTotal?: (total: number) => void;
|
|
12
12
|
/** Call back when an item has been clicked on the list. */
|
|
13
|
-
onClickItem?: (
|
|
13
|
+
onClickItem?: (item: ITenantService) => void;
|
|
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;
|
|
9
9
|
/** 是否允在 listView 内部打开 aside */
|
|
10
|
-
asideable?: boolean
|
|
10
|
+
asideable?: boolean;
|
|
11
11
|
/** Call back when received total number of tenant-service-execution. */
|
|
12
|
-
onTotal?: (
|
|
12
|
+
onTotal?: (total: number) => void;
|
|
13
13
|
/** Call back when an item has been clicked on the list. */
|
|
14
|
-
onClickItem?: (
|
|
14
|
+
onClickItem?: (item: ITenantServiceExecution) => void;
|
|
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?: (
|
|
4
|
+
height?: string;
|
|
5
|
+
readOnly?: boolean;
|
|
6
|
+
onChange?: (code: string) => void;
|
|
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?: (
|
|
5
|
+
bordered?: boolean;
|
|
6
|
+
onChange?: (id: string) => void;
|
|
7
7
|
}): React.JSX.Element;
|
|
8
8
|
defaultProps: {
|
|
9
9
|
bordered: boolean;
|
|
@@ -4,7 +4,7 @@ declare const RemoveSignatureDialog: (props: {
|
|
|
4
4
|
envelopeId: string;
|
|
5
5
|
letterId: string;
|
|
6
6
|
signatureId: string;
|
|
7
|
-
onCancel?: (
|
|
8
|
-
onOk?: (
|
|
7
|
+
onCancel?: () => void;
|
|
8
|
+
onOk?: () => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default RemoveSignatureDialog;
|
|
@@ -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;
|
|
6
6
|
/** cancel */
|
|
7
|
-
onCancel?: (
|
|
7
|
+
onCancel?: () => void;
|
|
8
8
|
/** send */
|
|
9
|
-
onSend?: (
|
|
9
|
+
onSend?: (data: any) => void;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default SendDialog;
|