@voplus/morpho-document 6.0.178 → 6.0.180
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/TextDefaultView/index.js +26 -6
- package/es/components/TextDefaultView/index.js.map +1 -1
- package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.js +32 -10
- package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.js.map +1 -1
- package/es/modules/graph/components/GraphProperties/index.js +0 -2
- package/es/modules/graph/components/GraphProperties/index.js.map +1 -1
- package/es/modules/graph/control/GraphMenu/index.d.ts +2 -0
- package/es/modules/graph/control/GraphMenu/index.js +4 -2
- package/es/modules/graph/control/GraphMenu/index.js.map +1 -1
- package/es/modules/graph/pages/GraphDefaultView/index.js +29 -14
- package/es/modules/graph/pages/GraphDefaultView/index.js.map +1 -1
- package/es/modules/graph/pages/GraphDefaultView/index.less +10 -12
- package/es/modules/message-template/controls/MessageTemplateMenu/index.d.ts +2 -1
- package/es/modules/message-template/controls/MessageTemplateMenu/index.js +5 -13
- package/es/modules/message-template/controls/MessageTemplateMenu/index.js.map +1 -1
- package/es/modules/message-template/controls/MessageTemplateMenu/items/SendPreviewEmail.d.ts +8 -0
- package/es/modules/message-template/controls/MessageTemplateMenu/items/SendPreviewEmail.js +20 -0
- package/es/modules/message-template/controls/MessageTemplateMenu/items/SendPreviewEmail.js.map +1 -0
- package/es/modules/message-template/controls/MessageTemplateMenu/items/index.d.ts +1 -0
- package/es/modules/message-template/controls/MessageTemplateMenu/items/index.js +2 -0
- package/es/modules/message-template/controls/MessageTemplateMenu/items/index.js.map +1 -0
- package/es/modules/message-template/pages/MessageTemplateDefaultView/index.js +29 -16
- package/es/modules/message-template/pages/MessageTemplateDefaultView/index.js.map +1 -1
- package/es/modules/message-template/pages/MessageTemplateDefaultView/index.less +5 -14
- package/es/modules/registered-document/components/RegisteredDocumentTableList/index.js +1 -3
- package/es/modules/registered-document/components/RegisteredDocumentTableList/index.js.map +1 -1
- package/es/modules/registered-document/pages/RegisteredDocumentDefaultView/index.js +18 -20
- package/es/modules/registered-document/pages/RegisteredDocumentDefaultView/index.js.map +1 -1
- package/es/modules/registered-document/pages/RegisteredDocumentDefaultView/index.less +0 -20
- package/es/pages/FileContentPage/index.js +27 -1
- package/es/pages/FileContentPage/index.js.map +1 -1
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.js +31 -14
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.js.map +1 -1
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.less +12 -3
- package/es/pages/Signature/Envelope/components/EnvelopeProperties/index.js +4 -3
- package/es/pages/Signature/Envelope/components/EnvelopeProperties/index.js.map +1 -1
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/index.d.ts +2 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/index.js +13 -90
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/index.js.map +1 -1
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Cancel.d.ts +8 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Cancel.js +26 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Cancel.js.map +1 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Complete.d.ts +8 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Complete.js +26 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Complete.js.map +1 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Reopen.d.ts +8 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Reopen.js +30 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Reopen.js.map +1 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendInvite.d.ts +8 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendInvite.js +36 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendInvite.js.map +1 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReminders.d.ts +8 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReminders.js +26 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReminders.js.map +1 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReview.d.ts +8 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReview.js +28 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReview.js.map +1 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/ViewSignatures.d.ts +8 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/ViewSignatures.js +26 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/ViewSignatures.js.map +1 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/index.d.ts +7 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/index.js +8 -0
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/index.js.map +1 -0
- package/es/pages/Signature/SignerSelect/index.js +5 -5
- package/es/pages/Signature/SignerSelect/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
import {
|
|
3
|
-
import { observe, useAsideContentContext } from "@voplus/morpho-ui";
|
|
1
|
+
import React, { useMemo } from "react";
|
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
|
4
3
|
import { RegisteredDocumentContext, RegisteredDocumentState, } from "../../RegisteredDocumentContext";
|
|
5
|
-
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
6
4
|
import RegisteredDocumentProperties from "../../components/RegisteredDocumentProperties";
|
|
7
5
|
import RegisteredDocumentTabs from "../../components/RegisteredDocumentTabs";
|
|
8
|
-
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
|
9
6
|
import styles from "./index.less";
|
|
10
|
-
import {
|
|
7
|
+
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
8
|
+
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
9
|
+
import { useLayout } from "@voplus/morpho-data";
|
|
10
|
+
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
11
11
|
import { useDocument } from "@voplus/morpho-document-core";
|
|
12
|
-
import { faFileZipper } from "@fortawesome/pro-solid-svg-icons";
|
|
12
|
+
import { faFileZipper, faEllipsisVertical } from "@fortawesome/pro-solid-svg-icons";
|
|
13
13
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
14
14
|
import { useFrame } from "../../../../components/ViewFrame/ViewFrameContext";
|
|
15
15
|
import BreadCrumbsPath from "@voplus/morpho-ui/es/components/layout/headers/components/BreadCrumbsPath";
|
|
@@ -19,24 +19,22 @@ import { useParams } from "react-router-dom";
|
|
|
19
19
|
const RegisteredDocumentDefaultView = (props) => {
|
|
20
20
|
const params = useParams();
|
|
21
21
|
const id = props.id || params.id || "";
|
|
22
|
-
const store = new TabItemStore({ url: "" });
|
|
23
22
|
const frame = useFrame();
|
|
24
23
|
if (frame)
|
|
25
24
|
frame.header = null;
|
|
25
|
+
const layout = useLayout();
|
|
26
|
+
const metas = useMetaStore();
|
|
26
27
|
const context = useMemo(() => new RegisteredDocumentState("DefaultView"), [props.id]);
|
|
27
|
-
const [asideContext] = useState(frame ? useAsideContentContext() : AsideContent.createContext());
|
|
28
|
-
// const documentRegister = useRegisteredDocument(id, { includes: "tags" });
|
|
29
28
|
const documentRegister = useDocument(id, { reload: true, includes: "tags,path" });
|
|
30
|
-
return observe(() =>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
React.createElement(RegisteredDocumentTabs, { id: id }))))))))));
|
|
29
|
+
return observe(() => {
|
|
30
|
+
var _a;
|
|
31
|
+
return (React.createElement(RegisteredDocumentContext.Provider, { value: context },
|
|
32
|
+
React.createElement(DefaultViewLayout, { className: styles["registered-document-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faFileZipper }), title: documentRegister.name, description: React.createElement(BreadCrumbsPath, { path: (_a = documentRegister.path) === null || _a === void 0 ? void 0 : _a.slice(-3), onToPath: (item) => {
|
|
33
|
+
const route = metas.getRoute({ id: item.id, type: item.objectType });
|
|
34
|
+
layout.history.push(`${route}`);
|
|
35
|
+
} }), rightExtra: React.createElement(ToolBar, { id: id, moreProps: { icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) } }) }), properties: React.createElement(RegisteredDocumentProperties, { id: id }) },
|
|
36
|
+
React.createElement(RegisteredDocumentTabs, { id: id }))));
|
|
37
|
+
});
|
|
40
38
|
};
|
|
41
39
|
export default RegisteredDocumentDefaultView;
|
|
42
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/pages/RegisteredDocumentDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/pages/RegisteredDocumentDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,yBAAyB,EACzB,uBAAuB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,4BAA4B,MAAM,+CAA+C,CAAC;AACzF,OAAO,sBAAsB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,OAAO,MAAM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,iBAAiB,IACjB,SAAS,EAAE,MAAM,CAAC,kCAAkC,CAAC,EACrD,MAAM,EACL,oBAAC,iBAAiB,IACjB,UAAU,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,YAAY,GAAI,EAC1C,KAAK,EAAE,gBAAgB,CAAC,IAAI,EAC5B,WAAW,EACV,oBAAC,eAAe,IACf,IAAI,EAAE,MAAA,gBAAgB,CAAC,IAAI,0CAAE,KAAK,CAAC,CAAC,CAAC,CAAC,EACtC,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;4BAClB,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,EAAS,CAAC,CAAC;4BAC5E,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC;wBACjC,CAAC,GACA,EAEH,UAAU,EACT,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,EAAE,GAAI,GAE9E,EAEH,UAAU,EAAE,oBAAC,4BAA4B,IAAC,EAAE,EAAE,EAAE,GAAI;gBAEpD,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI,CACf,CACgB,CACrC,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
1
|
.registered-document-default-view {
|
|
2
2
|
:global {
|
|
3
|
-
.main-content-nav {
|
|
4
|
-
width: 370px;
|
|
5
|
-
padding: 0;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.registered-document-context {
|
|
9
|
-
display: flex;
|
|
10
|
-
padding: 0;
|
|
11
|
-
background: #ffffff;
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
|
|
15
|
-
> div {
|
|
16
|
-
flex: 1;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ant-tabs-nav {
|
|
20
|
-
margin: 0 !important;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
3
|
}
|
|
24
4
|
}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import FileViewer from "../../components/FileViewer";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
|
+
import { useLayout } from "@voplus/morpho-data";
|
|
5
|
+
import { useFrame } from "../../components/ViewFrame/ViewFrameContext";
|
|
6
|
+
import { faEllipsisVertical } from "@fortawesome/pro-solid-svg-icons";
|
|
7
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
8
|
+
import DocumentProperties from "../../components/DocumentProperties";
|
|
9
|
+
import ToolBar from "../../controls/ToolBar/ToolBar2";
|
|
10
|
+
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
11
|
+
import { useDocument, useMetaStore } from "@voplus/morpho-document-core";
|
|
12
|
+
import BreadCrumbsPath from "@voplus/morpho-ui/es/components/layout/headers/components/BreadCrumbsPath";
|
|
13
|
+
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
4
14
|
/** The File Page component with router parameters support. */
|
|
5
15
|
const FileContent = ({ id }) => {
|
|
6
|
-
|
|
16
|
+
const frame = useFrame();
|
|
17
|
+
if (frame)
|
|
18
|
+
frame.header = null;
|
|
19
|
+
const layout = useLayout();
|
|
20
|
+
const metas = useMetaStore();
|
|
21
|
+
const doc = useDocument(id, { includes: "path" });
|
|
22
|
+
return observe(() => {
|
|
23
|
+
var _a;
|
|
24
|
+
return (React.createElement(DefaultViewLayout, { header: React.createElement(PageHeadDashboard, { avatarIcon: metas.getIcon(doc), title: doc.name, description: React.createElement(BreadCrumbsPath, { path: (_a = doc.path) === null || _a === void 0 ? void 0 : _a.slice(-3), onToPath: (item) => {
|
|
25
|
+
const route = metas.getRoute({ id: item.id, type: item.objectType });
|
|
26
|
+
layout.history.push(`${route}`);
|
|
27
|
+
} }), rightExtra: React.createElement(ToolBar, { id: id, moreProps: {
|
|
28
|
+
icon: React.createElement(FAIcon, { icon: faEllipsisVertical }),
|
|
29
|
+
} }) }), properties: React.createElement("div", { className: "properties-list document-properties-list" },
|
|
30
|
+
React.createElement(DocumentProperties, { id: id })) },
|
|
31
|
+
React.createElement(FileViewer, { id: id, style: { width: "100%", height: "100%" } })));
|
|
32
|
+
});
|
|
7
33
|
};
|
|
8
34
|
export default FileContent;
|
|
9
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pages/FileContentPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,6BAA6B,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pages/FileContentPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,6BAA6B,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,6CAA6C,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,kBAAkB,MAAM,qCAAqC,CAAC;AACrE,OAAO,OAAO,MAAM,iCAAiC,CAAC;AACtD,OAAO,iBAAiB,MAAM,0DAA0D,CAAC;AACzF,OAAO,EAAE,WAA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BAAK,SAAS,EAAC,0CAA0C;gBACxD,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,GAAI,CACzB;YAGP,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAI,CAC7C,CACpB,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
import { AsideContent, observe, useAsideContentContext, useAutorunEffect } from "@voplus/morpho-ui";
|
|
2
2
|
import { EnvelopeContext, EnvelopeContextState } from "../../data/EnvelopeContext";
|
|
3
3
|
import React, { useEffect, useMemo, useState } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { useLayout, useTabItem } from "@voplus/morpho-data";
|
|
5
|
+
import { DocumentMenuContext, DocumentMenuState, useMetaStore } from "@voplus/morpho-document-core";
|
|
5
6
|
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
6
7
|
import { autorun, runInAction } from "mobx";
|
|
7
8
|
import { useEnvelope, useEnvelopeStore } from "../../data/envelope";
|
|
8
9
|
import EnvelopeTabs from "../components/EnvelopeTabs";
|
|
10
|
+
import EnvelopeMenu from "../controls/EnvelopeMenu";
|
|
11
|
+
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
9
12
|
import EnvelopeProperties from "../components/EnvelopeProperties";
|
|
10
13
|
import LetterList from "../../Letter/LetterList";
|
|
11
14
|
import { LoadingOutlined } from "@ant-design/icons";
|
|
12
|
-
import
|
|
13
|
-
import { Spin } from "antd";
|
|
15
|
+
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
16
|
+
import { Spin, Space } from "antd";
|
|
14
17
|
import styles from "./index.less";
|
|
15
|
-
import { faFileSignature } from "@fortawesome/pro-solid-svg-icons";
|
|
18
|
+
import { faFileSignature, faEllipsisVertical } from "@fortawesome/pro-solid-svg-icons";
|
|
16
19
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
17
20
|
import BreadCrumbsPath from "@voplus/morpho-ui/es/components/layout/headers/components/BreadCrumbsPath";
|
|
18
21
|
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
19
22
|
import { useFrame } from "../../../../components/ViewFrame/ViewFrameContext";
|
|
23
|
+
import { SendReview, SendInvite, SendReminders, } from "../controls/EnvelopeMenu/items";
|
|
20
24
|
/** create Type:'signEnvelope' */
|
|
21
25
|
/** The Envelope Page component with router parameters support. */
|
|
22
26
|
const EnvelopeDefaultView = ({ id }) => {
|
|
23
|
-
const store = new TabItemStore({ url: "" });
|
|
24
27
|
const frame = useFrame();
|
|
25
28
|
if (frame)
|
|
26
29
|
frame.header = null;
|
|
30
|
+
const layout = useLayout();
|
|
31
|
+
const metas = useMetaStore();
|
|
27
32
|
const envelopStore = useEnvelopeStore();
|
|
33
|
+
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
28
34
|
const [asideContext] = useState(frame ? useAsideContentContext() : AsideContent.createContext());
|
|
29
35
|
const view = useMemo(() => new ViewContextData("PropertiesView"), []);
|
|
30
36
|
const [context] = useState(new EnvelopeContextState(id, envelopStore));
|
|
@@ -39,15 +45,26 @@ const EnvelopeDefaultView = ({ id }) => {
|
|
|
39
45
|
React.createElement("div", { className: styles["envelope-tab-view_aside"] },
|
|
40
46
|
React.createElement(EnvelopeTabs, { id: id }))), { span: 9 }));
|
|
41
47
|
}, []);
|
|
42
|
-
return observe(() =>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
return observe(() => {
|
|
49
|
+
var _a;
|
|
50
|
+
return (React.createElement(React.Fragment, null,
|
|
51
|
+
React.createElement(DefaultViewLayout, { className: styles["envelope-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faFileSignature }), title: envelope.name, description: React.createElement(BreadCrumbsPath, { path: (_a = envelope.path) === null || _a === void 0 ? void 0 : _a.slice(-3), onToPath: (item) => {
|
|
52
|
+
const route = metas.getRoute({ id: item.id, type: item.objectType });
|
|
53
|
+
layout.history.push(`${route}`);
|
|
54
|
+
} }), rightExtra: React.createElement(DocumentMenuContext.Provider, { value: menuContext },
|
|
55
|
+
React.createElement(Space, { className: "menu-buttons" },
|
|
56
|
+
React.createElement(SendReview, null),
|
|
57
|
+
React.createElement(SendInvite, null),
|
|
58
|
+
React.createElement(SendReminders, null),
|
|
59
|
+
React.createElement(ToolBar, { id: id, moreProps: {
|
|
60
|
+
icon: React.createElement(FAIcon, { icon: faEllipsisVertical }),
|
|
61
|
+
menus: {
|
|
62
|
+
default: React.createElement(EnvelopeMenu, { id: id, defaultView: true }),
|
|
63
|
+
},
|
|
64
|
+
} }))) }), properties: React.createElement(EnvelopeProperties, { id: id }) },
|
|
65
|
+
React.createElement(EnvelopeContext.Provider, { value: context }, !envelope.loaded || context.reloadLoading ? (React.createElement("div", { className: "envelope-loading" },
|
|
66
|
+
React.createElement(Spin, { indicator: React.createElement(LoadingOutlined, { style: { fontSize: 32 }, spin: true }) }))) : (React.createElement(LetterList, { id: id, size: "h4" }))))));
|
|
67
|
+
});
|
|
51
68
|
};
|
|
52
69
|
export default EnvelopeDefaultView;
|
|
53
70
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Signature/Envelope/EnvelopeDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACnF,OAAO,KAAK,E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menu-buttons {
|
|
4
|
+
.envelope-menu-view-signatures,
|
|
5
|
+
.envelope-menu-send-review,
|
|
6
|
+
.envelope-menu-sendReminders,
|
|
7
|
+
.envelope-menu-sendEnvelope {
|
|
8
|
+
color: #299117;
|
|
9
|
+
background: #effef2;
|
|
10
|
+
border: 1px solid #28c123;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.letter-view-upload {
|
|
14
|
+
height: 100%;
|
|
6
15
|
}
|
|
7
16
|
.envelope-context {
|
|
8
17
|
display: flex;
|
|
@@ -5,16 +5,17 @@ import { useEnvelope } from "../../../data/envelope";
|
|
|
5
5
|
import DescriptionEditor from "../../../../../controls/DescriptionEditor2";
|
|
6
6
|
import DocumentPropertieHeader from "../../../../../components/DocumentPropertieHeader";
|
|
7
7
|
import DocumentProperties from "../../../../../components/DocumentProperties";
|
|
8
|
-
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
9
|
-
import EnvelopeStatusLabel from "../../controls/EnvelopeStatusLabel";
|
|
10
8
|
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
9
|
+
import EnvelopeStatusLabel from "../../controls/EnvelopeStatusLabel";
|
|
10
|
+
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
11
|
+
import classnames from "classnames";
|
|
11
12
|
const EnvelopeProperties = (props) => {
|
|
12
13
|
/** 加class name 为了方便做integration tests */
|
|
13
14
|
const classId = "envelope-properties";
|
|
14
15
|
const { id, headerVisible, envelopeTitle, documentTitle, envelopeProperties, documentProperties, } = props;
|
|
15
16
|
const envelope = useEnvelope(id);
|
|
16
17
|
const filterPro = envelopeProperties === null || envelopeProperties === void 0 ? void 0 : envelopeProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
|
|
17
|
-
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
18
|
+
return observe(() => (React.createElement("div", { className: classnames("properties-list", { noDocHeader: !headerVisible }) },
|
|
18
19
|
headerVisible && React.createElement(DocumentPropertieHeader, { id: id }),
|
|
19
20
|
React.createElement(Scrollbars, { autoHide: true },
|
|
20
21
|
React.createElement(DescriptionEditor, { id: id, description: envelope.description, readonly: envelope.readonly }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/pages/Signature/Envelope/components/EnvelopeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,iBAAiB,MAAM,4CAA4C,CAAC;AAC3E,OAAO,uBAAuB,MAAM,mDAAmD,CAAC;AACxF,OAAO,kBAEN,MAAM,8CAA8C,CAAC;AACtD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/pages/Signature/Envelope/components/EnvelopeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,iBAAiB,MAAM,4CAA4C,CAAC;AAC3E,OAAO,uBAAuB,MAAM,mDAAmD,CAAC;AACxF,OAAO,kBAEN,MAAM,8CAA8C,CAAC;AACtD,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,UAAU,MAAM,YAAY,CAAC;AAIpC,MAAM,kBAAkB,GAAG,CAAC,KAU3B,EAAE,EAAE;IACJ,yCAAyC;IACzC,MAAM,OAA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IAEH,SAAS,UAAU,CAAC,IAAyD;QAC5E,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,QAAQ;gBACZ,OAAO,oBAAC,mBAAmB,IAAC,MAAM,EAAE,QAAQ,CAAC,cAAe,GAAI,CAAC;QACnE,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,kBAAkB,CAAC,YAAY,GAAG;IACjC,aAAa,EAAE,qBAAqB;IACpC,aAAa,EAAE,qBAAqB;IACpC,kBAAkB,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;CACxC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,85 +1,28 @@
|
|
|
1
|
-
import React, { useMemo
|
|
1
|
+
import React, { useMemo } from "react";
|
|
2
2
|
import { Select, Pin, Unpin, CopyReference } from "../../../../../controls/DocumentMenu/items";
|
|
3
3
|
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
|
4
|
-
import {
|
|
5
|
-
import { useApplicationContext } from "@voplus/morpho-data";
|
|
6
|
-
import { useEnvelope, useEnvelopeStore } from "../../../data/envelope";
|
|
7
|
-
import { useToolBarContext } from "../../../../../controls/ToolBar/ToolBarState";
|
|
8
|
-
import { Button } from "antd";
|
|
9
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
4
|
+
import { useEnvelope } from "../../../data/envelope";
|
|
10
5
|
import { observe, MenuTitle } from "@voplus/morpho-ui";
|
|
11
6
|
import SubPasteMenu from "../../../../../controls/SubPasteMenu";
|
|
12
7
|
import LockMenuGroup from "../../../../../controls/DocumentMenu/LockMenuGroup";
|
|
13
8
|
import MiscMenuGroup from "../../../../../controls/DocumentMenu/MiscMenuGroup";
|
|
14
|
-
import
|
|
15
|
-
import ViewSignaturesDialog from "../../components/ViewSignaturesDialog";
|
|
16
|
-
import SendDialog from "../../components/SendDialog";
|
|
17
|
-
import RemindersDialog from "../../components/RemindersDialog";
|
|
18
|
-
import ReviewDialog from "../../components/ReviewDialog";
|
|
9
|
+
import { ViewSignatures, SendReview, SendInvite, SendReminders, Complete, Reopen, Cancel, } from "./items";
|
|
19
10
|
const EnvelopeMenu = (props) => {
|
|
20
|
-
|
|
21
|
-
const [visible, setVisible] = useState(false);
|
|
22
|
-
const [sendFormVisible, setSendFormVisible] = useState();
|
|
23
|
-
const [remindersVisible, setRemindersVisible] = useState(false);
|
|
24
|
-
const [signatureVisible, setSignatureVisible] = useState(false);
|
|
25
|
-
const [reviewVisible, setReviewVisible] = useState(false);
|
|
26
|
-
const [reload, setReload] = useState(false);
|
|
27
|
-
const [type, setType] = useState("Cancel");
|
|
11
|
+
const { defaultView } = props;
|
|
28
12
|
const context = useMemo(() => new DocumentMenuState(props.id), [props.id]);
|
|
29
|
-
const
|
|
30
|
-
const envelope = useEnvelope(props.id, { reload: reload });
|
|
31
|
-
const store = useEnvelopeStore();
|
|
32
|
-
const { user } = useApplicationContext();
|
|
33
|
-
/** 有未签名line */
|
|
34
|
-
const unsigned = (_a = envelope === null || envelope === void 0 ? void 0 : envelope.letters) === null || _a === void 0 ? void 0 : _a.some((l) => { var _a; return (_a = l.signatureLines) === null || _a === void 0 ? void 0 : _a.some(({ signatureDate }) => !signatureDate); });
|
|
13
|
+
const envelope = useEnvelope(props.id);
|
|
35
14
|
return observe(() => {
|
|
36
15
|
var _a;
|
|
37
16
|
return (React.createElement(React.Fragment, null,
|
|
38
17
|
React.createElement(DocumentMenuContext.Provider, { value: context },
|
|
39
18
|
React.createElement(MenuTitle, { title: "Envelope Menu" }),
|
|
40
|
-
React.createElement(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
React.createElement(
|
|
47
|
-
setReviewVisible(true);
|
|
48
|
-
toolBarContext === null || toolBarContext === void 0 ? void 0 : toolBarContext.menuItemClick();
|
|
49
|
-
} },
|
|
50
|
-
React.createElement(FAIcon, { icon: faMagnifyingGlass }),
|
|
51
|
-
React.createElement("span", null, "Send Review")),
|
|
52
|
-
envelope.envelopeStatus !== "Signing" && envelope.status === "Draft" && (React.createElement(Button, { type: "link", key: "Envelope", disabled: !user.can("send", envelope.p, { asset: "invite" }), onClick: () => {
|
|
53
|
-
setSendFormVisible({ type: "Envelope", visible: true });
|
|
54
|
-
toolBarContext === null || toolBarContext === void 0 ? void 0 : toolBarContext.menuItemClick();
|
|
55
|
-
}, className: "envelope-menu-sendEnvelope" },
|
|
56
|
-
React.createElement(FAIcon, { icon: faEnvelope }),
|
|
57
|
-
React.createElement("span", null, "Send Invite"))),
|
|
58
|
-
envelope.envelopeStatus === "Signing" && (React.createElement(Button, { type: "link", key: "Reminders", onClick: () => {
|
|
59
|
-
setRemindersVisible(true);
|
|
60
|
-
toolBarContext === null || toolBarContext === void 0 ? void 0 : toolBarContext.menuItemClick();
|
|
61
|
-
}, className: "envelope-menu-sendReminders" },
|
|
62
|
-
React.createElement(FAIcon, { icon: faBellOn }),
|
|
63
|
-
React.createElement("span", null, "Send Reminders"))),
|
|
64
|
-
envelope.envelopeStatus === "Signing" && (React.createElement(Button, { type: "link", key: "Complete", onClick: () => {
|
|
65
|
-
operate("Complete");
|
|
66
|
-
toolBarContext === null || toolBarContext === void 0 ? void 0 : toolBarContext.menuItemClick();
|
|
67
|
-
}, style: { color: "#52c41a" }, className: "envelope-menu-complete" },
|
|
68
|
-
React.createElement(FAIcon, { icon: faCheck }),
|
|
69
|
-
React.createElement("span", null, "Complete"))),
|
|
70
|
-
(envelope.envelopeStatus === "Cancelled" || envelope.envelopeStatus === "Completed") &&
|
|
71
|
-
unsigned && (React.createElement(Button, { type: "link", key: "Reopen", onClick: () => {
|
|
72
|
-
operate("Reopen");
|
|
73
|
-
toolBarContext === null || toolBarContext === void 0 ? void 0 : toolBarContext.menuItemClick();
|
|
74
|
-
}, style: { color: "#1890ff" }, className: "envelope-menu-reopen" },
|
|
75
|
-
React.createElement(FAIcon, { icon: faSync }),
|
|
76
|
-
React.createElement("span", null, "Reopen"))),
|
|
77
|
-
envelope.envelopeStatus === "Signing" && (React.createElement(Button, { type: "link", key: "Cancel", onClick: () => {
|
|
78
|
-
operate("Cancel");
|
|
79
|
-
toolBarContext === null || toolBarContext === void 0 ? void 0 : toolBarContext.menuItemClick();
|
|
80
|
-
}, className: "envelope-menu-cancel" },
|
|
81
|
-
React.createElement(FAIcon, { icon: faUndo }),
|
|
82
|
-
React.createElement("span", null, "Cancel"))),
|
|
19
|
+
React.createElement(ViewSignatures, null),
|
|
20
|
+
!defaultView && React.createElement(SendReview, null),
|
|
21
|
+
!defaultView && React.createElement(SendInvite, null),
|
|
22
|
+
!defaultView && React.createElement(SendReminders, null),
|
|
23
|
+
React.createElement(Complete, null),
|
|
24
|
+
React.createElement(Reopen, null),
|
|
25
|
+
React.createElement(Cancel, null),
|
|
83
26
|
React.createElement(MenuTitle, { title: "Document Menu" }),
|
|
84
27
|
React.createElement(Pin, null),
|
|
85
28
|
React.createElement(Unpin, null),
|
|
@@ -89,32 +32,12 @@ const EnvelopeMenu = (props) => {
|
|
|
89
32
|
React.createElement(LockMenuGroup, { configMenu: ["Lock", "Unlock"] }),
|
|
90
33
|
React.createElement(MiscMenuGroup, { configMenu: !envelope.envelopeStatus || !((_a = envelope.letters) === null || _a === void 0 ? void 0 : _a.length)
|
|
91
34
|
? ["PrintActivities", "Access", "Archive", "Delete"]
|
|
92
|
-
: ["PrintActivities", "Access", "Archive"] }))
|
|
93
|
-
visible && (React.createElement(ReasonDialog, { type: type, envelopeId: props.id, updateVisible: (visible) => {
|
|
94
|
-
setVisible(visible);
|
|
95
|
-
setReload(true);
|
|
96
|
-
} })),
|
|
97
|
-
(sendFormVisible === null || sendFormVisible === void 0 ? void 0 : sendFormVisible.visible) && (React.createElement(SendDialog, { title: sendFormVisible.type, onSend: (msg) => {
|
|
98
|
-
invite(msg);
|
|
99
|
-
setSendFormVisible({ type: "", visible: false });
|
|
100
|
-
}, onCancel: () => setSendFormVisible({ type: "", visible: false }) })),
|
|
101
|
-
remindersVisible && (React.createElement(RemindersDialog, { id: props.id, onCancel: () => setRemindersVisible(false) })),
|
|
102
|
-
signatureVisible && (React.createElement(ViewSignaturesDialog, { id: props.id, onCancel: () => setSignatureVisible(false), onOk: () => setSignatureVisible(false) })),
|
|
103
|
-
reviewVisible && React.createElement(ReviewDialog, { id: props.id, onCancel: () => setReviewVisible(false) })));
|
|
35
|
+
: ["PrintActivities", "Access", "Archive"] }))));
|
|
104
36
|
});
|
|
105
|
-
/** email send */
|
|
106
|
-
async function invite(msg) {
|
|
107
|
-
await store.invite(props.id, { data: { Message: msg }, error: "message" });
|
|
108
|
-
}
|
|
109
37
|
/** email remind */
|
|
110
38
|
// async function remind(msg?: string) {
|
|
111
39
|
// await store.remind(props.id, { data: { Message: msg }, error: "message" });
|
|
112
40
|
// }
|
|
113
|
-
function operate(type) {
|
|
114
|
-
setType(type);
|
|
115
|
-
setVisible(true);
|
|
116
|
-
setReload(false);
|
|
117
|
-
}
|
|
118
41
|
};
|
|
119
42
|
export default EnvelopeMenu;
|
|
120
43
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/pages/Signature/Envelope/controls/EnvelopeMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/pages/Signature/Envelope/controls/EnvelopeMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,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,MAAM,EAAE,QAAQ,CAAC,GAAI;gBACjD,oBAAC,aAAa,IACb,UAAU,EACT,CAAC,QAAQ,CAAC,cAAc,IAAI,CAAC,CAAA,MAAA,QAAQ,CAAC,OAAO,0CAAE,MAAM,CAAA;wBACpD,CAAC,CAAC,CAAC,iBAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC;wBACpD,CAAC,CAAC,CAAC,iBAAiB,EAAE,QAAQ,EAAE,SAAS,CAAC,GAG3C,CAC4B,CAC7B,CACH,CAAA;KAAA,CAAC,CAAC;IAEH,mBAAmB;IACnB,wCAAwC;IACxC,+EAA+E;IAC/E,IAAI;AACL,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { faUndo } from "@fortawesome/pro-light-svg-icons";
|
|
2
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
3
|
+
import { useDocumentMenuContext } from "@voplus/morpho-document-core";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { Button } from "antd";
|
|
6
|
+
import React, { useState } from "react";
|
|
7
|
+
import { useToolBarContext } from "../../../../../../controls/ToolBar/ToolBarState";
|
|
8
|
+
import { useEnvelope } from "../../../../data/envelope";
|
|
9
|
+
import ReasonDialog from "../../../components/ReasonDialog";
|
|
10
|
+
const Cancel = (props) => {
|
|
11
|
+
const { disabled, action } = props;
|
|
12
|
+
const context = useDocumentMenuContext();
|
|
13
|
+
const toolBarContext = useToolBarContext();
|
|
14
|
+
const envelope = useEnvelope(context.id);
|
|
15
|
+
const [visible, setVisible] = useState(false);
|
|
16
|
+
return observe(() => (React.createElement(React.Fragment, null,
|
|
17
|
+
envelope.envelopeStatus === "Signing" && (React.createElement(Button, { type: "link", key: "Cancel", onClick: () => {
|
|
18
|
+
setVisible(true);
|
|
19
|
+
toolBarContext === null || toolBarContext === void 0 ? void 0 : toolBarContext.menuItemClick();
|
|
20
|
+
}, className: "envelope-menu-cancel" },
|
|
21
|
+
React.createElement(FAIcon, { icon: faUndo }),
|
|
22
|
+
React.createElement("span", null, "Cancel"))),
|
|
23
|
+
visible && (React.createElement(ReasonDialog, { type: "Cancel", envelopeId: context.id, updateVisible: (visible) => setVisible(visible) })))));
|
|
24
|
+
};
|
|
25
|
+
export default Cancel;
|
|
26
|
+
//# sourceMappingURL=Cancel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Cancel.js","sourceRoot":"","sources":["../../../../../../../src/pages/Signature/Envelope/controls/EnvelopeMenu/items/Cancel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,YAAY,MAAM,kCAAkC,CAAC;AAE5D,MAAM,MAAM,GAAG,CAAC,KAKf,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACnC,MAAM,OAAO,GAAG,sBAAsB,EAAE,CAAC;IACzC,MAAM,cAAc,GAAG,iBAAiB,EAAE,CAAC;IAC3C,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IACzC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACE,QAAQ,CAAC,cAAc,KAAK,SAAS,IAAI,CACzC,oBAAC,MAAM,IACN,IAAI,EAAC,MAAM,EACX,GAAG,EAAC,QAAQ,EACZ,OAAO,EAAE,GAAG,EAAE;gBACb,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjB,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,aAAa,EAAE,CAAC;YACjC,CAAC,EACD,SAAS,EAAC,sBAAsB;YAEhC,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI;YACxB,2CAAmB,CACX,CACT;QACA,OAAO,IAAI,CACX,oBAAC,YAAY,IACZ,IAAI,EAAC,QAAQ,EACb,UAAU,EAAE,OAAO,CAAC,EAAE,EACtB,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,GAC9C,CACF,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { faCheck } from "@fortawesome/pro-light-svg-icons";
|
|
2
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
3
|
+
import { useDocumentMenuContext } from "@voplus/morpho-document-core";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { Button } from "antd";
|
|
6
|
+
import React, { useState } from "react";
|
|
7
|
+
import { useToolBarContext } from "../../../../../../controls/ToolBar/ToolBarState";
|
|
8
|
+
import { useEnvelope } from "../../../../data/envelope";
|
|
9
|
+
import ReasonDialog from "../../../components/ReasonDialog";
|
|
10
|
+
const Complete = (props) => {
|
|
11
|
+
const { disabled, action } = props;
|
|
12
|
+
const context = useDocumentMenuContext();
|
|
13
|
+
const toolBarContext = useToolBarContext();
|
|
14
|
+
const envelope = useEnvelope(context.id);
|
|
15
|
+
const [visible, setVisible] = useState(false);
|
|
16
|
+
return observe(() => (React.createElement(React.Fragment, null,
|
|
17
|
+
envelope.envelopeStatus === "Signing" && (React.createElement(Button, { type: "link", key: "Complete", onClick: () => {
|
|
18
|
+
setVisible(true);
|
|
19
|
+
toolBarContext === null || toolBarContext === void 0 ? void 0 : toolBarContext.menuItemClick();
|
|
20
|
+
}, style: { color: "#52c41a" }, className: "envelope-menu-complete" },
|
|
21
|
+
React.createElement(FAIcon, { icon: faCheck }),
|
|
22
|
+
React.createElement("span", null, "Complete"))),
|
|
23
|
+
visible && (React.createElement(ReasonDialog, { type: "Complete", envelopeId: context.id, updateVisible: (visible) => setVisible(visible) })))));
|
|
24
|
+
};
|
|
25
|
+
export default Complete;
|
|
26
|
+
//# sourceMappingURL=Complete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Complete.js","sourceRoot":"","sources":["../../../../../../../src/pages/Signature/Envelope/controls/EnvelopeMenu/items/Complete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,YAAY,MAAM,kCAAkC,CAAC;AAE5D,MAAM,QAAQ,GAAG,CAAC,KAKjB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACnC,MAAM,OAAO,GAAG,sBAAsB,EAAE,CAAC;IACzC,MAAM,cAAc,G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