@voplus/morpho-csp 2.0.1 → 2.0.3
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/modules/corporate/company/controls/CorporateMenu/index.js +18 -7
- package/es/modules/corporate/company/controls/CorporateMenu/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.js +1 -1
- package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.js +8 -4
- package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.d.ts +1 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +7 -7
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.less +12 -15
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/DisclaimerDialog.d.ts +9 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/DisclaimerDialog.js +30 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/DisclaimerDialog.js.map +1 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js +55 -36
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.less +57 -14
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { faAddressCard, faArrowUpRightFromSquare, faChartUser, faCircleEllipsis,
|
|
|
4
4
|
import { observe, useAsideContentContext } from "@voplus/morpho-ui";
|
|
5
5
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
6
6
|
import PermissionModal from "@voplus/morpho-org/es/controls/PermissionModal";
|
|
7
|
+
import Routes from "../../../../../routes";
|
|
7
8
|
import classnames from "classnames";
|
|
8
9
|
import styles from "./index.less";
|
|
9
10
|
import { useCorporateStore } from "../../../../../data/corporate";
|
|
@@ -32,28 +33,24 @@ const CorporateMenu = (props) => {
|
|
|
32
33
|
label: "Contact",
|
|
33
34
|
icon: React.createElement(FAIcon, { icon: faFolderUser }),
|
|
34
35
|
children: [
|
|
35
|
-
// onClick={() => layout.history.push(`/units/${props.unitId}`)}
|
|
36
36
|
{
|
|
37
37
|
key: "Open",
|
|
38
38
|
label: "Open",
|
|
39
39
|
icon: React.createElement(FAIcon, { icon: faArrowUpRightFromSquare }),
|
|
40
40
|
disabled: !props.unitId,
|
|
41
41
|
},
|
|
42
|
-
// layout.history.push(Routes.UnitRiskProfilePage.getUrl(props.unitId!))
|
|
43
42
|
{
|
|
44
43
|
key: "ViewRiskProfile",
|
|
45
44
|
label: "View Risk Profile",
|
|
46
45
|
icon: React.createElement(FAIcon, { icon: faAddressCard }),
|
|
47
46
|
disabled: !props.unitId,
|
|
48
47
|
},
|
|
49
|
-
// layout.history.push(`/customer-empty/${props.unitId}`)
|
|
50
48
|
{
|
|
51
49
|
key: "ViewCustomer",
|
|
52
50
|
label: "View Customer",
|
|
53
51
|
icon: React.createElement(FAIcon, { icon: faPanelEws }),
|
|
54
52
|
disabled: !props.unitId,
|
|
55
53
|
},
|
|
56
|
-
// layout.history.push(`/agent-empty/${props.unitId}`)
|
|
57
54
|
{
|
|
58
55
|
key: "Agent",
|
|
59
56
|
label: "View Agent",
|
|
@@ -62,18 +59,32 @@ const CorporateMenu = (props) => {
|
|
|
62
59
|
},
|
|
63
60
|
],
|
|
64
61
|
},
|
|
65
|
-
// setVisible(!visible)
|
|
66
62
|
{ key: "Access", label: "Access", icon: React.createElement(FAIcon, { icon: faUserEdit }) },
|
|
67
|
-
// onPaste
|
|
68
63
|
{
|
|
69
64
|
key: "Paste",
|
|
70
65
|
label: "Paste",
|
|
71
66
|
icon: React.createElement(FAIcon, { icon: faPaste }),
|
|
72
67
|
disabled: docStore.moveIds.length === 0 && docStore.copyIds.length === 0,
|
|
73
68
|
},
|
|
74
|
-
] })) },
|
|
69
|
+
], onClick: (e) => onClick(e.key) })) },
|
|
75
70
|
React.createElement(Button, { size: "small", type: "text" }, props.icon)),
|
|
76
71
|
visible && React.createElement(PermissionModal, { id: props.id, onChange: () => setVisible(!visible) }))));
|
|
72
|
+
function onClick(key) {
|
|
73
|
+
if (key === "Disabled")
|
|
74
|
+
onChangeStatus("Disabled");
|
|
75
|
+
if (key === "Open")
|
|
76
|
+
layout.history.push(`/units/${props.unitId}`);
|
|
77
|
+
if (key === "ViewRiskProfile")
|
|
78
|
+
layout.history.push(Routes.UnitRiskProfilePage.getUrl(props.unitId));
|
|
79
|
+
if (key === "ViewCustomer")
|
|
80
|
+
layout.history.push(`/customer-empty/${props.unitId}`);
|
|
81
|
+
if (key === "Agent")
|
|
82
|
+
layout.history.push(`/agent-empty/${props.unitId}`);
|
|
83
|
+
if (key === "Access")
|
|
84
|
+
setVisible(!visible);
|
|
85
|
+
if (key === "Paste")
|
|
86
|
+
onPaste();
|
|
87
|
+
}
|
|
77
88
|
/** Disabled/Enable function */
|
|
78
89
|
function onChangeStatus(status) {
|
|
79
90
|
// store.edit(props.id, { data: { Status: status }, error: "message" });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/CorporateMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACvD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,aAAa,EACb,wBAAwB,EACxB,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,OAAO,EACP,UAAU,EACV,UAAU,GACV,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,eAAe,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/CorporateMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACvD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,aAAa,EACb,wBAAwB,EACxB,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,OAAO,EACP,UAAU,EACV,UAAU,GACV,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAC7E,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,aAAa,GAAG,CAAC,KAMtB,EAAE,EAAE;IACJ,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IACpC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAClC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAE9C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAA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M,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;QACnF,IAAI,GAAG,KAAK,OAAO;YAAE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;QACzE,IAAI,GAAG,KAAK,QAAQ;YAAE,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC;QAC3C,IAAI,GAAG,KAAK,OAAO;YAAE,OAAO,EAAE,CAAC;IAChC,CAAC;IAED,+BAA+B;IAC/B,SAAS,cAAc,CAAC,MAAe;QACtC,wEAAwE;IACzE,CAAC;IAED,KAAK,UAAU,OAAO;QACrB,IAAI,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAU,EAAE,EAAE,CAAC,EAAE,KAAK,KAAK,CAAC,EAAE,CAAC,EAAE;YAC3D,OAAO,OAAO,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;SAChD;QACD,MAAM,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC/B,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;QACpC,OAAO;IACR,CAAC;AACF,CAAC,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG;IAC5B,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,gBAAgB,GAAI;CACxC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import React from "react";
|
|
|
6
6
|
import { faAnalytics } from "@fortawesome/pro-light-svg-icons";
|
|
7
7
|
const ShareTransactionsDataIcon = (props) => {
|
|
8
8
|
const { id, className } = props;
|
|
9
|
-
return (React.createElement(Popover, { content: React.createElement(MemberShareTransactions, { id: id, size: "small" }), title: "",
|
|
9
|
+
return (React.createElement(Popover, { content: React.createElement(MemberShareTransactions, { id: id, size: "small" }), title: "", arrow: true, overlayClassName: "task-analytics-popover" },
|
|
10
10
|
React.createElement("span", { className: className },
|
|
11
11
|
React.createElement(FAIcon, { icon: faAnalytics }))));
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAE/D,MAAM,yBAAyB,GAAG,CAAC,KAAyC,EAAE,EAAE;IAC/E,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhC,OAAO,CACN,oBAAC,OAAO,IACP,OAAO,EAAE,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,GAAG,EACzD,KAAK,EAAC,EAAE,EACR,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAE/D,MAAM,yBAAyB,GAAG,CAAC,KAAyC,EAAE,EAAE;IAC/E,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhC,OAAO,CACN,oBAAC,OAAO,IACP,OAAO,EAAE,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,GAAG,EACzD,KAAK,EAAC,EAAE,EACR,KAAK,QACL,gBAAgB,EAAC,wBAAwB;QAEzC,8BAAM,SAAS,EAAE,SAAS;YACzB,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI,CACvB,CACE,CACV,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -13,18 +13,22 @@ const FilingTypeMenu = (props) => {
|
|
|
13
13
|
const [visible, setVisible] = useState(false);
|
|
14
14
|
return observe(() => (React.createElement(React.Fragment, null,
|
|
15
15
|
React.createElement(Dropdown, { placement: "bottomRight", dropdownRender: () => (React.createElement(Menu, { className: classnames(styles["filing-type-menu"], props.className), items: [
|
|
16
|
-
// setVisible(!visible)
|
|
17
16
|
{ key: "Access", label: "Access", icon: React.createElement(FAIcon, { icon: faUserEdit }) },
|
|
18
|
-
// onClick
|
|
19
17
|
{
|
|
20
18
|
key: "Delete",
|
|
21
19
|
label: "Delete",
|
|
22
20
|
icon: React.createElement(FAIcon, { icon: faTrashAlt, color: "#f5222d" }),
|
|
23
21
|
},
|
|
24
|
-
] })) },
|
|
22
|
+
], onClick: (e) => onClick(e.key) })) },
|
|
25
23
|
React.createElement(Button, { size: "small", type: "link" }, props.icon)),
|
|
26
24
|
visible && React.createElement(PermissionModal, { id: props.id || "", onChange: () => setVisible(!visible) }))));
|
|
27
|
-
function onClick() {
|
|
25
|
+
function onClick(key) {
|
|
26
|
+
if (key === "Access")
|
|
27
|
+
setVisible(!visible);
|
|
28
|
+
if (key === "Delete")
|
|
29
|
+
onDelete();
|
|
30
|
+
}
|
|
31
|
+
function onDelete() {
|
|
28
32
|
/** 如果文件下有子文件, 询问是否删除所有子文件 */
|
|
29
33
|
Modal.confirm({
|
|
30
34
|
title: "Do you want to delete this item?",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAW,MAAM,MAAM,CAAC;AAC9D,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAC7E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,MAAM,cAAc,GAAG,CAAC,KAKvB,EAAE,EAAE;IACJ,MAAM,KAAK,GAAG,kBAAkB,EAAE,CAAC;IACnC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAE9C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,CAAC,QAAQ;QACd,oBAAC,QAAQ,IACR,SAAS,EAAC,aAAa,EACvB,cAAc,EAAE,GAAG,EAAE,CAAC,CACrB,oBAAC,IAAI,IACJ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,EAClE,KAAK,EAAE;oBACN,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":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CAAC,YAAY,GAAG;IAC7B,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,gBAAgB,GAAI;CACxC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -43,7 +43,7 @@ const ShareCertificate = (props) => {
|
|
|
43
43
|
shareCertificate.certificateStatus === "Cancelled" && (React.createElement("div", { className: "share-certificate-watermark" }, "C a n c e l l e d")),
|
|
44
44
|
React.createElement("img", { className: "share-certificate-img", src: "/img/share-certificate/background-image.jpg", alt: "" }),
|
|
45
45
|
React.createElement("div", { className: "share-certificate-content" },
|
|
46
|
-
React.createElement("div", { className: "share-certificate-info" },
|
|
46
|
+
React.createElement("div", { className: "share-certificate-info", style: { height: props.mobile ? "750px" : "650px" } },
|
|
47
47
|
React.createElement("div", { className: "share-certificate-header" },
|
|
48
48
|
React.createElement("div", { className: "share-certificate-no" },
|
|
49
49
|
React.createElement("span", null, "Certificate No."),
|
|
@@ -75,7 +75,7 @@ const ShareCertificate = (props) => {
|
|
|
75
75
|
" ",
|
|
76
76
|
"SHARES ",
|
|
77
77
|
shareCertificate.paymentText,
|
|
78
|
-
" OF"),
|
|
78
|
+
" IN THE SHARE CAPITAL OF"),
|
|
79
79
|
React.createElement("div", { className: "share-certificate-art-font" }, "THE COMPANY SUBJECT TO THE CONSTITUTION OF THE COMPANY"),
|
|
80
80
|
React.createElement("div", { className: "share-certificate-date-info" },
|
|
81
81
|
React.createElement("div", { className: "share-certificate-date" },
|
|
@@ -90,12 +90,12 @@ const ShareCertificate = (props) => {
|
|
|
90
90
|
React.createElement("span", null, moment(shareCertificate.certificateDate).format("YYYY"))))),
|
|
91
91
|
React.createElement("div", { className: "share-certificate-footer" },
|
|
92
92
|
React.createElement("div", { className: "share-certificate-footer-boder" },
|
|
93
|
-
React.createElement("div", { className: "share-certificate-sign", onClick: () => !file1 && setSignVisible(true) }, file1 ? (React.createElement(Image, { src: window.URL.createObjectURL(file1), preview: false, width: "100%" })) : ((_a = shareCertificate.signee1) === null || _a === void 0 ? void 0 : _a.id) === user.info.id ? (React.createElement("span", { style: { color: "#94a3b8", cursor: "pointer" } }, "Click to sign")) : (React.createElement(React.Fragment, null))),
|
|
94
|
-
React.createElement("
|
|
95
|
-
React.createElement("div", { className: "share-certificate-footer-qrcode" }, qR && React.createElement(Image, { src: window.URL.createObjectURL(qR), preview: false, width: "
|
|
93
|
+
React.createElement("div", { className: "share-certificate-sign", onClick: () => { var _a; return !file1 && ((_a = shareCertificate.signee1) === null || _a === void 0 ? void 0 : _a.id) === user.info.id && setSignVisible(true); } }, file1 ? (React.createElement(Image, { src: window.URL.createObjectURL(file1), preview: false, width: "100%" })) : ((_a = shareCertificate.signee1) === null || _a === void 0 ? void 0 : _a.id) === user.info.id ? (React.createElement("span", { style: { color: "#94a3b8", cursor: "pointer" } }, "Click to sign")) : (React.createElement(React.Fragment, null))),
|
|
94
|
+
React.createElement("div", { className: "share-certificate-sign-name" }, (shareCertificate === null || shareCertificate === void 0 ? void 0 : shareCertificate.signee1Name) || "Director")),
|
|
95
|
+
React.createElement("div", { className: "share-certificate-footer-qrcode" }, qR && React.createElement(Image, { src: window.URL.createObjectURL(qR), preview: false, width: "134px" })),
|
|
96
96
|
React.createElement("div", { className: "share-certificate-footer-boder" },
|
|
97
|
-
React.createElement("div", { className: "share-certificate-sign", onClick: () => !file2 && setSignVisible(true) }, file2 ? (React.createElement(Image, { src: window.URL.createObjectURL(file2), preview: false, width: "100%" })) : ((_b = shareCertificate.signee2) === null || _b === void 0 ? void 0 : _b.id) === user.info.id ? (React.createElement("span", { style: { color: "#94a3b8", cursor: "pointer" } }, "Click to sign")) : (React.createElement(React.Fragment, null))),
|
|
98
|
-
React.createElement("
|
|
97
|
+
React.createElement("div", { className: "share-certificate-sign", onClick: () => { var _a; return !file2 && ((_a = shareCertificate.signee2) === null || _a === void 0 ? void 0 : _a.id) === user.info.id && setSignVisible(true); } }, file2 ? (React.createElement(Image, { src: window.URL.createObjectURL(file2), preview: false, width: "100%" })) : ((_b = shareCertificate.signee2) === null || _b === void 0 ? void 0 : _b.id) === user.info.id ? (React.createElement("span", { style: { color: "#94a3b8", cursor: "pointer" } }, "Click to sign")) : (React.createElement(React.Fragment, null))),
|
|
98
|
+
React.createElement("div", { className: "share-certificate-sign-name" }, (shareCertificate === null || shareCertificate === void 0 ? void 0 : shareCertificate.signee2Name) || "Director/Secretary"))))),
|
|
99
99
|
signVisible && (React.createElement(SignatureDialog, { onCancel: () => setSignVisible(false), onSign: onSignature }))));
|
|
100
100
|
});
|
|
101
101
|
/** reload data */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificate/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AACtG,OAAO,eAAe,MAAM,iDAAiD,CAAC;AAC9E,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,gBAAgB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificate/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,gBAAgB,E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|
.share-certificate-info {
|
|
59
|
-
height: 650px;
|
|
59
|
+
// height: 650px;
|
|
60
60
|
display: flex;
|
|
61
61
|
flex-direction: column;
|
|
62
62
|
justify-content: space-between;
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
font-family: "Lucida Calligraphy", cursive, serif, sans-serif;
|
|
128
128
|
font-size: 16px;
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
& > span {
|
|
131
131
|
font-family: "Franklin Gothic", Arial, sans-serif;
|
|
132
132
|
font-weight: bold;
|
|
133
133
|
font-size: 14px;
|
|
@@ -144,26 +144,25 @@
|
|
|
144
144
|
align-items: center;
|
|
145
145
|
|
|
146
146
|
.share-certificate-footer-boder {
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
display: flex;
|
|
148
|
+
flex-direction: column;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: center;
|
|
149
151
|
width: 380px;
|
|
150
152
|
height: 200px;
|
|
151
153
|
text-align: center;
|
|
152
154
|
|
|
153
|
-
|
|
154
|
-
// font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
|
|
155
|
+
.share-certificate-sign-name {
|
|
155
156
|
font-weight: 500;
|
|
156
157
|
border-top: 1px solid #000;
|
|
157
158
|
display: inline-block;
|
|
158
159
|
width: 140px;
|
|
159
|
-
margin-top: 155px;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.share-certificate-sign {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
transform: translate(-50%, -50%);
|
|
163
|
+
width: 140px;
|
|
164
|
+
height: 92px;
|
|
165
|
+
line-height: 92px;
|
|
167
166
|
}
|
|
168
167
|
}
|
|
169
168
|
|
|
@@ -171,8 +170,6 @@
|
|
|
171
170
|
display: flex;
|
|
172
171
|
align-items: center;
|
|
173
172
|
justify-content: center;
|
|
174
|
-
// border-top: 1px dashed #ccc;
|
|
175
|
-
// border-bottom: 1px dashed #ccc;
|
|
176
173
|
width: 300px;
|
|
177
174
|
height: 200px;
|
|
178
175
|
}
|
|
@@ -182,7 +179,7 @@
|
|
|
182
179
|
font-family: "Lucida Calligraphy", cursive, serif, sans-serif;
|
|
183
180
|
font-size: 16px;
|
|
184
181
|
|
|
185
|
-
|
|
182
|
+
& > span {
|
|
186
183
|
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
|
|
187
184
|
font-size: 14px;
|
|
188
185
|
}
|
|
@@ -194,4 +191,4 @@
|
|
|
194
191
|
}
|
|
195
192
|
}
|
|
196
193
|
}
|
|
197
|
-
}
|
|
194
|
+
}
|
package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/DisclaimerDialog.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./index.less";
|
|
2
|
+
import { Button, Row, Space } from "antd";
|
|
3
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
4
|
+
import FlexDialog from "@voplus/morpho-document/es/components/FlexDialog";
|
|
5
|
+
import ProseMirror from "@voplus/morpho-text/es/controls/ProseMirror";
|
|
6
|
+
import React from "react";
|
|
7
|
+
import { faCircleInfo } from "@fortawesome/pro-light-svg-icons";
|
|
8
|
+
import { observe } from "@voplus/morpho-ui";
|
|
9
|
+
const DisclaimerDialog = (props) => {
|
|
10
|
+
return observe(() => (React.createElement(FlexDialog, { mobileHeightMode: "fill", modalProps: {
|
|
11
|
+
title: (React.createElement(React.Fragment, null,
|
|
12
|
+
React.createElement(FAIcon, { icon: faCircleInfo, className: "margin-right-10" }),
|
|
13
|
+
"Disclaimer")),
|
|
14
|
+
className: "share-certificate-client-view-disclaimer",
|
|
15
|
+
width: 800,
|
|
16
|
+
visible: props.visible,
|
|
17
|
+
footer: null,
|
|
18
|
+
onCancel: props.onCancel,
|
|
19
|
+
}, closeAside: props.onCancel },
|
|
20
|
+
React.createElement("div", { className: props.mobile
|
|
21
|
+
? "share-certificate-disclaimer-content-mobile"
|
|
22
|
+
: "share-certificate-disclaimer-content-pc" },
|
|
23
|
+
React.createElement("div", { className: "disclaimer-content" },
|
|
24
|
+
React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, readonly: true, defaultHtml: `<h2>Disclaimer</h2><p>VOPLUS is a service provider of digital share certificates and other corporate services. The digital share certificate you are accessing, as well as any digital share certificates you may access in the future, are managed by VOPLUS. VOPLUS provides digital share certificate issuance, signing, verification, download, cancellation, and other related services for convenience and informational purposes only.</p><p>The information contained on the digital share certificates is provided by the respective issuing companies and is certified by two of their officers in accordance with Section 123 of the Companies Act 1967. It is accurate to the best of their knowledge. VOPLUS makes no representations or warranties, express or implied, as to the accuracy, completeness, or reliability of the information contained in these digital share certificates.</p><p>By using or relying on any information in the digital share certificates, you acknowledge and agree that you have read and understood this disclaimer, and you accept and assume full responsibility for any and all consequences that may arise from using these digital share certificates. You agree to indemnify, defend, and hold harmless VOPLUS and its affiliates, officers, directors, employees, and agents from and against any claims, liabilities, damages, losses, or expenses, including reasonable attorneys' fees and costs, arising out of or in any way connected with your use of or reliance on the digital share certificates.</p><p>VOPLUS shall not be liable for any loss or damage, whether direct, indirect, or consequential, arising from your reliance on or use of the digital share certificates. VOPLUS does not assume any responsibility for the accuracy or completeness of the information provided by the companies, nor does it provide any legal or financial advice or substitute for professional advice.</p><p>This disclaimer shall be governed by and construed in accordance with the laws of Singapore, without regard to its conflict of law provisions. If any provision of this disclaimer is found to be invalid or unenforceable by a court of competent jurisdiction, the remaining provisions shall remain in full force and effect. No waiver of any term or condition of this disclaimer shall be deemed a further or continuing waiver of such term or condition or any other term or condition.</p>`, className: "share-certificate-client-view-proseMirror" })),
|
|
25
|
+
React.createElement(Row, { className: "accept-button", justify: "end" },
|
|
26
|
+
React.createElement(Space, null,
|
|
27
|
+
React.createElement(Button, { type: "primary", onClick: props.onAccept }, "OK")))))));
|
|
28
|
+
};
|
|
29
|
+
export default DisclaimerDialog;
|
|
30
|
+
//# sourceMappingURL=DisclaimerDialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisclaimerDialog.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/pages/ShareCertificateClientView/DisclaimerDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAE1C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,gBAAgB,GAAG,CAAC,KAKzB,EAAE,EAAE;IACJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,UAAU,IACV,gBAAgB,EAAC,MAAM,EACvB,UAAU,EAAE;YACX,KAAK,EAAE,CACN;gBACC,oBAAC,MAAM,IAAC,IAAI,EAAE,YAAY,EAAE,SAAS,EAAC,iBAAiB,GAAG;6BAExD,CACH;YACD,SAAS,EAAE,0CAA0C;YACrD,KAAK,EAAE,GAAG;YACV,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,MAAM,EAAE,IAAI;YACZ,QAAQ,EAAE,KAAK,CAAC,QAAQ;SACxB,EACD,UAAU,EAAE,KAAK,CAAC,QAAQ;QAE1B,6BACC,SAAS,EACR,KAAK,CAAC,MAAM;gBACX,CAAC,CAAC,6CAA6C;gBAC/C,CAAC,CAAC,yCAAyC;YAG7C,6BAAK,SAAS,EAAC,oBAAoB;gBAClC,oBAAC,WAAW,IACX,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAC/B,MAAM,QACN,QAAQ,QACR,WAAW,EAAE,80EAA80E,EAC31E,SAAS,EAAC,2CAA2C,GACpD,CACG;YACN,oBAAC,GAAG,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAC,KAAK;gBAC3C,oBAAC,KAAK;oBACL,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,SAErC,CACF,CACH,CACD,CACM,CACb,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Button, Modal, Space } from "antd";
|
|
2
1
|
import { CertRefreshContext, RefreshState } from "./ActivityRefreshContext";
|
|
3
|
-
import React, { useEffect, useState } from "react";
|
|
2
|
+
import React, { useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
3
|
+
import { faArrowDownToLine, faBars } from "@fortawesome/pro-light-svg-icons";
|
|
4
4
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
|
5
5
|
import { useApplicationContext, useLayout, useTabItem } from "@voplus/morpho-data";
|
|
6
6
|
import ActivityLogTpl from "./ActivityLogTpl";
|
|
7
7
|
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
8
|
+
import { Button } from "antd";
|
|
9
|
+
import DisclaimerDialog from "./DisclaimerDialog";
|
|
10
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
10
11
|
import { Scrollbars } from "react-custom-scrollbars";
|
|
11
12
|
import ShareCertificate from "../../components/ShareCertificate";
|
|
12
13
|
import { State } from "./state";
|
|
13
|
-
import { faCircleInfo } from "@fortawesome/pro-light-svg-icons";
|
|
14
14
|
import styles from "./index.less";
|
|
15
15
|
import { useParams } from "react-router";
|
|
16
16
|
import { useShareCertificate } from "../../../../../data/share-certificate";
|
|
@@ -20,47 +20,66 @@ const ShareCertificateClientView = () => {
|
|
|
20
20
|
const layout = useLayout();
|
|
21
21
|
const tab = useTabItem();
|
|
22
22
|
const shareCertificate = useShareCertificate(id);
|
|
23
|
+
const ref = useRef(null);
|
|
23
24
|
const { user } = useApplicationContext();
|
|
25
|
+
const [certScale, setCertScale] = useState();
|
|
26
|
+
const [certHeight, setCertHeight] = useState();
|
|
24
27
|
const [state] = useState(new State(user.info.id));
|
|
25
28
|
const [context] = useState(() => new RefreshState());
|
|
26
29
|
const [asideContext] = useState(AsideContent.createContext());
|
|
30
|
+
const AsideAccept = observe(() => (React.createElement(DisclaimerDialog, { visible: true, mobile: true, onAccept: onCloseDisclaimer })));
|
|
27
31
|
useAutorunEffect(() => (tab.title = shareCertificate.name || "Share Certificate"));
|
|
28
32
|
useEffect(() => {
|
|
29
|
-
if (!layout.ui.mobile)
|
|
33
|
+
if (!layout.ui.mobile) {
|
|
30
34
|
asideContext.openAside(React.createElement(ActivityLogTpl, { id: id }), { span: 6 });
|
|
31
|
-
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
state.promptInformationVisible && asideContext.openAside(AsideAccept, { span: 6 });
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
useLayoutEffect(() => {
|
|
41
|
+
var _a, _b;
|
|
42
|
+
setCertHeight((_a = ref.current) === null || _a === void 0 ? void 0 : _a.offsetHeight);
|
|
43
|
+
setCertScale((((_b = ref.current) === null || _b === void 0 ? void 0 : _b.offsetHeight) || 0) / 926);
|
|
44
|
+
});
|
|
32
45
|
return observe(() => {
|
|
33
|
-
var _a;
|
|
46
|
+
var _a, _b;
|
|
34
47
|
return (React.createElement(CertRefreshContext.Provider, { value: context },
|
|
35
|
-
React.createElement(AsideContent, { context: asideContext },
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
React.createElement("div", { className: "share-certificate-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
48
|
+
React.createElement(AsideContent, { context: asideContext }, !layout.ui.mobile ? (React.createElement("div", { className: styles["share-certificate-client-view"] },
|
|
49
|
+
React.createElement("div", { className: "share-certificate-client-header" },
|
|
50
|
+
React.createElement("div", { className: "text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate" }, shareCertificate.name),
|
|
51
|
+
((_a = shareCertificate.shareholder) === null || _a === void 0 ? void 0 : _a.id) === user.info.id && (React.createElement(Button, { onClick: () => window.location.assign(window.location.origin +
|
|
52
|
+
`/api/csp/shares/certificates/${id}/pdf?access_token=${encodeURIComponent(user.info.accessToken)}`) }, "Download"))),
|
|
53
|
+
React.createElement("div", { className: "share-certificate-client-body" },
|
|
54
|
+
React.createElement(Scrollbars, { autoHide: true },
|
|
55
|
+
React.createElement("div", { className: "share-certificate-tep" },
|
|
56
|
+
React.createElement(ShareCertificate, { id: id })))),
|
|
57
|
+
React.createElement("div", { className: "share-certificate-client-footer" },
|
|
58
|
+
React.createElement("div", { className: "uppercase" }, "Powered by VOPLUS Digital CSP")),
|
|
59
|
+
state.promptInformationVisible && (React.createElement(DisclaimerDialog, { visible: state.isPromptInformation, onAccept: state.promptInformationClose })))) : (React.createElement("div", { className: styles["share-certificate-client-view-m"] },
|
|
60
|
+
React.createElement("header", null,
|
|
61
|
+
((_b = shareCertificate.shareholder) === null || _b === void 0 ? void 0 : _b.id) === user.info.id ? (React.createElement(Button, { size: "small", className: "share-certificate-download", onClick: () => window.location.assign(window.location.origin +
|
|
62
|
+
`/api/csp/shares/certificates/${id}/pdf?access_token=${encodeURIComponent(user.info.accessToken)}`) },
|
|
63
|
+
React.createElement(FAIcon, { icon: faArrowDownToLine }))) : (React.createElement("div", { className: "share-certificate-download-placeholder" })),
|
|
64
|
+
React.createElement("div", { className: "share-certificate-title" }, shareCertificate.name),
|
|
65
|
+
React.createElement(Button, { size: "small", onClick: toggleActivity },
|
|
66
|
+
React.createElement(FAIcon, { icon: faBars }))),
|
|
67
|
+
React.createElement("div", { className: "share-certificate-client-body", ref: ref },
|
|
68
|
+
React.createElement(Scrollbars, { autoHide: true },
|
|
69
|
+
React.createElement("div", { className: "share-cert-scale", style: {
|
|
70
|
+
transform: `scaleX(${certScale}) scaleY(${certScale})`,
|
|
71
|
+
height: `${certHeight}px`,
|
|
72
|
+
} },
|
|
73
|
+
React.createElement(ShareCertificate, { mobile: true, id: id })))),
|
|
74
|
+
React.createElement("div", { className: "share-certificate-client-footer" },
|
|
75
|
+
React.createElement("div", { className: "uppercase" }, "Powered by VOPLUS Digital CSP")))))));
|
|
63
76
|
});
|
|
77
|
+
async function onCloseDisclaimer() {
|
|
78
|
+
state.promptInformationClose();
|
|
79
|
+
if (asideContext.asideContent) {
|
|
80
|
+
asideContext.closeAside();
|
|
81
|
+
}
|
|
82
|
+
}
|
|
64
83
|
function toggleActivity() {
|
|
65
84
|
if (asideContext.asideContent) {
|
|
66
85
|
asideContext.closeAside();
|
package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,kCAAkC,CA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B;aAAM;YACN,YAAY,CAAC,SAAS,CAAC,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SACjE;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -27,36 +27,57 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.share-certificate-client-view-m {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
height: 100%;
|
|
34
|
+
|
|
30
35
|
:global {
|
|
31
|
-
|
|
32
|
-
padding: 10px 20px;
|
|
36
|
+
header {
|
|
33
37
|
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
38
|
justify-content: space-between;
|
|
39
|
+
align-items: center;
|
|
40
|
+
padding: 10px 20px;
|
|
41
|
+
border-bottom: 1px solid #f2f2f2;
|
|
42
|
+
|
|
43
|
+
.share-certificate-download {
|
|
44
|
+
border: #000;
|
|
45
|
+
color: #fff;
|
|
46
|
+
background-color: #000;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.share-certificate-title {
|
|
50
|
+
padding: 0 10px;
|
|
51
|
+
color: #000;
|
|
52
|
+
font-weight: 500;
|
|
53
|
+
font-size: 15px;
|
|
54
|
+
line-height: 15px;
|
|
55
|
+
}
|
|
36
56
|
}
|
|
37
57
|
|
|
38
58
|
.share-certificate-client-body {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
59
|
+
height: 100%;
|
|
60
|
+
|
|
61
|
+
.share-cert-scale {
|
|
62
|
+
margin-top: -83px;
|
|
63
|
+
margin-left: -51px;
|
|
64
|
+
}
|
|
44
65
|
}
|
|
45
66
|
|
|
46
67
|
.share-certificate-client-footer {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
68
|
+
font-size: 12px;
|
|
69
|
+
color: gray;
|
|
70
|
+
text-align: center;
|
|
71
|
+
padding: 10px 20px;
|
|
51
72
|
}
|
|
52
73
|
}
|
|
53
74
|
}
|
|
54
75
|
|
|
55
76
|
:global {
|
|
56
|
-
|
|
57
77
|
.share-certificate-client-view-disclaimer {
|
|
58
78
|
.ant-modal-body {
|
|
59
79
|
height: 600px;
|
|
80
|
+
padding: 0;
|
|
60
81
|
}
|
|
61
82
|
}
|
|
62
83
|
|
|
@@ -65,4 +86,26 @@
|
|
|
65
86
|
font-size: 14px;
|
|
66
87
|
}
|
|
67
88
|
}
|
|
68
|
-
|
|
89
|
+
|
|
90
|
+
.share-certificate-disclaimer-content-mobile {
|
|
91
|
+
height: 100%;
|
|
92
|
+
|
|
93
|
+
.disclaimer-content {
|
|
94
|
+
height: 100%;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.accept-button {
|
|
98
|
+
padding: 5px 20px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.share-certificate-disclaimer-content-pc {
|
|
103
|
+
.disclaimer-content {
|
|
104
|
+
height: 540px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.accept-button {
|
|
108
|
+
padding: 10px 20px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|