@voplus/morpho-csp 11.2.6 → 11.2.8
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/self-registration/clda-form/components/BVICompanyInfo/index.css +3 -3
- package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js +32 -34
- package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.css +298 -61
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.d.ts +8 -2
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js +84 -89
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ChiefExecutiveOfficerList/index.js +8 -3
- package/es/modules/self-registration/clda-form/components/ChiefExecutiveOfficerList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.css +190 -11
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +29 -27
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ContactFields/index.d.ts +107 -0
- package/es/modules/self-registration/clda-form/components/ContactFields/index.js +80 -0
- package/es/modules/self-registration/clda-form/components/ContactFields/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/index.js +14 -4
- package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/InternalUse/index.js +7 -9
- package/es/modules/self-registration/clda-form/components/InternalUse/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.d.ts +13 -5
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.js +10 -147
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/OfficerList/index.d.ts +3 -0
- package/es/modules/self-registration/clda-form/components/OfficerList/index.js +38 -18
- package/es/modules/self-registration/clda-form/components/OfficerList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/SecretaryList/index.js +5 -2
- package/es/modules/self-registration/clda-form/components/SecretaryList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.css +123 -9
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +70 -72
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ShareholderList/index.d.ts +3 -0
- package/es/modules/self-registration/clda-form/components/ShareholderList/index.js +43 -28
- package/es/modules/self-registration/clda-form/components/ShareholderList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/agm/index.css +26 -39
- package/es/modules/self-registration/clda-form/incorporation/agm/index.js +7 -7
- package/es/modules/self-registration/clda-form/incorporation/agm/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js +31 -44
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.css +3 -165
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.css +0 -41
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.js +3 -3
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js +8 -8
- package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.css +2 -37
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js +3 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.css +0 -31
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.js +5 -7
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.css +1 -28
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.js +4 -4
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.css +5 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeAddress/index.js +19 -21
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeAddress/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeIndexAddress/index.js +19 -21
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeIndexAddress/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.css +1 -28
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.js +4 -4
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.css +1 -24
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js +3 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.css +1 -28
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.js +4 -4
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.d.ts +0 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.js +0 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.css +2 -37
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js +3 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/index.css +36 -165
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.css +32 -66
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.d.ts +11 -0
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js +44 -92
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.css +31 -40
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.js +8 -13
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.js.map +1 -1
- package/es/modules/self-registration/controls/BusinessNameInput/index.js +41 -7
- package/es/modules/self-registration/controls/BusinessNameInput/index.js.map +1 -1
- package/es/modules/self-registration/controls/Section/index.css +26 -4
- package/es/modules/self-registration/controls/Tips/Tip.css +24 -0
- package/es/modules/self-registration/controls/Tips/Tip.d.ts +12 -0
- package/es/modules/self-registration/controls/Tips/Tip.js +14 -2
- package/es/modules/self-registration/controls/Tips/Tip.js.map +1 -1
- package/es/style/clda-form-theme.css +1068 -0
- package/es/style/common.css +2 -53
- package/package.json +1 -1
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.css +0 -181
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.css +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
|
-
import { Button, Divider,
|
|
2
|
+
import { Button, Divider, Select, InputNumber } from "antd";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
4
|
import { faTrashAltRegular, faPenToSquareRegular, FontAwesomeIcon, } from "@voplus/morpho-ui/es/faIcons";
|
|
5
5
|
import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
|
|
@@ -25,10 +25,10 @@ const RedonminationColumnItem = (props) => {
|
|
|
25
25
|
React.createElement(ColumnItemCol, { span: 6, label: "New Currency" }, editable ? (React.createElement(CurrencySelect, { placeholder: "Select New Currency", currency: redonmination.newCurrency, onChange: (value) => { redonmination.newCurrency = value ?? ""; } })) : (React.createElement("span", null, redonmination.newCurrency))),
|
|
26
26
|
React.createElement(ColumnItemCol, { span: 6, label: "Existing Currency" }, editable ? (React.createElement(CurrencySelect, { placeholder: "Select Existing Currency", currency: redonmination.existingCurrency, onChange: (value) => { redonmination.existingCurrency = value ?? ""; } })) : (React.createElement("span", null, redonmination.existingCurrency))),
|
|
27
27
|
React.createElement(ColumnItemCol, { span: 6, label: "Spot Rate" }, editable ? (React.createElement(InputNumber, { placeholder: "please input Spot Rate", value: redonmination.spotRate, style: { width: "100%" }, onChange: (value) => { redonmination.spotRate = value ?? 0; } })) : (React.createElement("span", null, redonmination.spotRate))))),
|
|
28
|
-
editable && (React.createElement(
|
|
28
|
+
editable && (React.createElement("div", { className: "edit-bar" },
|
|
29
29
|
React.createElement(Button, { onClick: () => setEditable(false) }, "Cancel"),
|
|
30
|
-
React.createElement(Button, { type: "primary",
|
|
31
|
-
props.redonminationLength > 1 && React.createElement(Divider,
|
|
30
|
+
React.createElement(Button, { type: "primary", onClick: onSave }, "Save"))),
|
|
31
|
+
props.redonminationLength > 1 && React.createElement(Divider, { className: "halvingline" })));
|
|
32
32
|
});
|
|
33
33
|
async function onSave() {
|
|
34
34
|
setEditable(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EACN,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,GACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,aAAa,CAAC;AAErB,MAAM,uBAAuB,GAAG,CAAC,KAMhC,EAAE,EAAE;IACJ,MAAM,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAChC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,OAAO,OAAO,CAAC,GAAG,EAAE;QACnB,OAAO,CACN,6BAAK,SAAS,EAAE,2BAA2B;YAC1C,6BAAK,SAAS,EAAC,kCAAkC;gBAChD,6BAAK,SAAS,EAAC,eAAe;oBAC7B,8BAAM,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC;wBAChE,oBAAC,eAAe,IAAC,IAAI,EAAE,oBAAoB,GAAI,CACzC;oBAEP,8BAAM,SAAS,EAAC,aAAa,EAAC,OAAO,EAAE,KAAK,CAAC,aAAa;wBACzD,oBAAC,eAAe,IAAC,IAAI,EAAE,iBAAiB,GAAI,CACtC,CACF,CACD;YACN,6BAAK,SAAS,EAA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AAC,gBAAgB,GAAG,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC,GAC7E,CACF,CAAC,CAAC,CAAC,CACH,kCAAO,aAAa,CAAC,gBAAgB,CAAQ,CAC7C,CACc;oBAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,WAAW,IACvC,QAAQ,CAAC,CAAC,CAAC,CACX,oBAAC,WAAW,IACX,WAAW,EAAC,wBAAwB,EACpC,KAAK,EAAE,aAAa,CAAC,QAAQ,EAC7B,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EACxB,QAAQ,EAAE,CAAC,KAAoB,EAAE,EAAE,GAAG,aAAa,CAAC,QAAQ,GAAG,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,GAC3E,CACF,CAAC,CAAC,CAAC,CACH,kCAAO,aAAa,CAAC,QAAQ,CAAQ,CACrC,CACc,CACJ,CACR;YACL,QAAQ,IAAI,CACZ,6BAAK,SAAS,EAAC,UAAU;gBACxB,oBAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,aAAiB;gBAC1D,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,MAAM,WAE7B,CACJ,CACN;YACA,KAAK,CAAC,mBAAoB,GAAG,CAAC,IAAI,oBAAC,OAAO,IAAC,SAAS,EAAC,aAAa,GAAG,CACjE,CACN,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM;QACpB,WAAW,CAAC,KAAK,CAAC,CAAC;QAEnB,KAAK,CAAC,MAAM,EAAE,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -6,7 +6,6 @@ import { useCompanyGeneralContext } from "../../CompanyGeneralContext";
|
|
|
6
6
|
import { cloneDeep } from "lodash-es";
|
|
7
7
|
import { useCLDAForm, useCLDAFormStore } from "../../../../../../../data/clda-form";
|
|
8
8
|
import RedonminationItem from "../RedonminationItem";
|
|
9
|
-
import "./index.css";
|
|
10
9
|
const RedonminationColumnList = (props) => {
|
|
11
10
|
const store = useCLDAFormStore();
|
|
12
11
|
const incorporation = useCLDAForm(props.id, { reload: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAkB,MAAM,qCAAqC,CAAC;AACpG,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAkB,MAAM,qCAAqC,CAAC;AACpG,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AA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|
6
|
-
|
|
7
|
-
.action-button {
|
|
8
|
-
font-size: 14px;
|
|
9
|
-
|
|
10
|
-
> span {
|
|
11
|
-
margin-left: 6px;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.delete-icon {
|
|
16
|
-
&:hover {
|
|
17
|
-
color: var(--delete-color);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.edit-icon {
|
|
22
|
-
&:hover {
|
|
23
|
-
color: var(--primary-color);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.company-general-transfer-title {
|
|
30
|
-
color: rgba(0, 0, 0, 0.85);
|
|
31
|
-
font-weight: bold;
|
|
32
|
-
font-size: 16px;
|
|
33
|
-
}
|
|
2
|
+
/* header 布局与标题样式由 theme 共享规则提供 */
|
|
34
3
|
|
|
35
4
|
.company-general-transferor-content {
|
|
36
|
-
margin-bottom:
|
|
5
|
+
margin-bottom: 0;
|
|
37
6
|
|
|
38
7
|
.transfer-column-item {
|
|
39
8
|
border-bottom: none;
|
|
@@ -60,10 +29,6 @@
|
|
|
60
29
|
color: #00000040;
|
|
61
30
|
}
|
|
62
31
|
|
|
63
|
-
.halvingline {
|
|
64
|
-
margin-bottom: 40px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
32
|
.ant-alert-warning {
|
|
68
33
|
margin-top: 10px;
|
|
69
34
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
|
-
import { Button, Divider,
|
|
2
|
+
import { Button, Divider, Select, InputNumber } from "antd";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
4
|
import { faTrashAltRegular, faPenToSquareRegular, FontAwesomeIcon, } from "@voplus/morpho-ui/es/faIcons";
|
|
5
5
|
import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
|
|
@@ -46,12 +46,12 @@ const TransferItem = (props) => {
|
|
|
46
46
|
}) })) : (React.createElement("span", { className: "company-general-transferee-name" },
|
|
47
47
|
React.createElement(UnitNameNoteAlert, { id: contact.id, name: contact.name ?? "" })))),
|
|
48
48
|
contact?.idType === "NewId" && (React.createElement(FormContactEditor, { header: false, editable: editable, contact: contact, isOnlyInternalUse: companyGeneralContext.isOnlyInternalUse, onChange: (c) => { contactDate = c; } })),
|
|
49
|
-
editable && (React.createElement(
|
|
49
|
+
editable && (React.createElement("div", { className: "edit-bar" },
|
|
50
50
|
React.createElement(Button, { onClick: () => {
|
|
51
51
|
setEditable(false);
|
|
52
52
|
onReload();
|
|
53
53
|
} }, "Cancel"),
|
|
54
|
-
React.createElement(Button, { type: "primary",
|
|
54
|
+
React.createElement(Button, { type: "primary", onClick: onSave }, "Save"))),
|
|
55
55
|
props.transferLength > 1 && React.createElement(Divider, { className: "halvingline" }))));
|
|
56
56
|
});
|
|
57
57
|
function onReload() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,GACf,MAAM,8BAA8B,CAAC;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AI,CACZ,6BAAK,SAAS,EAAC,UAAU;oBACxB,oBAAC,MAAM,IACN,OAAO,EAAE,GAAG,EAAE;4BACb,WAAW,CAAC,KAAK,CAAC,CAAC;4BACnB,QAAQ,EAAE,CAAC;wBACZ,CAAC,aAGO;oBACT,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,MAAM,WAE7B,CACJ,CACN;gBACA,KAAK,CAAC,cAAe,GAAG,CAAC,IAAI,oBAAC,OAAO,IAAC,SAAS,EAAC,aAAa,GAAG,CAC5D,CACU,CACjB,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,QAAQ;QAChB,qBAAqB,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC/C,UAAU,CAAC,GAAG,EAAE;YACf,qBAAqB,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAC/C,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,KAAK,UAAU,MAAM;QACpB,WAAW,CAAC,KAAK,CAAC,CAAC;QAEnB,KAAK,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;IACvC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
@import "../../../../../style/common.css";
|
|
2
2
|
|
|
3
3
|
.company-general-from-review {
|
|
4
|
-
|
|
5
|
-
padding: 20px !important;
|
|
6
|
-
margin: 0 auto;
|
|
4
|
+
padding: 20px;
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
/* Document Details:行内编辑行本身已自带纵向节奏,去掉 antd 默认下边距 */
|
|
7
|
+
.cg-document-details {
|
|
8
|
+
.ant-form-item {
|
|
9
|
+
margin-bottom: 0;
|
|
10
|
+
}
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
.company-general-issue-shares {
|
|
15
14
|
.issue-shares-title {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
font-
|
|
15
|
+
font-size: 12.5px;
|
|
16
|
+
line-height: 18px;
|
|
17
|
+
font-weight: 700;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
|
|
@@ -24,165 +23,37 @@
|
|
|
24
23
|
align-items: center;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
|
-
.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
|
|
43
|
-
.new-officer-title-info {
|
|
44
|
-
flex: 1;
|
|
45
|
-
|
|
46
|
-
.ant-input-affix-wrapper {
|
|
47
|
-
border-radius: var(--border-radius);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.new-officer-name {
|
|
52
|
-
color: rgba(0, 0, 0, 0.85);
|
|
53
|
-
font-weight: bold;
|
|
54
|
-
font-size: 16px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.action-button {
|
|
58
|
-
font-size: 14px;
|
|
59
|
-
|
|
60
|
-
> span {
|
|
61
|
-
margin-left: 6px;
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.delete-icon {
|
|
66
|
-
&:hover {
|
|
67
|
-
color: var(--delete-color);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.edit-icon {
|
|
72
|
-
&:hover {
|
|
73
|
-
color: var(--primary-color);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.new-officer-position {
|
|
80
|
-
padding-top: 25px;
|
|
81
|
-
padding-right: 3em;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.basic-info {
|
|
85
|
-
display: flex;
|
|
86
|
-
line-height: 0;
|
|
87
|
-
margin-top: 10px;
|
|
88
|
-
|
|
89
|
-
.shares-input {
|
|
90
|
-
flex: 1;
|
|
91
|
-
display: flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
margin-right: 3em;
|
|
94
|
-
|
|
95
|
-
.ant-input-number {
|
|
96
|
-
width: 100%;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.ant-input-number-disabled {
|
|
100
|
-
color: rgba(0, 0, 0, 0.85);
|
|
101
|
-
background-color: transparent;
|
|
102
|
-
cursor: auto;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.ant-input-number-prefix {
|
|
106
|
-
color: #000;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.ant-input-number-affix-wrapper {
|
|
110
|
-
width: 100%;
|
|
111
|
-
border-radius: var(--border-radius);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.ant-input-number-affix-wrapper-disabled {
|
|
115
|
-
padding: 0;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.ant-input-affix-wrapper {
|
|
120
|
-
flex: 1;
|
|
121
|
-
border-radius: var(--border-radius);
|
|
122
|
-
margin-right: 3em;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.ant-input-affix-wrapper-disabled {
|
|
126
|
-
color: rgba(0, 0, 0, 0.85);
|
|
127
|
-
cursor: auto;
|
|
128
|
-
padding: 4px 0 !important;
|
|
129
|
-
|
|
130
|
-
.ant-input[disabled] {
|
|
131
|
-
color: rgba(0, 0, 0, 0.85);
|
|
132
|
-
cursor: auto;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.basic-val {
|
|
137
|
-
font-size: 14px;
|
|
138
|
-
font-weight: 400;
|
|
139
|
-
color: rgba(0, 0, 0, 0.45);
|
|
140
|
-
margin-right: 15px;
|
|
141
|
-
|
|
142
|
-
.svg-inline--fa {
|
|
143
|
-
margin-right: 5px;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.new-officer-info-content {
|
|
149
|
-
display: flex;
|
|
150
|
-
flex-direction: column;
|
|
151
|
-
|
|
152
|
-
> div:nth-child(2) {
|
|
153
|
-
margin-bottom: 10px;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.new-officer-info-item {
|
|
157
|
-
flex: 1;
|
|
158
|
-
position: relative;
|
|
159
|
-
padding-right: 3em;
|
|
26
|
+
.company-general-officer-header {
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: 10px;
|
|
30
|
+
|
|
31
|
+
.officer-name {
|
|
32
|
+
flex: 1;
|
|
33
|
+
min-width: 0;
|
|
34
|
+
color: #1f2330;
|
|
35
|
+
font-size: 15px;
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
letter-spacing: -0.005em;
|
|
38
|
+
}
|
|
160
39
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
right: 30px;
|
|
164
|
-
top: 0;
|
|
165
|
-
}
|
|
40
|
+
/* 图标尺寸/配色统一由 theme 的 .action-button 共享类提供 */
|
|
41
|
+
}
|
|
166
42
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
font-size: 16px;
|
|
170
|
-
font-weight: bold;
|
|
43
|
+
.new-officer-position {
|
|
44
|
+
margin-top: 12px;
|
|
171
45
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
46
|
+
.ant-form-item {
|
|
47
|
+
margin-bottom: 10px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
176
50
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
51
|
+
/* 行分隔线取代 Divider */
|
|
52
|
+
.halvingline {
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
180
55
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
56
|
+
.issue-shares-title {
|
|
57
|
+
color: #3d4352;
|
|
187
58
|
}
|
|
188
59
|
}
|
package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.css
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 联系人编辑器(Company General 明细行共用):版式与 SGP 的人员行(CLDAContactList)一致。
|
|
3
|
+
*
|
|
4
|
+
* - 姓名行右侧放动作图标(与人员行同一套 .action-button 共享类);
|
|
5
|
+
* - Basic / Address / Identify Info / Internal Use Only 四个分组直接复用 ContactFields,
|
|
6
|
+
* 分组标题、字段标签、只读内联值、编辑态网格与 32px 控件全部由 theme 共享层提供;
|
|
7
|
+
* - 这里只保留「编辑器」自身的排版:姓名行、分组纵向间距、窄容器堆叠。
|
|
8
|
+
*/
|
|
1
9
|
.form-contact-editor {
|
|
2
10
|
.form-contact-editor-header {
|
|
3
11
|
display: flex;
|
|
4
12
|
align-items: center;
|
|
13
|
+
gap: 10px;
|
|
5
14
|
|
|
6
15
|
.form-contact-editor-header-name {
|
|
7
16
|
flex: 1;
|
|
8
|
-
|
|
17
|
+
min-width: 0;
|
|
9
18
|
|
|
10
19
|
.ant-input-affix-wrapper {
|
|
11
20
|
border-radius: var(--border-radius);
|
|
@@ -13,82 +22,39 @@
|
|
|
13
22
|
}
|
|
14
23
|
|
|
15
24
|
.contact-name {
|
|
16
|
-
color:
|
|
17
|
-
font-weight:
|
|
18
|
-
font-size:
|
|
25
|
+
color: #1f2330;
|
|
26
|
+
font-weight: 700;
|
|
27
|
+
font-size: 15px;
|
|
28
|
+
letter-spacing: -0.005em;
|
|
19
29
|
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.form-contact-editor-basic {
|
|
23
|
-
display: flex;
|
|
24
|
-
line-height: 0;
|
|
25
|
-
margin-top: 10px;
|
|
26
|
-
|
|
27
|
-
.ant-input-affix-wrapper {
|
|
28
|
-
flex: 1;
|
|
29
|
-
border-radius: var(--border-radius);
|
|
30
|
-
margin-right: 3em;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.ant-input-affix-wrapper-disabled {
|
|
34
|
-
color: rgba(0, 0, 0, 0.85);
|
|
35
|
-
cursor: auto;
|
|
36
|
-
padding: 4px 0;
|
|
37
|
-
|
|
38
|
-
.ant-input[disabled] {
|
|
39
|
-
color: rgba(0, 0, 0, 0.85);
|
|
40
|
-
cursor: auto;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.basic-val {
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
font-weight: 400;
|
|
47
|
-
color: rgba(0, 0, 0, 0.45);
|
|
48
|
-
margin-right: 15px;
|
|
49
30
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
31
|
+
.action-button {
|
|
32
|
+
margin-left: auto;
|
|
53
33
|
}
|
|
54
34
|
}
|
|
55
35
|
|
|
36
|
+
/* 四个分组纵向排列,宽度占满 */
|
|
56
37
|
.form-contact-editor-content {
|
|
57
38
|
display: flex;
|
|
58
39
|
flex-direction: column;
|
|
40
|
+
gap: 12px;
|
|
41
|
+
margin-top: 10px;
|
|
59
42
|
|
|
60
|
-
>
|
|
61
|
-
|
|
43
|
+
> .blk,
|
|
44
|
+
> .grp {
|
|
45
|
+
width: 100%;
|
|
46
|
+
padding: 0;
|
|
62
47
|
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
63
50
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
.buttons {
|
|
72
|
-
position: absolute;
|
|
73
|
-
right: 30px;
|
|
74
|
-
top: 0;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.contact-identity-info-title,
|
|
78
|
-
.contact-address-title,
|
|
79
|
-
.contact-only-internal-use-title {
|
|
80
|
-
padding-bottom: 16px;
|
|
81
|
-
font-size: 16px;
|
|
82
|
-
font-weight: bold;
|
|
83
|
-
|
|
84
|
-
svg {
|
|
85
|
-
margin-right: 5px;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.morpho-inline-edit {
|
|
90
|
-
width: 80%;
|
|
91
|
-
}
|
|
51
|
+
/* 窄容器:编辑态字段网格退化为单列(与人员行一致) */
|
|
52
|
+
@container cldasection (max-width: 420px) {
|
|
53
|
+
.form-contact-editor {
|
|
54
|
+
.blk .fgrid.c2,
|
|
55
|
+
.blk .fgrid.c3,
|
|
56
|
+
.blk .internal-form {
|
|
57
|
+
grid-template-columns: minmax(0, 1fr);
|
|
92
58
|
}
|
|
93
59
|
}
|
|
94
60
|
}
|
package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.d.ts
CHANGED
|
@@ -12,6 +12,17 @@ export type FormContactEditorProps = {
|
|
|
12
12
|
isOnlyInternalUse?: boolean;
|
|
13
13
|
/** 保存返回修改的值 */
|
|
14
14
|
onChange?: (contact: IFormPeopleOptions) => void;
|
|
15
|
+
/** 头部右侧的动作图标(编辑 / 删除),渲染哪些、点击做什么由调用方决定 */
|
|
16
|
+
actionButton?: React.ReactNode;
|
|
15
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* 联系人编辑器:Company General 的 Bank Opening / New Officer / Remove Officer /
|
|
20
|
+
* Transfer / Issue Shares 等明细行共用。
|
|
21
|
+
*
|
|
22
|
+
* 版式与 SGP 的人员行(CLDAContactList)保持一致:姓名行右侧放动作图标,
|
|
23
|
+
* 下方依次为 Basic / Address / Identity / Internal Use Only 分组(分组标题在值上方),
|
|
24
|
+
* 只读态为内联字段(空值渲染 —),编辑态为统一字段网格与 32px 控件。
|
|
25
|
+
* 仅样式差异,字段写入与 onChange 回调未变。
|
|
26
|
+
*/
|
|
16
27
|
declare const FormContactEditor: ({ editable, header, ...props }: FormContactEditorProps) => React.JSX.Element;
|
|
17
28
|
export default FormContactEditor;
|