@voplus/morpho-document 6.1.11 → 6.1.13
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/DocumentTabs/index.js +14 -9
- package/es/components/DocumentTabs/index.js.map +1 -1
- 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 +1 -2
- package/es/components/Links/NewLinkType.js +2 -4
- package/es/components/Links/NewLinkType.js.map +1 -1
- package/es/components/Links/index.less +2 -12
- 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
|
@@ -24,7 +24,7 @@ const TenantServiceTabs = (props) => {
|
|
|
24
24
|
label: (React.createElement(React.Fragment, null,
|
|
25
25
|
"Tenant Service Execution",
|
|
26
26
|
React.createElement(Badge, { count: docTotals, overflowCount: 999, className: "margin-left-10" }))),
|
|
27
|
-
children: React.createElement(TenantServiceExecutionList, {
|
|
27
|
+
children: React.createElement(TenantServiceExecutionList, { tenantServiceId: id, asideable: false }),
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
key: "Activities",
|
|
@@ -41,6 +41,7 @@ const TenantServiceTabs = (props) => {
|
|
|
41
41
|
return observe(() => {
|
|
42
42
|
var _a;
|
|
43
43
|
((_a = tenantService.fields) === null || _a === void 0 ? void 0 : _a.length) &&
|
|
44
|
+
items.find((i) => i.key !== "Settings") &&
|
|
44
45
|
items.splice(properties ? 2 : 1, 0, {
|
|
45
46
|
key: "Settings",
|
|
46
47
|
label: "Settings",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tenant-service/components/TenantServiceTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,YAAY,MAAM,qCAAqC,CAAC;AAE/D,OAAO,0BAA0B,MAAM,yEAAyE,CAAC;AACjH,OAAO,EAAE,mCAAmC,EAAE,MAAM,2CAA2C,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,WAAW,MAAM,4DAA4D,CAAC;AAErF,MAAM,iBAAiB,GAAG,CAAC,KAAkE,EAAE,EAAE;IAChG,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC9C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAAU,CAAC;IACrD,MAAM,aAAa,GAAG,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAE3C,mCAAmC,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC,CAAC,EAAE;QACtF,KAAK,EAAE,IAAI;QACX,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;KAC7D,CAAC,CAAC;IAEH,MAAM,KAAK,GAAuB;QACjC;YACC,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE,CACN;;gBAEC,oBAAC,KAAK,IAAC,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,EAAE,SAAS,EAAC,gBAAgB,GAAG,CACxE,CACH;YACD,QAAQ,EAAE,oBAAC,0BAA0B,IAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tenant-service/components/TenantServiceTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,YAAY,MAAM,qCAAqC,CAAC;AAE/D,OAAO,0BAA0B,MAAM,yEAAyE,CAAC;AACjH,OAAO,EAAE,mCAAmC,EAAE,MAAM,2CAA2C,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,WAAW,MAAM,4DAA4D,CAAC;AAErF,MAAM,iBAAiB,GAAG,CAAC,KAAkE,EAAE,EAAE;IACh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,CAAC,CAAC;IAEJ,OAAO,OAAO,CAAC,GAAG,EAAE;;QACnB,CAAA,MAAA,aAAa,CAAC,MAAM,0CAAE,MAAM;YAC3B,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,UAAU,CAAC;YACvC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE;gBACnC,GAAG,EAAE,UAAU;gBACf,KAAK,EAAE,UAAU;gBACjB,QAAQ,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,GAAI,CAAC;aACnF,CAAC,CAAC;QACJ,OAAO,CACN,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,wBAAwB,EAC5D,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACF,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.d.ts
CHANGED
|
@@ -2,15 +2,13 @@ import React from "react";
|
|
|
2
2
|
import { ITenantServiceExecution } from "../../../../data/tenant-service-execution";
|
|
3
3
|
declare const TenantServiceExecutionList: (props: {
|
|
4
4
|
tenantServiceId: string;
|
|
5
|
-
/** title */
|
|
6
|
-
viewTitle?: React.ReactNode;
|
|
7
5
|
/** 是否显示 total */
|
|
8
|
-
total?: boolean
|
|
6
|
+
total?: boolean;
|
|
9
7
|
/** 是否允在 listView 内部打开 aside */
|
|
10
|
-
asideable?: boolean
|
|
8
|
+
asideable?: boolean;
|
|
11
9
|
/** Call back when received total number of tenant-service-execution. */
|
|
12
|
-
onTotal?: (
|
|
10
|
+
onTotal?: (total: number) => void;
|
|
13
11
|
/** Call back when an item has been clicked on the list. */
|
|
14
|
-
onClickItem?: (
|
|
12
|
+
onClickItem?: (item: ITenantServiceExecution) => void;
|
|
15
13
|
}) => React.JSX.Element;
|
|
16
14
|
export default TenantServiceExecutionList;
|
|
@@ -2,13 +2,12 @@ import { observe, useRenderOnChange } from "@voplus/morpho-ui";
|
|
|
2
2
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
3
3
|
import React, { useState } from "react";
|
|
4
4
|
import { useTenantServiceExecutionListEffect, } from "../../../../data/tenant-service-execution";
|
|
5
|
-
import { Badge } from "antd";
|
|
6
5
|
import DocumentItemFrame from "../../../../controls/DocumentItemFrame";
|
|
7
|
-
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/
|
|
6
|
+
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView";
|
|
8
7
|
import TenantServiceExecutionItem from "../TenantServiceExecutionItem";
|
|
9
8
|
import styles from "./index.less";
|
|
10
9
|
const TenantServiceExecutionList = (props) => {
|
|
11
|
-
const { tenantServiceId,
|
|
10
|
+
const { tenantServiceId, total, asideable } = props;
|
|
12
11
|
const [activeId, setActiveId] = useState("");
|
|
13
12
|
const [tenantServiceExecutionTotal, setTenantServiceExecutionTotal] = useState(0);
|
|
14
13
|
const list = useCreateListDataState({
|
|
@@ -30,12 +29,11 @@ const TenantServiceExecutionList = (props) => {
|
|
|
30
29
|
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
|
31
30
|
React.createElement("div", { className: styles["tenant-service-execution-list"] },
|
|
32
31
|
React.createElement(ListView, { headerProps: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
quickSearch: true,
|
|
32
|
+
headerToolProps: {
|
|
33
|
+
addAble: false,
|
|
34
|
+
sortable: false,
|
|
35
|
+
searchOptions: { placeholder: "Search in subs tenant service execution" },
|
|
36
|
+
},
|
|
39
37
|
}, asideable: asideable, className: "tenant-service-execution-list-content", renderItem: ({ item }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: {
|
|
40
38
|
active: activeId === item.id,
|
|
41
39
|
hoverEffect: "none",
|
package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tenant-service-execution/components/TenantServiceExecutionList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAEN,mCAAmC,GACnC,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tenant-service-execution/components/TenantServiceExecutionList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAEN,mCAAmC,GACnC,MAAM,2CAA2C,CAAC;AAEnD,OAAO,iBAAiB,MAAM,wCAAwC,CAAC;AACvE,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAChF,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AACvE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,0BAA0B,GAAG,CAAC,KAUnC,EAAE,EAAE;IACJ,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,SAAS,EAAE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,EAAO,EAAE,EAAE,CAAC,CAC9B,oBAAC,iBAAiB,IACjB,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,UAAU,EAAE;wBACX,MAAM,EAAE,QAAQ,KAAK,IAAI,CAAC,EAAE;wBAC5B,WAAW,EAAE,MAAM;wBACnB,YAAY,EAAE,QAAQ;wBACtB,WAAW,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE;qBAClE,EACD,OAAO,EAAE,GAAG,EAAE;;wBACb,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;wBACrB,MAAA,KAAK,CAAC,WAAW,sDAAG,IAAI,CAAC,CAAC;oBAC3B,CAAC;oBAED,oBAAC,0BAA0B,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CACxB,CACpB,GACA,CACG,CACoB,CAC3B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -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;
|
|
@@ -12,7 +12,7 @@ export type IDocTree = {
|
|
|
12
12
|
};
|
|
13
13
|
declare const DocumentTree: (props: {
|
|
14
14
|
id: string;
|
|
15
|
-
className?: string
|
|
16
|
-
onSelect?: (
|
|
15
|
+
className?: string;
|
|
16
|
+
onSelect?: (doc: IDocTree) => void;
|
|
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?: (
|
|
8
|
-
onOk?: (
|
|
7
|
+
onCancel?: () => void;
|
|
8
|
+
onOk?: () => void;
|
|
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;
|
|
10
10
|
};
|
|
11
11
|
loading: boolean;
|
|
12
12
|
params: {
|
|
13
13
|
Reviewers: string[];
|
|
14
|
-
Message?: string
|
|
14
|
+
Message?: string;
|
|
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;
|
|
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;
|
|
@@ -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;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Cancel;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Complete: (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 Complete;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Reopen: (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 Reopen;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const SendInvite: (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 SendInvite;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const SendReminders: (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 SendReminders;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const SendReview: (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 SendReview;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const ViewSignatures: (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 ViewSignatures;
|
|
@@ -9,12 +9,12 @@ declare const LetterItem: (props: {
|
|
|
9
9
|
/** letter of envelope */
|
|
10
10
|
letter: ILetter;
|
|
11
11
|
/** Size of title and icon */
|
|
12
|
-
size?: "
|
|
12
|
+
size?: "normal" | "h1" | "h2" | "h3" | "h4";
|
|
13
13
|
/** EnvelopeRecipientView 格式 */
|
|
14
|
-
recipient?: boolean
|
|
14
|
+
recipient?: boolean;
|
|
15
15
|
/** 可点击Name */
|
|
16
|
-
clickName?: boolean
|
|
16
|
+
clickName?: boolean;
|
|
17
17
|
/** */
|
|
18
|
-
onClick?: (
|
|
18
|
+
onClick?: (id: string) => void;
|
|
19
19
|
}) => React.JSX.Element;
|
|
20
20
|
export default LetterItem;
|
|
@@ -3,15 +3,15 @@ import "./index.less";
|
|
|
3
3
|
declare const LetterList: (props: {
|
|
4
4
|
id: string;
|
|
5
5
|
/** Letter Item active id */
|
|
6
|
-
activeId?: string
|
|
6
|
+
activeId?: string;
|
|
7
7
|
/** Size of title and icon of DocumentHeader */
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "normal" | "h1" | "h2" | "h3" | "h4";
|
|
9
9
|
/** EnvelopeRecipientView 格式 */
|
|
10
|
-
recipient?: boolean
|
|
10
|
+
recipient?: boolean;
|
|
11
11
|
/** 可点击name */
|
|
12
|
-
clickName?: boolean
|
|
13
|
-
style?: React.CSSProperties
|
|
12
|
+
clickName?: boolean;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
14
|
/** */
|
|
15
|
-
onClick?: (
|
|
15
|
+
onClick?: (id: string) => void;
|
|
16
16
|
}) => React.JSX.Element;
|
|
17
17
|
export default LetterList;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const LetterRecipientItem: (props: {
|
|
3
|
-
activeId?: string
|
|
4
|
-
onClick?: (
|
|
3
|
+
activeId?: string;
|
|
4
|
+
onClick?: (id: string) => void;
|
|
5
5
|
}) => React.JSX.Element;
|
|
6
6
|
export default LetterRecipientItem;
|
|
@@ -7,6 +7,6 @@ declare const LetterViewer: (props: {
|
|
|
7
7
|
/** info of letter */
|
|
8
8
|
letter: ILetter;
|
|
9
9
|
/** update Modal show or hide */
|
|
10
|
-
updateVisible?: (
|
|
10
|
+
updateVisible?: (visible: boolean) => void;
|
|
11
11
|
}) => React.JSX.Element;
|
|
12
12
|
export default LetterViewer;
|
|
@@ -8,7 +8,7 @@ declare const RemoveSignatureDialog: (props: {
|
|
|
8
8
|
/** line of signature */
|
|
9
9
|
signature: ISignatureLine;
|
|
10
10
|
/** 非 Modal 方式显示签名内容 */
|
|
11
|
-
visible?: boolean
|
|
12
|
-
updateVisible?: (
|
|
11
|
+
visible?: boolean;
|
|
12
|
+
updateVisible?: (visible: boolean) => void;
|
|
13
13
|
}) => React.JSX.Element;
|
|
14
14
|
export default RemoveSignatureDialog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ILetter } from "../data/envelope";
|
|
3
3
|
declare const SigningReminderDialog: (props: {
|
|
4
|
-
onOk?: (
|
|
4
|
+
onOk?: (letter: ILetter) => void;
|
|
5
5
|
}) => React.JSX.Element;
|
|
6
6
|
export default SigningReminderDialog;
|
|
@@ -2,8 +2,8 @@ import "./index.less";
|
|
|
2
2
|
import { IUnit } from "@voplus/morpho-org";
|
|
3
3
|
import React from "react";
|
|
4
4
|
declare const EmailRecipients: (props: {
|
|
5
|
-
submitters?: IUnit[]
|
|
6
|
-
readonly?: boolean
|
|
7
|
-
onChange?: (
|
|
5
|
+
submitters?: IUnit[];
|
|
6
|
+
readonly?: boolean;
|
|
7
|
+
onChange?: (units?: IUnit[]) => void;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default EmailRecipients;
|