@voplus/morpho-document 6.1.11 → 6.1.12
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 +0 -1
- 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/NewDocumentFormDialog.d.ts +4 -4
- package/es/components/NewDocumentForm/index.d.ts +8 -8
- 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/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 +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 +0 -1
- package/es/data/contexts/DocumentListContext/index.d.ts +0 -1
- package/es/data/message-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/RegisteredDocumentMeta.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/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 +0 -1
- 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 +0 -1
- 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/components/TenantServiceList/index.js +27 -21
- package/es/modules/tenant-service/components/TenantServiceList/index.js.map +1 -1
- package/es/modules/tenant-service/components/TenantServiceList/index.less +0 -10
- package/es/modules/tenant-service/components/TenantServiceTabs/index.js +2 -1
- package/es/modules/tenant-service/components/TenantServiceTabs/index.js.map +1 -1
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.d.ts +4 -6
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.js +7 -9
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.js.map +1 -1
- 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 +0 -1
- package/es/pages/VSubmit/components/EmailRecipients/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ import React from "react";
|
|
|
4
4
|
declare const DocumentCardList: (props: {
|
|
5
5
|
id: string;
|
|
6
6
|
/** Mouse double click on card */
|
|
7
|
-
onCardDoubleClick?: (
|
|
7
|
+
onCardDoubleClick?: (id: string, ev: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
8
8
|
/** Optional custom props for default card */
|
|
9
|
-
cardProps?: Partial<DocumentCardProps
|
|
9
|
+
cardProps?: Partial<DocumentCardProps>;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default DocumentCardList;
|
|
@@ -4,28 +4,28 @@ import { FilterOption } from "@voplus/morpho-data";
|
|
|
4
4
|
declare const DocumentList: {
|
|
5
5
|
(props: DocumentListProps & {
|
|
6
6
|
/** Shortcut filter */
|
|
7
|
-
shortcutFilter?: boolean
|
|
7
|
+
shortcutFilter?: boolean;
|
|
8
8
|
/** e.g. contains={["Task", "Agenda"]} 結果:只顯示 Task和Agenda文件 */
|
|
9
|
-
contains?: string[]
|
|
10
|
-
otherFilters?: FilterOption[]
|
|
11
|
-
search?: boolean
|
|
9
|
+
contains?: string[];
|
|
10
|
+
otherFilters?: FilterOption[];
|
|
11
|
+
search?: boolean;
|
|
12
12
|
newButtonProps?: {
|
|
13
13
|
newFormDefault?: {
|
|
14
14
|
contact?: {
|
|
15
15
|
name: string;
|
|
16
16
|
id: string;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
20
|
/** 新增 document 的样式是否为 dialog */
|
|
21
|
-
openAddType?: "
|
|
21
|
+
openAddType?: "default" | "dialog";
|
|
22
22
|
/** Header是否显示menu */
|
|
23
|
-
menuVisible?: boolean
|
|
23
|
+
menuVisible?: boolean;
|
|
24
24
|
/** Allow document list to use a specific loader instead of the default loader from document store. */
|
|
25
|
-
loader?: (
|
|
25
|
+
loader?: (options?: any) => Promise<IDocument[] | {
|
|
26
26
|
total: number;
|
|
27
27
|
list: IDocument[];
|
|
28
|
-
}
|
|
28
|
+
}>;
|
|
29
29
|
}): React.JSX.Element;
|
|
30
30
|
defaultProps: {
|
|
31
31
|
header: boolean;
|
|
@@ -3,19 +3,19 @@ import { IDocument, DocumentListProps } from "@voplus/morpho-document-core";
|
|
|
3
3
|
import { FilterOption } from "@voplus/morpho-data";
|
|
4
4
|
declare const DocumentListCard: {
|
|
5
5
|
(props: {
|
|
6
|
-
style?: React.CSSProperties
|
|
7
|
-
shortcutFilter?: boolean
|
|
6
|
+
style?: React.CSSProperties /** Shortcut filter */;
|
|
7
|
+
shortcutFilter?: boolean;
|
|
8
8
|
/** e.g. contains={["Task", "Agenda"]} 結果:只顯示 Task和Agenda文件 */
|
|
9
|
-
contains?: string[]
|
|
10
|
-
otherFilters?: FilterOption[]
|
|
11
|
-
search?: boolean
|
|
9
|
+
contains?: string[];
|
|
10
|
+
otherFilters?: FilterOption[];
|
|
11
|
+
search?: boolean;
|
|
12
12
|
/** Header是否显示menu */
|
|
13
|
-
menuVisible?: boolean
|
|
13
|
+
menuVisible?: boolean;
|
|
14
14
|
/** Allow document list to use a specific loader instead of the default loader from document store. */
|
|
15
|
-
loader?: (
|
|
15
|
+
loader?: (options?: any) => Promise<IDocument[] | {
|
|
16
16
|
total: number;
|
|
17
17
|
list: IDocument[];
|
|
18
|
-
}
|
|
18
|
+
}>;
|
|
19
19
|
} & DocumentListProps): React.JSX.Element;
|
|
20
20
|
defaultProps: {
|
|
21
21
|
multiple: boolean;
|
|
@@ -4,15 +4,15 @@ import { FilterOption } from "@voplus/morpho-data";
|
|
|
4
4
|
declare const DocumentSelectDialog: {
|
|
5
5
|
(props: DocumentSelectDialogProps & {
|
|
6
6
|
/** list e.g. contains={["Task", "Agenda"]} 結果:只顯示 Task和Agenda文件 */
|
|
7
|
-
contains?: string[]
|
|
8
|
-
otherFilters?: FilterOption[]
|
|
9
|
-
loader?: (
|
|
7
|
+
contains?: string[];
|
|
8
|
+
otherFilters?: FilterOption[];
|
|
9
|
+
loader?: (options: any) => Promise<IDocument[] | {
|
|
10
10
|
total: number;
|
|
11
11
|
list: IDocument[];
|
|
12
|
-
}
|
|
12
|
+
}>;
|
|
13
13
|
/** 只有在 text 包用到的 renderDocumentSelectDialog 时才设置 zIndex,其他地方慎用会导致zIndex混乱
|
|
14
14
|
* fix 情景:打开多个QuickView, 在QuickView的Activities comment内输入@ 显示DocumentSelectDialog 看不到DocumentSelectDialog,被遮着了 */
|
|
15
|
-
zIndex?: number
|
|
15
|
+
zIndex?: number;
|
|
16
16
|
}): React.JSX.Element;
|
|
17
17
|
defaultProps: {
|
|
18
18
|
multiSelect: boolean;
|
|
@@ -3,19 +3,19 @@ import type { TabsProps } from "antd";
|
|
|
3
3
|
declare const DocumentTabs: (props: {
|
|
4
4
|
id: string;
|
|
5
5
|
/** 初始显示 tab 面板的 key */
|
|
6
|
-
active?: string
|
|
6
|
+
active?: string;
|
|
7
7
|
tabItems?: TabsProps["items"];
|
|
8
8
|
details?: ReactNode;
|
|
9
9
|
/** 是否显示 properties */
|
|
10
|
-
properties?: boolean
|
|
11
|
-
className?: string
|
|
10
|
+
properties?: boolean;
|
|
11
|
+
className?: string;
|
|
12
12
|
docTabOptions?: {
|
|
13
13
|
title?: string | ReactNode;
|
|
14
|
-
exclude?: any[]
|
|
15
|
-
}
|
|
14
|
+
exclude?: any[];
|
|
15
|
+
};
|
|
16
16
|
tabBarExtraContent?: React.ReactNode;
|
|
17
17
|
/** 是否显示 Header Visibility Controller */
|
|
18
|
-
headerVisibility?: boolean
|
|
19
|
-
onChange?: (
|
|
18
|
+
headerVisibility?: boolean;
|
|
19
|
+
onChange?: (activeKey: string) => void;
|
|
20
20
|
}) => React.JSX.Element;
|
|
21
21
|
export default DocumentTabs;
|
|
@@ -5,7 +5,7 @@ declare const DocumentTree: (props: {
|
|
|
5
5
|
name: string;
|
|
6
6
|
type: string;
|
|
7
7
|
};
|
|
8
|
-
className?: string
|
|
9
|
-
onSelect?: (
|
|
8
|
+
className?: string;
|
|
9
|
+
onSelect?: (id: string) => void;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default DocumentTree;
|
|
@@ -8,8 +8,8 @@ declare const FileViewer: {
|
|
|
8
8
|
(props: IFileViewerProps): React.JSX.Element;
|
|
9
9
|
PDF: (props: {
|
|
10
10
|
id: string;
|
|
11
|
-
viewerProps?: Partial<import("../../controls/PDFViewer/props").PDFViewerProps
|
|
12
|
-
download?: (
|
|
11
|
+
viewerProps?: Partial<import("../../controls/PDFViewer/props").PDFViewerProps>;
|
|
12
|
+
download?: () => Promise<Blob>;
|
|
13
13
|
}) => React.JSX.Element;
|
|
14
14
|
Image: (props: {
|
|
15
15
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const NewLinkType: (props: {
|
|
3
3
|
menus: string[];
|
|
4
|
-
style?: React.CSSProperties
|
|
5
|
-
onSelect?: (
|
|
4
|
+
style?: React.CSSProperties;
|
|
5
|
+
onSelect?: (type: string) => void;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default NewLinkType;
|
|
@@ -5,9 +5,9 @@ declare const NewDocumentFormDialog: (props: {
|
|
|
5
5
|
contact?: {
|
|
6
6
|
name: string;
|
|
7
7
|
id: string;
|
|
8
|
-
}
|
|
9
|
-
type?: docType
|
|
10
|
-
onSave?: (
|
|
11
|
-
onCancel?: (
|
|
8
|
+
};
|
|
9
|
+
type?: docType;
|
|
10
|
+
onSave?: (params?: any) => void;
|
|
11
|
+
onCancel?: () => void;
|
|
12
12
|
}) => React.JSX.Element;
|
|
13
13
|
export default NewDocumentFormDialog;
|
|
@@ -3,19 +3,19 @@ import { docType } from "../../data";
|
|
|
3
3
|
/** new document from */
|
|
4
4
|
declare const NewDocumentForm: (props: {
|
|
5
5
|
parentId: string;
|
|
6
|
-
className?: string
|
|
6
|
+
className?: string;
|
|
7
7
|
/** 用于预选的 contact */
|
|
8
8
|
contact?: {
|
|
9
9
|
name: string;
|
|
10
10
|
id: string;
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
12
|
/** 如果type有值显示mini form, 没值则显示full form */
|
|
13
|
-
type?: docType
|
|
14
|
-
placeholder?: string
|
|
13
|
+
type?: docType;
|
|
14
|
+
placeholder?: string;
|
|
15
15
|
/** 窗口是否最大化 */
|
|
16
|
-
isExpand?: boolean
|
|
17
|
-
onExpand?: (
|
|
18
|
-
onSave?: (
|
|
19
|
-
onCancel?: (
|
|
16
|
+
isExpand?: boolean;
|
|
17
|
+
onExpand?: (parentId: string, type: string) => void;
|
|
18
|
+
onSave?: (params?: any) => void;
|
|
19
|
+
onCancel?: () => void;
|
|
20
20
|
}) => React.JSX.Element;
|
|
21
21
|
export default NewDocumentForm;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SelectNodeInfo, SelectNodeInfoService } from "@voplus/morpho-document-core/es/services/SelectNodeInfoService";
|
|
3
3
|
declare const PasteListInDocument: (props: {
|
|
4
|
-
select?: SelectNodeInfoService
|
|
5
|
-
headerTitle?: string
|
|
6
|
-
onItemClick?: (
|
|
4
|
+
select?: SelectNodeInfoService;
|
|
5
|
+
headerTitle?: string;
|
|
6
|
+
onItemClick?: (item?: SelectNodeInfo) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default PasteListInDocument;
|
|
@@ -2,22 +2,22 @@ import React from "react";
|
|
|
2
2
|
declare const SendForm: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** 用于显示 模块的 title */
|
|
5
|
-
name?: string
|
|
5
|
+
name?: string;
|
|
6
6
|
/** 是否需要显示 Contact 和 AttachmentButton, 默认只显示 Email Content */
|
|
7
|
-
label?: ("Contact" | "AttachmentButton")[]
|
|
7
|
+
label?: ("Contact" | "AttachmentButton")[];
|
|
8
8
|
/** 是否需要显示默认的contact 「label 需要配置 Contact」 */
|
|
9
9
|
defaultContact?: {
|
|
10
10
|
id: string;
|
|
11
11
|
name: string;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
/** ProseMirror默认值 */
|
|
14
|
-
defaultDescription?: string
|
|
14
|
+
defaultDescription?: string;
|
|
15
15
|
/** 打开send form 的方式 Modal: 以dialog的方式打开 | SideForm: 从侧面打开 */
|
|
16
|
-
openType?: "Modal" | "SideForm"
|
|
16
|
+
openType?: "Modal" | "SideForm";
|
|
17
17
|
/** cancel */
|
|
18
|
-
onCancel?: (
|
|
18
|
+
onCancel?: () => void;
|
|
19
19
|
/** send */
|
|
20
|
-
onSend?: (
|
|
20
|
+
onSend?: (data: any) => void;
|
|
21
21
|
}): React.JSX.Element;
|
|
22
22
|
defaultProps: {
|
|
23
23
|
openType: string;
|
|
@@ -2,14 +2,14 @@ import { IView } from "./ViewFrameContext";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
declare const ViewFrame: (props: {
|
|
4
4
|
id: string;
|
|
5
|
-
view?: IView
|
|
6
|
-
onNavigate?: (
|
|
7
|
-
className?: string
|
|
5
|
+
view?: IView;
|
|
6
|
+
onNavigate?: (id: string, view: any) => void;
|
|
7
|
+
className?: string;
|
|
8
8
|
/** type override, use this to display the default view type */
|
|
9
|
-
defaultViewType?: string
|
|
9
|
+
defaultViewType?: string;
|
|
10
10
|
/** list exclude type eg: exclude={["Task", "Agenda"]} 結果:不會顯示 Task和Agenda文件*/
|
|
11
|
-
exclude?: string[]
|
|
11
|
+
exclude?: string[];
|
|
12
12
|
/** disabled icon view eg: disabled={["TreeView"]} */
|
|
13
|
-
disabled?: string[]
|
|
13
|
+
disabled?: string[];
|
|
14
14
|
}) => React.JSX.Element;
|
|
15
15
|
export default ViewFrame;
|
|
@@ -3,14 +3,14 @@ import React, { CSSProperties } from "react";
|
|
|
3
3
|
declare const ChildDocumentSelect: {
|
|
4
4
|
(props: {
|
|
5
5
|
id: string;
|
|
6
|
-
open?: boolean
|
|
6
|
+
open?: boolean;
|
|
7
7
|
/** 初始选中的 */
|
|
8
|
-
defaultValue?: string
|
|
8
|
+
defaultValue?: string;
|
|
9
9
|
/** 多选 */
|
|
10
|
-
multiple?: boolean
|
|
11
|
-
style?:
|
|
12
|
-
onBlur?: (
|
|
13
|
-
onChange?: (
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
onBlur?: () => void;
|
|
13
|
+
onChange?: (doc?: IDocument | IDocument[]) => void | Promise<void>;
|
|
14
14
|
}): React.JSX.Element;
|
|
15
15
|
defaultProps: {
|
|
16
16
|
open: boolean;
|
|
@@ -4,11 +4,11 @@ declare const DocumentDataIconBar: (props: {
|
|
|
4
4
|
/** id of document */
|
|
5
5
|
id: string;
|
|
6
6
|
/** visible DataIconBar */
|
|
7
|
-
visible?: boolean
|
|
7
|
+
visible?: boolean;
|
|
8
8
|
/** props click function */
|
|
9
|
-
onClick?: (
|
|
10
|
-
dateProps?: DateQuickIconProps
|
|
9
|
+
onClick?: (key?: string) => void;
|
|
10
|
+
dateProps?: DateQuickIconProps;
|
|
11
11
|
/** flag 是否显示 */
|
|
12
|
-
flagVisible?: boolean
|
|
12
|
+
flagVisible?: boolean;
|
|
13
13
|
}) => React.JSX.Element;
|
|
14
14
|
export default DocumentDataIconBar;
|
|
@@ -4,8 +4,8 @@ declare const DocumentLabel: (props: {
|
|
|
4
4
|
/** 文件id */
|
|
5
5
|
id: string;
|
|
6
6
|
/** 显示的 title, default 显示文件name */
|
|
7
|
-
title?: string
|
|
7
|
+
title?: string;
|
|
8
8
|
/** 点击事件,显示quickview,执行callback, default quickview或者undefined时无动作 */
|
|
9
|
-
onClick?: "quickview" | ((doc: IDocument, ev: React.MouseEvent<HTMLDivElement, MouseEvent>) => void)
|
|
9
|
+
onClick?: "quickview" | ((doc: IDocument, ev: React.MouseEvent<HTMLDivElement, MouseEvent>) => void);
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default DocumentLabel;
|
|
@@ -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;
|
|
@@ -3,8 +3,8 @@ declare const DownloadLetter: (props: {
|
|
|
3
3
|
parentId: string;
|
|
4
4
|
letterId: string;
|
|
5
5
|
/** disabled Button */
|
|
6
|
-
disabled?: boolean
|
|
6
|
+
disabled?: boolean;
|
|
7
7
|
/** function of Click */
|
|
8
|
-
action?: (
|
|
8
|
+
action?: (context?: any) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default DownloadLetter;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Duplicate: (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 Duplicate;
|
|
@@ -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;
|