@voplus/morpho-csp 2.0.8 → 2.0.10
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/CurrencyView/index.js +2 -1
- package/es/components/CurrencyView/index.js.map +1 -1
- package/es/data/clda-form/interfaces.d.ts +31 -6
- package/es/data/clda-form/types.d.ts +30 -6
- package/es/data/share-certificate/interfaces.d.ts +4 -0
- package/es/data/share-certificate/types.d.ts +2 -1
- package/es/modules/corporate/company/components/CorporateOfficerSelect/index.d.ts +1 -0
- package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js +10 -2
- package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.d.ts +27 -0
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +87 -0
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js +6 -18
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.d.ts +16 -0
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js +65 -0
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js.map +1 -0
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.less +37 -0
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.d.ts +10 -0
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js +19 -0
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js.map +1 -0
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.less +42 -0
- package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +67 -55
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +72 -59
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +66 -54
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.d.ts +16 -0
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.js +27 -0
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.js.map +1 -0
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.less +34 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.d.ts +27 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +51 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js +10 -19
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.d.ts +27 -0
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +71 -0
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -0
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js +8 -20
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +68 -56
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +5 -4
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js +66 -40
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js +2 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Download.d.ts +8 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Download.js +20 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Download.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/index.d.ts +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/index.js +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.less +4 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js +2 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.js +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.less +10 -3
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.less +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/AddDirectorFeeDialog/index.d.ts +7 -0
- package/es/modules/self-registration/clda-form/incorporation/AddDirectorFeeDialog/index.js +38 -0
- package/es/modules/self-registration/clda-form/incorporation/AddDirectorFeeDialog/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/AddDirectorFeeDialog/state.d.ts +20 -0
- package/es/modules/self-registration/clda-form/incorporation/AddDirectorFeeDialog/state.js +36 -0
- package/es/modules/self-registration/clda-form/incorporation/AddDirectorFeeDialog/state.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/agm/index.js +200 -60
- package/es/modules/self-registration/clda-form/incorporation/agm/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/agm/index.less +41 -2
- package/es/modules/self-registration/controls/Tips/Tip.js +1 -1
- package/es/modules/self-registration/controls/Tips/Tip.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { observe, InlineEdit } from "@voplus/morpho-ui";
|
|
3
|
+
import { useOfficer, useOfficerStore, } from "../../../../../../data/officer";
|
|
4
|
+
import { Form, Row, Col, Badge } from "antd";
|
|
5
|
+
import { Scrollbars } from "react-custom-scrollbars";
|
|
6
|
+
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
7
|
+
import ContactProperties from "@voplus/morpho-org/es/components/ContactProperties";
|
|
8
|
+
import IdentifyProperties from "../../../identity/components/IdentifyProperties";
|
|
9
|
+
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
10
|
+
import dayjs from "dayjs";
|
|
11
|
+
const OfficerProperties = (props) => {
|
|
12
|
+
const { id, allowEdit, officerTitle, orgContactTitle, officerProperties, orgContactProperties } = props;
|
|
13
|
+
const officer = useOfficer(id);
|
|
14
|
+
const store = useOfficerStore();
|
|
15
|
+
const filterPro = officerProperties === null || officerProperties === void 0 ? void 0 : officerProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
|
|
16
|
+
return observe(() => {
|
|
17
|
+
var _a, _b;
|
|
18
|
+
return (React.createElement("div", { className: "properties-list" },
|
|
19
|
+
React.createElement(Scrollbars, { autoHide: true },
|
|
20
|
+
React.createElement(PropertiesSection, { title: officerTitle, properties: React.createElement(Form, { labelAlign: "left", labelCol: { span: 10 }, scrollToFirstError: true }, filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => (React.createElement(React.Fragment, { key: i.name }, renderProp(i))))) }),
|
|
21
|
+
React.createElement(Row, null,
|
|
22
|
+
React.createElement(Col, { span: 10 }, "Identity:"),
|
|
23
|
+
React.createElement(Col, { span: 14 },
|
|
24
|
+
React.createElement(IdentifyProperties, { identityId: (_a = officer.identity) === null || _a === void 0 ? void 0 : _a.id, concatId: officer.contact.id, officerId: id, allowEdit: allowEdit }))),
|
|
25
|
+
React.createElement(ContactProperties, { fromLabelRequired: true, id: (_b = officer === null || officer === void 0 ? void 0 : officer.contact) === null || _b === void 0 ? void 0 : _b.id, labelCol: 10, wrapperCol: 14, title: orgContactTitle, customProperties: orgContactProperties }))));
|
|
26
|
+
});
|
|
27
|
+
function renderProp(item) {
|
|
28
|
+
switch (item.name) {
|
|
29
|
+
case "Status":
|
|
30
|
+
return (officer.status && (React.createElement(Form.Item, { label: "Status" }, officer.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" })))));
|
|
31
|
+
case "Appointment Date":
|
|
32
|
+
return (React.createElement(Form.Item, { label: "Appointment Date" },
|
|
33
|
+
React.createElement(InlineEdit, { defaultValue: dayjs((officer === null || officer === void 0 ? void 0 : officer.appointment) !== "" ? officer === null || officer === void 0 ? void 0 : officer.appointment : undefined), content: (v) => (officer === null || officer === void 0 ? void 0 : officer.appointment) ? (React.createElement("span", null, dayjs(officer === null || officer === void 0 ? void 0 : officer.appointment).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, allowEdit ? "Add Appointment Date" : "No Appointment Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
|
|
34
|
+
if ((officer === null || officer === void 0 ? void 0 : officer.appointment) && dayjs(date).isSame(officer === null || officer === void 0 ? void 0 : officer.appointment, "day"))
|
|
35
|
+
return;
|
|
36
|
+
edit({
|
|
37
|
+
Appointment: (date !== null ? dayjs(date).format("YYYY-MM-DD") : ""),
|
|
38
|
+
});
|
|
39
|
+
} })));
|
|
40
|
+
case "Cease Date":
|
|
41
|
+
return (React.createElement(Form.Item, { label: "Cease Date" },
|
|
42
|
+
React.createElement(InlineEdit, { defaultValue: dayjs((officer === null || officer === void 0 ? void 0 : officer.cease) !== "" ? officer === null || officer === void 0 ? void 0 : officer.cease : undefined), content: (v) => (officer === null || officer === void 0 ? void 0 : officer.cease) ? (React.createElement("span", null, dayjs(officer === null || officer === void 0 ? void 0 : officer.cease).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, allowEdit ? "Add Cease Date" : "No Cease Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
|
|
43
|
+
if ((officer === null || officer === void 0 ? void 0 : officer.cease) && dayjs(date).isSame(officer === null || officer === void 0 ? void 0 : officer.cease, "day"))
|
|
44
|
+
return;
|
|
45
|
+
edit({ Cease: (date !== null ? dayjs(date).format("YYYY-MM-DD") : "") });
|
|
46
|
+
} })));
|
|
47
|
+
case "Email":
|
|
48
|
+
return (React.createElement(Form.Item, { label: "Email" },
|
|
49
|
+
React.createElement(InlineEdit, { defaultValue: officer.email, content: (v) => officer.email ? (React.createElement("span", null, officer.email)) : (React.createElement("span", { className: "add-info-style" }, "Add Email")), onSave: (value) => store.edit(id, { data: { Email: value }, error: "message" }) })));
|
|
50
|
+
case "Phone":
|
|
51
|
+
return (React.createElement(Form.Item, { label: "Phone" },
|
|
52
|
+
React.createElement(InlineEdit, { defaultValue: officer.phone, content: (v) => officer.phone ? (React.createElement("span", null, officer.phone)) : (React.createElement("span", { className: "add-info-style" }, "Add Phone")), onSave: (value) => store.edit(id, { data: { Phone: value }, error: "message" }) })));
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
async function edit(data) {
|
|
56
|
+
await store.edit(id, { data, error: "message" });
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
OfficerProperties.defaultProps = {
|
|
60
|
+
officerTitle: "Officer Properties",
|
|
61
|
+
orgContactTitle: "Contact Properties",
|
|
62
|
+
officerProperties: [
|
|
63
|
+
{ name: "Status" },
|
|
64
|
+
{ name: "Appointment Date" },
|
|
65
|
+
{ name: "Cease Date" },
|
|
66
|
+
{ name: "Email" },
|
|
67
|
+
{ name: "Phone" },
|
|
68
|
+
],
|
|
69
|
+
};
|
|
70
|
+
export default OfficerProperties;
|
|
71
|
+
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/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AClB,EAAE,IAAI,EAAE,kBAAkB,EAAE;QAC5B,EAAE,IAAI,EAAE,YAAY,EAAE;QACtB,EAAE,IAAI,EAAE,OAAO,EAAE;QACjB,EAAE,IAAI,EAAE,OAAO,EAAE;KACjB;CACD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js
CHANGED
|
@@ -2,17 +2,15 @@ import React, { useMemo } from "react";
|
|
|
2
2
|
import { Skeleton, Tabs } from "antd";
|
|
3
3
|
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
4
4
|
import { useOfficer, useOfficerStore } from "../../../../../../data/officer";
|
|
5
|
+
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
6
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
7
|
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
|
|
6
8
|
import CompanyOfficerMenu from "../../../controls/CompanyRegisterMenu";
|
|
7
|
-
import ContactInformation from "@voplus/morpho-org/es/components/ContactInformation";
|
|
8
9
|
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
|
9
|
-
import
|
|
10
|
-
import OfficerInformation from "../OfficerInformation";
|
|
11
|
-
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
10
|
+
import OfficerProperties from "../OfficerProperties";
|
|
12
11
|
import PositionSelect from "../PositionSelect";
|
|
13
12
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
14
13
|
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
|
|
15
|
-
import { observe } from "@voplus/morpho-ui";
|
|
16
14
|
import styles from "./index.less";
|
|
17
15
|
const OfficerPropertiesView = (props) => {
|
|
18
16
|
const { id, allowEdit, toolbar } = props;
|
|
@@ -20,7 +18,7 @@ const OfficerPropertiesView = (props) => {
|
|
|
20
18
|
const store = useOfficerStore();
|
|
21
19
|
const view = useMemo(() => new ViewContextData("QuickView"), []);
|
|
22
20
|
return observe(() => {
|
|
23
|
-
var _a, _b, _c
|
|
21
|
+
var _a, _b, _c;
|
|
24
22
|
return (React.createElement(ViewContext.Provider, { value: view },
|
|
25
23
|
React.createElement("div", { className: styles["officer-properties-view-content"] },
|
|
26
24
|
officer.loading ? (React.createElement(Skeleton, { avatar: true, paragraph: { rows: 1 } })) : (React.createElement("div", { className: "officer-properties-view-header" },
|
|
@@ -31,21 +29,11 @@ const OfficerPropertiesView = (props) => {
|
|
|
31
29
|
toolbar !== false && (React.createElement(ToolBar, { showMenu: false },
|
|
32
30
|
React.createElement(Open, { url: `/officer/${id}` }),
|
|
33
31
|
React.createElement(CompanyOfficerMenu, { id: id, unitId: officer.contact.id, store: store, closeAside: true }))))),
|
|
34
|
-
React.createElement(Tabs, { defaultActiveKey: "
|
|
35
|
-
{
|
|
36
|
-
key: "Officer",
|
|
37
|
-
label: "Officer Details",
|
|
38
|
-
children: React.createElement(OfficerInformation, { id: id, allowEdit: allowEdit }),
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
key: "Contact",
|
|
42
|
-
label: "Contact Details",
|
|
43
|
-
children: React.createElement(ContactInformation, { id: officer.contact.id, allowEdit: allowEdit }),
|
|
44
|
-
},
|
|
32
|
+
React.createElement(Tabs, { defaultActiveKey: "Details", items: [
|
|
45
33
|
{
|
|
46
|
-
key: "
|
|
47
|
-
label: "
|
|
48
|
-
children:
|
|
34
|
+
key: "Details",
|
|
35
|
+
label: "Details",
|
|
36
|
+
children: React.createElement(OfficerProperties, { id: id, allowEdit: allowEdit }),
|
|
49
37
|
},
|
|
50
38
|
{
|
|
51
39
|
key: "Document",
|
package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,kBAAkB,MAAM,uCAAuC,CAAC;AACvE,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,qBAAqB,GAAG,CAAC,KAA6D,EAAE,EAAE;IAC/F,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAEzC,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAA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
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
1
|
+
:global {
|
|
2
|
+
.filing-record-quick-view {
|
|
3
|
+
position: relative;
|
|
4
|
+
|
|
5
|
+
.ant-modal-body {
|
|
6
|
+
display: flex;
|
|
7
|
+
height: calc(100vh - 200px);
|
|
8
|
+
padding: 0 !important;
|
|
9
|
+
|
|
10
|
+
.filing-record-content {
|
|
11
|
+
width: 33vw;
|
|
12
|
+
|
|
13
|
+
.ant-descriptions {
|
|
14
|
+
margin: 15px 20px;
|
|
15
|
+
|
|
16
|
+
.ant-descriptions-header {
|
|
17
|
+
margin-bottom: 15px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ant-descriptions-item-label,
|
|
21
|
+
.ant-descriptions-item-content {
|
|
22
|
+
line-height: 30px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ant-descriptions-item-label {
|
|
26
|
+
width: 150px;
|
|
27
|
+
font-weight: 500;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.filing-record-aside {
|
|
33
|
+
position: absolute;
|
|
34
|
+
width: 33vw;
|
|
35
|
+
height: 100%;
|
|
36
|
+
right: 0;
|
|
37
|
+
box-shadow: -2px 0 8px -2px rgba(0, 0, 0, 0.15);
|
|
38
|
+
transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1),
|
|
39
|
+
-webkit-transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
40
|
+
|
|
41
|
+
&.aside-none {
|
|
42
|
+
width: 0;
|
|
43
|
+
height: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ant-tabs {
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
height: 100%;
|
|
50
|
+
|
|
51
|
+
.ant-tabs-nav {
|
|
52
|
+
margin-bottom: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ant-tabs-content {
|
|
56
|
+
height: 100%;
|
|
57
|
+
padding-bottom: 0px !important;
|
|
58
|
+
|
|
59
|
+
.ant-tabs-tabpane {
|
|
60
|
+
position: relative;
|
|
61
|
+
height: 100%;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js
CHANGED
|
@@ -37,16 +37,17 @@ const ShareCertificateProperties = (props) => {
|
|
|
37
37
|
React.createElement(CorporateMentionList, { canEdit: false, contacts: shareCertificate.shareholder ? [shareCertificate.shareholder] : [] })));
|
|
38
38
|
case "Number":
|
|
39
39
|
return (React.createElement(Form.Item, { label: "Number" },
|
|
40
|
-
React.createElement(InlineEdit, { defaultValue: shareCertificate.number, content: (v) => shareCertificate.number || shareCertificate.number === 0 ? (React.createElement("span", null, shareCertificate.number)) : (React.createElement("span", { className: "add-info-style" }, "Add Number")), onSave: (value) => store.edit(id, { data: { Number: value }, error: "message" }) })));
|
|
40
|
+
React.createElement(InlineEdit, { defaultValue: shareCertificate.number, editable: shareCertificate.certificateStatus === "Draft", content: (v) => shareCertificate.number || shareCertificate.number === 0 ? (React.createElement("span", null, shareCertificate.number)) : (React.createElement("span", { className: "add-info-style" }, "Add Number")), onSave: (value) => store.edit(id, { data: { Number: value }, error: "message" }) })));
|
|
41
41
|
case "CertificateType":
|
|
42
42
|
return (React.createElement(Form.Item, { label: "Certificate Type" },
|
|
43
|
-
React.createElement(ShareCertificateTypeLabel, { editable:
|
|
43
|
+
React.createElement(ShareCertificateTypeLabel, { editable: shareCertificate.certificateStatus === "Draft", type: shareCertificate.certificateType, onChange: (type) => {
|
|
44
44
|
store.edit(id, { data: { CertificateType: type }, error: "message" });
|
|
45
45
|
} })));
|
|
46
46
|
case "CertificateStatus":
|
|
47
47
|
return (React.createElement(Form.Item, { label: "Certificate Status" },
|
|
48
|
-
React.createElement(ShareCertificateStatusLabel, { editable:
|
|
49
|
-
|
|
48
|
+
React.createElement(ShareCertificateStatusLabel, { editable: shareCertificate.certificateType === "Physical" ||
|
|
49
|
+
shareCertificate.certificateType === "PhysicalThirdParty", status: shareCertificate.certificateStatus, onChange: (status) => {
|
|
50
|
+
store.edit(id, { data: { CertificateStatus: status }, error: "message" });
|
|
50
51
|
} })));
|
|
51
52
|
case "Shares":
|
|
52
53
|
return React.createElement(Form.Item, { label: "Shares" }, shareCertificate.shares);
|
package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,oBAAoB,MAAM,gDAAgD,CAAC;AAClF,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,kBAAkB,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,2BAA2B,MAAM,4CAA4C,CAAC;AACrF,OAAO,yBAAyB,MAAM,0CAA0C,CAAC;AACjF,OAAO,uBAAuB,MAAM,mDAAmD,CAAC;AACxF,OAAO,KAA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MAAM,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GACpF,CACS,CACZ,CAAC;YACH,KAAK,iBAAiB;gBACrB,OAAO,CACN,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,kBAAkB;oBAClC,oBAAC,yBAAyB,IACzB,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,oBAAoB,MAAM,gDAAgD,CAAC;AAClF,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,kBAAkB,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,2BAA2B,MAAM,4CAA4C,CAAC;AACrF,OAAO,yBAAyB,MAAM,0CAA0C,CAAC;AACjF,OAAO,uBAAuB,MAAM,mDAAmD,CAAC;AACxF,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,MAAM,0BAA0B,GAAG,CAAC,KAcnC,EAAE,EAAE;IACJ,MAAM,EACL,EAAE,EACF,aAAa,EACb,qBAAqB,EACrB,a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EAAE;QACvB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,OAAO,EAAE;QACjB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,SAAS,EAAE;KACnB;CACD,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,58 +1,84 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
|
-
import
|
|
3
|
-
import { Badge } from "antd";
|
|
2
|
+
import { Scrollbars } from "react-custom-scrollbars";
|
|
3
|
+
import { Badge, Empty, Spin } from "antd";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { useDocumentListEffect } from "@voplus/morpho-document-core";
|
|
6
|
+
import { useSigneeRefreshContext } from "../../pages/ShareCertificateDefaultView/SigneeRefreshContext";
|
|
7
|
+
import { useShareCertificate } from "../../../../../data/share-certificate";
|
|
4
8
|
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
|
5
9
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
|
6
10
|
import Links from "@voplus/morpho-document/es/components/Links";
|
|
7
|
-
import
|
|
11
|
+
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
|
|
8
12
|
import ShareCertificate from "../ShareCertificate";
|
|
13
|
+
import PDFFileViewer from "@voplus/morpho-document/es/components/FileViewer/PDF";
|
|
9
14
|
import ShareCertificateProperties from "../ShareCertificateProperties";
|
|
10
|
-
import { observe } from "@voplus/morpho-ui";
|
|
11
|
-
import { useDocumentListEffect } from "@voplus/morpho-document-core";
|
|
12
|
-
import { useSigneeRefreshContext } from "../../pages/ShareCertificateDefaultView/SigneeRefreshContext";
|
|
13
15
|
const ShareCertificateTabs = (props) => {
|
|
14
16
|
const { id, properties, details } = props;
|
|
15
17
|
const [docTotals, setDocTotals] = useState(0);
|
|
16
18
|
const signeeRefresh = useSigneeRefreshContext();
|
|
19
|
+
const shareCertificate = useShareCertificate(id, { reload: true, includes: "certificate" });
|
|
17
20
|
useDocumentListEffect(null, (result, total) => setDocTotals(total || 0), {
|
|
18
21
|
Total: true,
|
|
19
22
|
List: false,
|
|
20
23
|
Filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: id }],
|
|
21
24
|
});
|
|
22
|
-
|
|
23
|
-
{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
25
|
+
return observe(() => {
|
|
26
|
+
const renderTemplate = () => {
|
|
27
|
+
var _a, _b, _c, _d;
|
|
28
|
+
if (shareCertificate.certificateType === "Physical") {
|
|
29
|
+
if ((_a = shareCertificate.certificate) === null || _a === void 0 ? void 0 : _a.id) {
|
|
30
|
+
return React.createElement(PDFFileViewer, { id: (_b = shareCertificate.certificate) === null || _b === void 0 ? void 0 : _b.id });
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
return React.createElement(ShareCertificate, { id: id });
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
else if (shareCertificate.certificateType === "PhysicalThirdParty") {
|
|
37
|
+
if ((_c = shareCertificate.certificate) === null || _c === void 0 ? void 0 : _c.id) {
|
|
38
|
+
return React.createElement(PDFFileViewer, { id: (_d = shareCertificate.certificate) === null || _d === void 0 ? void 0 : _d.id });
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
return React.createElement(Empty, null);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
return React.createElement(ShareCertificate, { id: id });
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const items = [
|
|
49
|
+
{
|
|
50
|
+
key: "Document",
|
|
51
|
+
label: (React.createElement(React.Fragment, null,
|
|
52
|
+
"Document",
|
|
53
|
+
React.createElement(Badge, { count: docTotals, className: "margin-left-10" }))),
|
|
54
|
+
children: React.createElement(DocumentList, { id: id, multiple: true, viewTitle: " ", total: false }),
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
key: "Activities",
|
|
58
|
+
label: "Activities",
|
|
59
|
+
children: React.createElement(ActivityLog, { id: id, title: " " }),
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
key: "Links",
|
|
63
|
+
label: "Links",
|
|
64
|
+
children: React.createElement(Links, { id: id, isTitle: false }),
|
|
65
|
+
},
|
|
66
|
+
];
|
|
67
|
+
properties &&
|
|
68
|
+
items.unshift({
|
|
69
|
+
key: "Properties",
|
|
70
|
+
label: "Properties",
|
|
71
|
+
children: React.createElement(ShareCertificateProperties, { id: id }),
|
|
72
|
+
});
|
|
73
|
+
details &&
|
|
74
|
+
signeeRefresh.refresh &&
|
|
75
|
+
items.unshift({
|
|
76
|
+
key: "Details",
|
|
77
|
+
label: "Details",
|
|
78
|
+
children: React.createElement(Scrollbars, { autoHide: true }, renderTemplate()),
|
|
79
|
+
});
|
|
80
|
+
return shareCertificate.loaded ? (React.createElement(DocumentTabs, { id: id, active: details ? "Details" : properties ? "Properties" : "", tabItems: items })) : (React.createElement(Spin, null));
|
|
81
|
+
});
|
|
56
82
|
};
|
|
57
83
|
export default ShareCertificateTabs;
|
|
58
84
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","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AAK,GAAI;aACzE;YACD;gBACC,GAAG,EAAE,YAAY;gBACjB,KAAK,EAAE,YAAY;gBACnB,QAAQ,EAAE,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAC,GAAG,GAAG;aAC3C;YACD;gBACC,GAAG,EAAE,OAAO;gBACZ,KAAK,EAAE,OAAO;gBACd,QAAQ,EAAE,oBAAC,KAAK,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,GAAI;aAC3C;SACD,CAAC;QAEF,UAAU;YACT,KAAK,CAAC,OAAO,CAAC;gBACb,GAAG,EAAE,YAAY;gBACjB,KAAK,EAAE,YAAY;gBACnB,QAAQ,EAAE,oBAAC,0BAA0B,IAAC,EAAE,EAAE,EAAE,GAAI;aAChD,CAAC,CAAC;QAEJ,OAAO;YACN,aAAa,CAAC,OAAO;YACrB,KAAK,CAAC,OAAO,CAAC;gBACb,GAAG,EAAE,SAAS;gBACd,KAAK,EAAE,SAAS;gBAChB,QAAQ,EAAE,oBAAC,UAAU,IAAC,QAAQ,UAAE,cAAc,EAAE,CAAc;aAC9D,CAAC,CAAC;QAEJ,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,CAChC,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAC5D,QAAQ,EAAE,KAAK,GACd,CACF,CAAC,CAAC,CAAC,CACH,oBAAC,IAAI,OAAG,CACR,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button, Dropdown } from "antd";
|
|
2
|
-
import { Cancel, DeleteSignee1, DeleteSignee2, Issue, RefreshDetails, SendToShareholder, SendToSignee, UndoCancel, } from "./items";
|
|
2
|
+
import { Cancel, DeleteSignee1, DeleteSignee2, Issue, RefreshDetails, SendToShareholder, SendToSignee, UndoCancel, Download, } from "./items";
|
|
3
3
|
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
|
4
4
|
import React, { useMemo } from "react";
|
|
5
5
|
import DocumentMenu from "@voplus/morpho-document/es/controls/DocumentMenu";
|
|
@@ -21,6 +21,7 @@ const ShareCertificateMenu = (props) => {
|
|
|
21
21
|
React.createElement(Cancel, null),
|
|
22
22
|
React.createElement(UndoCancel, null),
|
|
23
23
|
React.createElement(RefreshDetails, null),
|
|
24
|
+
React.createElement(Download, null),
|
|
24
25
|
React.createElement(Dropdown, { disabled: shareCertificate.certificateStatus !== "Signing", dropdownRender: () => (React.createElement("div", { className: styles["sub-document-menu"], style: { left: props.subMenuLocation === "left" ? "-184px" : "204px" } },
|
|
25
26
|
React.createElement(DeleteSignee1, null),
|
|
26
27
|
React.createElement(DeleteSignee2, null))) },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EACN,MAAM,EACN,aAAa,EACb,aAAa,EACb,KAAK,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,UAAU,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EACN,MAAM,EACN,aAAa,EACb,aAAa,EACb,KAAK,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,QAAQ,GACR,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,mBAAmB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AC,CACrB,6BACC,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC,EACtC,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,eAAe,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE;oBAEtE,oBAAC,aAAa,OAAG;oBACjB,oBAAC,aAAa,OAAG,CACZ,CACN;gBAED,oBAAC,MAAM,IAAC,IAAI,EAAC,MAAM;oBAClB,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI;oBAC7B,qDAA6B,CACrB,CACC,CACmB,CAC1B,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,oBAAoB,CAAC,YAAY,GAAG;IACnC,eAAe,EAAE,OAAO;CACxB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Download.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Button } from "antd";
|
|
3
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
4
|
+
import { faDownload } from "@fortawesome/pro-light-svg-icons";
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
|
+
import { useDocumentMenuContext } from "@voplus/morpho-document-core";
|
|
7
|
+
import { useShareCertificate } from "../../../../../../data/share-certificate";
|
|
8
|
+
import { useApplicationContext } from "@voplus/morpho-data";
|
|
9
|
+
const Download = (props) => {
|
|
10
|
+
const { disabled, action } = props;
|
|
11
|
+
const { user } = useApplicationContext();
|
|
12
|
+
const context = useDocumentMenuContext();
|
|
13
|
+
const shareCertificate = useShareCertificate(context.id);
|
|
14
|
+
return observe(() => shareCertificate.certificateType === "Physical" ? (React.createElement(Button, { type: "link", disabled: disabled, onClick: () => window.location.assign(window.location.origin +
|
|
15
|
+
`/api/csp/shares/certificates/${context.id}/pdf?access_token=${encodeURIComponent(user.info.accessToken)}`) },
|
|
16
|
+
React.createElement(FAIcon, { icon: faDownload }),
|
|
17
|
+
React.createElement("span", null, "Download"))) : null);
|
|
18
|
+
};
|
|
19
|
+
export default Download;
|
|
20
|
+
//# sourceMappingURL=Download.js.map
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Download.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Download.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Download.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,QAAQ,GAAG,CAAC,KAKjB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACnC,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IACzC,MAAM,OAAO,GAAG,sBAAsB,EAAE,CAAC;IAEzC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAEzD,OAAO,OAAO,CAAC,GAAG,EAAE,CACnB,gBAAgB,CAAC,eAAe,KAAK,UAAU,CAAC,CAAC,CAAC,CACjD,oBAAC,MAAM,IACN,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE,CACb,MAAM,CAAC,QAAQ,CAAC,MAAM,CACrB,MAAM,CAAC,QAAQ,CAAC,MAAM;YACrB,gCAAgC,OAAO,CAAC,EAAE,qBAAqB,kBAAkB,CAChF,IAAI,CAAC,IAAI,CAAC,WAAW,CACrB,EAAE,CACJ;QAGF,oBAAC,MAAM,IAAC,IAAI,EAAE,UAAU,GAAI;QAC5B,6CAAqB,CACb,CACT,CAAC,CAAC,CAAC,IAAI,CACR,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { default as SendToSignee } from "./SendToSignee";
|
|
|
2
2
|
export { default as SendToShareholder } from "./SendToShareholder";
|
|
3
3
|
export { default as Issue } from "./Issue";
|
|
4
4
|
export { default as Cancel } from "./Cancel";
|
|
5
|
+
export { default as Download } from "./Download";
|
|
5
6
|
export { default as UndoCancel } from "./UndoCancel";
|
|
6
7
|
export { default as DeleteSignee1 } from "./DeleteSignee1";
|
|
7
8
|
export { default as DeleteSignee2 } from "./DeleteSignee2";
|
|
@@ -2,6 +2,7 @@ export { default as SendToSignee } from "./SendToSignee";
|
|
|
2
2
|
export { default as SendToShareholder } from "./SendToShareholder";
|
|
3
3
|
export { default as Issue } from "./Issue";
|
|
4
4
|
export { default as Cancel } from "./Cancel";
|
|
5
|
+
export { default as Download } from "./Download";
|
|
5
6
|
export { default as UndoCancel } from "./UndoCancel";
|
|
6
7
|
export { default as DeleteSignee1 } from "./DeleteSignee1";
|
|
7
8
|
export { default as DeleteSignee2 } from "./DeleteSignee2";
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -25,7 +25,8 @@ export class State {
|
|
|
25
25
|
get menus() {
|
|
26
26
|
return [
|
|
27
27
|
{ name: "Digital", value: "Digital", counts: "n", color: "#1890ff" },
|
|
28
|
-
{ name: "
|
|
28
|
+
{ name: "Physical", value: "Physical", counts: "n", color: "#13c2c2" },
|
|
29
|
+
{ name: "PhysicalThirdParty", value: "PhysicalThirdParty", counts: "n", color: "#722ed1" },
|
|
29
30
|
];
|
|
30
31
|
}
|
|
31
32
|
get filters() {
|