@voplus/morpho-csp 6.0.100 → 6.0.102
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/CorporateMentionList/index.d.ts +8 -8
- package/es/components/CorporateNavMenu/NavMenuItem.d.ts +2 -2
- package/es/components/CurrencyView/index.d.ts +7 -7
- package/es/components/DragTableRow/FormRowContext.d.ts +0 -1
- package/es/components/LegalContactSelect/index.d.ts +1 -1
- package/es/components/NewTypeDropdown/index.d.ts +2 -2
- package/es/components/RegisteresMenuItem/index.d.ts +3 -3
- package/es/data/agm-clda/metas.d.ts +0 -1
- package/es/data/clda-form/CLDAFormContent.d.ts +1 -1
- package/es/data/clda-form/metas.d.ts +0 -1
- package/es/data/company-general/metas.d.ts +0 -1
- package/es/data/incorporation-clda/metas.d.ts +0 -1
- package/es/data/relationship/CorporateRelationshipContext.d.ts +0 -1
- package/es/data/share-certificate/metas.d.ts +0 -1
- package/es/data/share-transaction/metas.d.ts +0 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchList/index.d.ts +4 -4
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchSearchDialog/index.d.ts +2 -2
- package/es/modules/corporate/background-investigation/risk-match/controls/RiskMatchDataBar/index.d.ts +2 -2
- package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.d.ts +4 -4
- package/es/modules/corporate/background-investigation/risk-profile/components/RelatedProfileList/index.d.ts +3 -3
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileList/index.d.ts +4 -4
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileDataBar/index.d.ts +2 -2
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.d.ts +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/ImportRelative.d.ts +2 -2
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/Search.d.ts +2 -2
- package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/RiskProfileContext.d.ts +0 -1
- package/es/modules/corporate/clda/components/AddProfileDialog/index.d.ts +2 -2
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js +9 -7
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/clda/controls/CLDADataBar/index.d.ts +3 -3
- package/es/modules/corporate/clda/controls/CLDAMenu/items/DownloadLegal.d.ts +2 -2
- package/es/modules/corporate/clda/controls/CLDAMenu/items/GenerateLegalEnvelope.d.ts +2 -2
- package/es/modules/corporate/clda/controls/CLDAMenu/items/LegalDocuments.d.ts +2 -2
- package/es/modules/corporate/clda/controls/CLDAMenu/items/SendCLDA.d.ts +2 -2
- package/es/modules/corporate/clda/controls/CLDAStatusButton/index.d.ts +2 -2
- package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.d.ts +2 -2
- package/es/modules/corporate/clda/controls/ModeIcon/index.d.ts +6 -6
- package/es/modules/corporate/clda/pages/CLDAClientView/CLDAClientContext.d.ts +0 -1
- package/es/modules/corporate/company/components/CompanyMemberSelect/index.d.ts +3 -3
- package/es/modules/corporate/company/components/CorporateList/index.d.ts +6 -6
- package/es/modules/corporate/company/components/CorporateOfficerSelect/index.d.ts +7 -7
- package/es/modules/corporate/company/components/InlineEditCountry/index.d.ts +4 -4
- package/es/modules/corporate/company/components/InlineEditType/index.d.ts +2 -2
- package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.d.ts +1 -1
- package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.d.ts +1 -1
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.d.ts +1 -1
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/ChangeContact.d.ts +2 -2
- package/es/modules/corporate/company/controls/CorporateMenu/items/Disabled.d.ts +2 -2
- package/es/modules/corporate/company/controls/CorporateStatusLabel/index.d.ts +1 -1
- package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.d.ts +2 -2
- package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.d.ts +1 -1
- package/es/modules/corporate/company/identity/components/NewIdentityDialog/state.d.ts +0 -1
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.d.ts +2 -2
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/state.d.ts +0 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.d.ts +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/state.d.ts +0 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.d.ts +5 -5
- package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.d.ts +6 -6
- package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/index.d.ts +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerItem/index.d.ts +5 -5
- package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.d.ts +1 -1
- package/es/modules/corporate/company/officer-register/components/SelectOfficerList/index.d.ts +1 -1
- package/es/modules/corporate/company/pages/CompanyPage/CompanyPageContext.d.ts +0 -1
- package/es/modules/corporate/company/share-transaction-convert/ShareTransactionConvertTable.d.ts +2 -2
- package/es/modules/corporate/company/share-transactions-register/components/ClassSelect/index.d.ts +3 -3
- package/es/modules/corporate/company/share-transactions-register/components/OfficialClassSelect/index.d.ts +3 -3
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.js +8 -10
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/index.d.ts +4 -4
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/TableRefreshContext.d.ts +0 -1
- package/es/modules/corporate/components/CorporateSelect/index.d.ts +4 -4
- package/es/modules/corporate/filing-record/components/FilingList/index.d.ts +7 -7
- package/es/modules/corporate/filing-record/components/SendMessageDialog/index.d.ts +2 -2
- package/es/modules/corporate/filing-record/controls/FilingRecoreMenu/items/NotifyFiling.d.ts +2 -2
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.d.ts +4 -4
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.d.ts +4 -4
- package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeDataBar/index.d.ts +2 -2
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.d.ts +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearSelect/index.d.ts +3 -3
- package/es/modules/corporate/filing-record/filing-year/components/NewFilingYearDialog/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/SettingDialog/index.d.ts +1 -1
- package/es/modules/corporate/service/components/NewServiceDialog/index.d.ts +2 -2
- package/es/modules/corporate/service-type/components/ServiceTypeSelect/index.d.ts +2 -2
- package/es/modules/corporate/share-certificate/components/DeleteSignatureDialog/index.d.ts +2 -2
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js +8 -10
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Cancel.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee1.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee2.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Download.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Issue.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RefreshDetails.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RevokePhysical.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/SendToShareholder.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/SendToSignee.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/UndoCancel.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.d.ts +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.d.ts +3 -3
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/ActivityRefreshContext.d.ts +0 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/SigneeRefreshContext.d.ts +0 -1
- package/es/modules/corporate/share-class/components/ShareClassProperties/RefreshContext.d.ts +0 -1
- package/es/modules/corporate/share-class/components/ShareClassSelect/index.d.ts +6 -6
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/index.d.ts +7 -7
- package/es/modules/corporate/virtual-address-mail/components/ConfirmCollectionDialog/index.d.ts +2 -2
- package/es/modules/corporate/virtual-address-mail/components/ConfirmForwardDialog/index.d.ts +2 -2
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailStatusLabel/index.d.ts +2 -2
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.js +9 -9
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +5 -1
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.d.ts +18 -0
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js +148 -0
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.less +86 -0
- package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.js +9 -9
- package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +29 -25
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +8 -2
- package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/index.js +5 -5
- 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.map +1 -1
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.js +79 -80
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/OfficerList/index.js +18 -15
- package/es/modules/self-registration/clda-form/components/OfficerList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.d.ts +1 -1
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +54 -54
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +18 -39
- package/es/modules/self-registration/clda-form/components/ShareholderList/index.js +17 -15
- package/es/modules/self-registration/clda-form/components/ShareholderList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/index.d.ts +3 -3
- package/es/modules/self-registration/clda-form/incorporation/agm/index.js +2 -2
- 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.d.ts +4 -4
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.js +1 -1
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralContext.d.ts +0 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js +2 -2
- 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/AddAllotmentDialog/index.d.ts +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.d.ts +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.d.ts +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.d.ts +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.d.ts +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.d.ts +3 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.d.ts +3 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.d.ts +3 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.d.ts +3 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.d.ts +3 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.d.ts +3 -3
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.d.ts +4 -4
- package/es/modules/self-registration/clda-form/incorporation/context.d.ts +0 -1
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.js +10 -8
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +49 -0
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.js +1 -1
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.js.map +1 -1
- package/es/modules/self-registration/controls/BusinessActivityInput/index.d.ts +4 -4
- package/es/modules/self-registration/controls/BusinessNameInput/index.d.ts +3 -3
- package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.d.ts +6 -6
- package/es/modules/self-registration/controls/Section/index.less +16 -6
- package/es/modules/self-registration/controls/Tips/Tip.js +3 -3
- package/es/modules/self-registration/controls/Tips/Tip.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.d.ts +10 -10
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/IncorporationCLDAClientContext.d.ts +0 -1
- package/es/modules/self-registration/shopping-cart/CartState.d.ts +0 -1
- package/es/obsolete/FilingRecordQuickView/index.d.ts +2 -2
- package/es/obsolete/order/context/OrderContext.d.ts +0 -1
- package/es/obsolete/order/controls/IncorporationStatusLabel/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { BusinessActivityTip, BusinessNameTip, RegisteredAddressTip } from "../../../controls/Tips";
|
|
2
|
-
import { Button, Col, Form, Row } from "antd";
|
|
3
1
|
import React from "react";
|
|
4
|
-
import {
|
|
2
|
+
import { runInAction } from "mobx";
|
|
3
|
+
import { observe } from "@voplus/morpho-ui";
|
|
4
|
+
import { Button, Col, Form, Row, Space } from "antd";
|
|
5
|
+
import { InlineEdit } from "@voplus/morpho-ui";
|
|
6
|
+
import { useValidates } from "@voplus/morpho-data";
|
|
7
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
8
|
+
import { useIncorporationFormContext } from "../../incorporation/context";
|
|
9
|
+
import { faBriefcase, faCalendarCheck, faLocationDot } from "@fortawesome/pro-solid-svg-icons";
|
|
5
10
|
import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
|
|
6
|
-
import
|
|
7
|
-
import BusinessActivityInput from "../../../controls/BusinessActivityInput";
|
|
11
|
+
import { BusinessActivityTip, BusinessNameTip, RegisteredAddressTip } from "../../../controls/Tips";
|
|
8
12
|
import BusinessNameInputFormItem from "../../../controls/BusinessNameInputFormItem";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
13
|
+
import BusinessActivityInput from "../../../controls/BusinessActivityInput";
|
|
14
|
+
import Address from "@voplus/morpho-org/es/components/Address";
|
|
11
15
|
import Section from "../../../controls/Section";
|
|
12
|
-
import { observe } from "@voplus/morpho-ui";
|
|
13
|
-
import { runInAction } from "mobx";
|
|
14
16
|
import styles from "./index.less";
|
|
15
|
-
import { useIncorporationFormContext } from "../../incorporation/context";
|
|
16
|
-
import { useValidates } from "@voplus/morpho-data";
|
|
17
17
|
export const CompanyInfo = (props) => {
|
|
18
18
|
const { id } = props;
|
|
19
19
|
const incorporationForm = useCLDAForm(id);
|
|
20
20
|
const store = useCLDAFormStore();
|
|
21
21
|
const context = useIncorporationFormContext();
|
|
22
22
|
const checks = useValidates((c) => ({
|
|
23
|
-
name: c.validate(() => { var _a; return (_a = incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName; }, "
|
|
23
|
+
name: c.validate(() => { var _a; return (_a = incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName; }, ""),
|
|
24
24
|
businessActivity: c.validate(() => incorporationForm.content.businessActivities.some((activity) => !!activity && !isNaN(Number(activity.split(" ")[0]))), "Choose at least one business activity."),
|
|
25
25
|
registeredAddress: c.validate(() => {
|
|
26
26
|
var _a, _b, _c;
|
|
@@ -33,18 +33,21 @@ export const CompanyInfo = (props) => {
|
|
|
33
33
|
return observe(() => {
|
|
34
34
|
var _a, _b, _c;
|
|
35
35
|
return (React.createElement("div", { className: styles.companyInfo },
|
|
36
|
-
React.createElement(Section, { className: "business-name", title: React.createElement(
|
|
37
|
-
React.createElement(
|
|
38
|
-
|
|
36
|
+
React.createElement(Section, { className: "business-name", title: React.createElement("div", { className: "clda-interpretation-card-title" },
|
|
37
|
+
React.createElement("div", null,
|
|
38
|
+
React.createElement(FontAwesomeIcon, { icon: faBriefcase, className: "margin-right-10" }),
|
|
39
|
+
"Business Name ",
|
|
40
|
+
React.createElement("span", { className: "required-fields" }, "*")),
|
|
39
41
|
React.createElement(BusinessNameTip, null)) },
|
|
40
42
|
React.createElement(InlineEdit, { defaultValue: (_a = incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
|
|
41
43
|
var _a;
|
|
42
44
|
return (React.createElement("div", null, ((_a = incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName) ? (React.createElement("span", null, incorporationForm.content.legalEntityName)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the business name"))));
|
|
43
45
|
}, editor: (v) => (React.createElement(BusinessNameInputFormItem, { value: v.store.value, onChange: (name) => runInAction(() => (v.store.value = name)), onSave: () => v.store.save({ trigger: "select" }), onCancel: () => v.store.cancel() })), onSave: (v) => store.edit(id, { data: { LegalEntityName: v } }) }),
|
|
44
46
|
checks.name.error && React.createElement("span", { className: "warning" }, checks.name.message)),
|
|
45
|
-
React.createElement(Section, { className: "business-activities", title: React.createElement(
|
|
46
|
-
React.createElement(
|
|
47
|
-
|
|
47
|
+
React.createElement(Section, { className: "business-activities", title: React.createElement("div", { className: "clda-interpretation-card-title" },
|
|
48
|
+
React.createElement("div", null,
|
|
49
|
+
React.createElement(FontAwesomeIcon, { icon: faCalendarCheck, className: "margin-right-10" }),
|
|
50
|
+
"Business Activities"),
|
|
48
51
|
React.createElement(BusinessActivityTip, null)) },
|
|
49
52
|
React.createElement("div", { className: styles.content },
|
|
50
53
|
React.createElement(Form, null, ((_b = incorporationForm.content) === null || _b === void 0 ? void 0 : _b.businessActivities) &&
|
|
@@ -69,9 +72,10 @@ export const CompanyInfo = (props) => {
|
|
|
69
72
|
return (React.createElement(BusinessActivityInput, { defaultValue: activity, onChange: (v) => runInAction(() => (s.store.value = v.toString())), onBlur: () => s.store.cancel(), autoFocus: true, onSelect: () => s.store.save({ trigger: "select" }) }));
|
|
70
73
|
}, editTrigger: "both" })));
|
|
71
74
|
})))),
|
|
72
|
-
React.createElement(Section, { className: "registered-address", title: React.createElement(
|
|
73
|
-
React.createElement(
|
|
74
|
-
|
|
75
|
+
React.createElement(Section, { className: "registered-address", title: React.createElement("div", { className: "clda-interpretation-card-title" },
|
|
76
|
+
React.createElement("div", null,
|
|
77
|
+
React.createElement(FontAwesomeIcon, { icon: faLocationDot, className: "margin-right-10" }),
|
|
78
|
+
"Registered Address"),
|
|
75
79
|
React.createElement(RegisteredAddressTip, null)) },
|
|
76
80
|
React.createElement("div", { className: styles.content },
|
|
77
81
|
React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: (_c = incorporationForm.content) === null || _c === void 0 ? void 0 : _c.address, onSave: (v) => store.edit(id, {
|
|
@@ -113,11 +117,11 @@ export const CompanyInfo = (props) => {
|
|
|
113
117
|
p.store.value.state = v.state;
|
|
114
118
|
});
|
|
115
119
|
} })))),
|
|
116
|
-
React.createElement(
|
|
117
|
-
React.createElement(Button, { onClick: () => p.store.save({ trigger: "select" }) }, "Save"),
|
|
118
|
-
React.createElement(Button, { onClick: () => p.store.cancel()
|
|
120
|
+
React.createElement(Space, null,
|
|
121
|
+
React.createElement(Button, { type: "primary", onClick: () => p.store.save({ trigger: "select" }) }, "Save"),
|
|
122
|
+
React.createElement(Button, { onClick: () => p.store.cancel() }, "Cancel"))))) })),
|
|
119
123
|
checks.registeredAddress.error && (React.createElement("span", { className: "warning" }, checks.registeredAddress.message)),
|
|
120
|
-
React.createElement("div", { className: "
|
|
124
|
+
React.createElement("div", { className: "registered-address-prompted" }, "Note: In the event that you choose not to utilize VOPLUS's registered address services, kindly ensure that you furnish us with a valid local address to be used as your official registered address."))));
|
|
121
125
|
});
|
|
122
126
|
};
|
|
123
127
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CompanyInfo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CompanyInfo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,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AO,CAAQ,CACnE;gBACD,6BAAK,SAAS,EAAC,6BAA6B,2MAItC,CACG,CACL,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -9,11 +9,17 @@
|
|
|
9
9
|
.placeholder {
|
|
10
10
|
color: #00000040;
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
.sub-title{
|
|
12
|
+
|
|
13
|
+
.sub-title {
|
|
14
14
|
font-size: 12px !important;
|
|
15
15
|
font-weight: normal;
|
|
16
16
|
color: @heading-subtitle-color;
|
|
17
17
|
}
|
|
18
|
+
|
|
19
|
+
.registered-address-prompted {
|
|
20
|
+
margin-top: 20px;
|
|
21
|
+
color: #5d5d5d;
|
|
22
|
+
font: normal normal 600 14px/19px Open Sans;
|
|
23
|
+
}
|
|
18
24
|
}
|
|
19
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
2
|
import { Divider, Select } from "antd";
|
|
3
3
|
import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
|
|
4
|
-
import {
|
|
4
|
+
import { faUserGear } from "@fortawesome/pro-solid-svg-icons";
|
|
5
5
|
import { observe } from "@voplus/morpho-ui";
|
|
6
6
|
import { useIncorporationFormContext } from "../../incorporation/context";
|
|
7
7
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
@@ -19,10 +19,10 @@ const DataProtectionOfficer = (props) => {
|
|
|
19
19
|
const [editable, setEditable] = useState(false);
|
|
20
20
|
return observe(() => {
|
|
21
21
|
var _a, _b, _c, _d;
|
|
22
|
-
return (React.createElement(Section, { title: React.createElement(
|
|
23
|
-
React.createElement(
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
return (React.createElement(Section, { title: React.createElement("div", { className: "clda-interpretation-card-title" },
|
|
23
|
+
React.createElement("div", null,
|
|
24
|
+
React.createElement(FontAwesomeIcon, { className: "margin-right-10", icon: faUserGear }),
|
|
25
|
+
"Data Protection Officer"),
|
|
26
26
|
React.createElement(Tips, { content: React.createElement(React.Fragment, null,
|
|
27
27
|
"It is mandatory for your Singapore-based company to appoint at least one ",
|
|
28
28
|
React.createElement("br", null),
|
package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/DataProtectionOfficer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/DataProtectionOfficer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,UAAU,MAAM,gDAAgD,CAAC;AACxE,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,yDAAyD,CAAC;AAE7E,MAAM,qBAAqB,GAAG,CAAC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AAC,SAAiB;QACtC,MAAM,KAAK;aACT,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,SAAS,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;aACpE,IAAI,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,CAAC,CAAC;IACjC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/InternalUse/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAmB,MAAM,+BAA+B,CAAC;AAC/F,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,IAAI,MAAM,0BAA0B,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,WAAW,GAAG,CAAC,KAA2C,EAAE,EAAE;IACnE,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,OAAO,GAAG,2BAA2B,EAAE,CAAC;IAC9C,MAAM,aAAa,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC5C,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAE5B,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,6BAAK,SAAS,EAAC,cAAc;YAC5B,oBAAC,OAAO,IACP,KAAK,EACJ
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/InternalUse/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAmB,MAAM,+BAA+B,CAAC;AAC/F,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,IAAI,MAAM,0BAA0B,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,WAAW,GAAG,CAAC,KAA2C,EAAE,EAAE;IACnE,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,KAA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AE,SAAS;SAChB,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -28,86 +28,85 @@ const MemberInfo = (props) => {
|
|
|
28
28
|
const validates = useValidates((c) => checkError(c), [(_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.contacts]);
|
|
29
29
|
return observe(() => {
|
|
30
30
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
31
|
-
return (React.createElement(
|
|
32
|
-
React.createElement("div", { className:
|
|
33
|
-
React.createElement("div", { className:
|
|
34
|
-
React.createElement("div", { className: "member-title" },
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
React.createElement(
|
|
38
|
-
|
|
39
|
-
React.createElement(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
React.createElement(
|
|
43
|
-
|
|
44
|
-
React.createElement(
|
|
45
|
-
|
|
46
|
-
React.createElement(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
React.createElement("div", { className: "member-info-
|
|
50
|
-
React.createElement("div", { className: "member-
|
|
51
|
-
React.createElement(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
React.createElement(
|
|
57
|
-
|
|
58
|
-
React.createElement(
|
|
59
|
-
|
|
60
|
-
React.createElement(
|
|
61
|
-
|
|
62
|
-
React.createElement("div", { className: "member-
|
|
63
|
-
React.createElement(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
React.createElement(
|
|
68
|
-
|
|
69
|
-
React.createElement(
|
|
70
|
-
|
|
71
|
-
React.createElement(
|
|
72
|
-
|
|
73
|
-
React.createElement(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
React.createElement(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
React.createElement(
|
|
83
|
-
|
|
84
|
-
React.createElement(
|
|
85
|
-
|
|
86
|
-
React.createElement(
|
|
87
|
-
|
|
88
|
-
React.createElement(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
props.memberLength > 1 && React.createElement(Divider, { className: "halvingline" }))));
|
|
31
|
+
return (React.createElement("div", { className: styles["member-info"] },
|
|
32
|
+
React.createElement("div", { className: classnames({ "member-info-mobile": layout.ui.mobile }) },
|
|
33
|
+
React.createElement("div", { className: "member-title" },
|
|
34
|
+
React.createElement("div", { className: "member-title-info" }, editable ? (React.createElement(Input, { prefix: React.createElement(UserOutlined, null), defaultValue: contacts === null || contacts === void 0 ? void 0 : contacts.name, value: contacts === null || contacts === void 0 ? void 0 : contacts.name, onChange: (e) => (contacts.name = e.target.value) })) : (React.createElement("span", { className: "member-name" }, contacts && React.createElement(UnitNameNoteAlert, { id: contacts.id, name: (_a = contacts.name) !== null && _a !== void 0 ? _a : "" })))),
|
|
35
|
+
(context ? context.editable : true) && (React.createElement("div", { className: "action-button" },
|
|
36
|
+
React.createElement("span", { className: "edit-icon", onClick: () => setEditable(!editable) },
|
|
37
|
+
React.createElement(FontAwesomeIcon, { icon: faPenToSquare })),
|
|
38
|
+
React.createElement("span", { className: "delete-icon", onClick: props.onDeleteClick },
|
|
39
|
+
React.createElement(FontAwesomeIcon, { icon: faTrashAlt }))))),
|
|
40
|
+
shareholders && (React.createElement("div", { className: "basic-info" },
|
|
41
|
+
React.createElement("div", { className: "shares-input" },
|
|
42
|
+
React.createElement(InputNumber, { prefix: React.createElement(FontAwesomeIcon, { icon: faMoneyBill }), disabled: !editable, bordered: editable, value: newShares, placeholder: "Please enter the shares", onChange: (value) => setNewShares(value) })),
|
|
43
|
+
React.createElement("div", { className: "shares-input" },
|
|
44
|
+
React.createElement(InputNumber, { prefix: React.createElement(FontAwesomeIcon, { icon: faBadgeDollar }), disabled: !editable, bordered: editable, value: capital, placeholder: "Please enter the capital", onChange: (value) => setCapital(value) })))),
|
|
45
|
+
React.createElement("div", { className: "basic-info" },
|
|
46
|
+
React.createElement(Input, { disabled: !editable, bordered: editable, value: contacts === null || contacts === void 0 ? void 0 : contacts.email, placeholder: "Please enter the email", prefix: React.createElement(FontAwesomeIcon, { icon: faEnvelope }), onChange: (e) => (contacts.email = e.target.value) }),
|
|
47
|
+
React.createElement(Input, { disabled: !editable, bordered: editable, value: contacts === null || contacts === void 0 ? void 0 : contacts.phone, placeholder: "Please enter the phone", prefix: React.createElement(FontAwesomeIcon, { icon: faPhone }), onChange: (e) => (contacts.phone = e.target.value) })),
|
|
48
|
+
React.createElement("div", { className: "member-info-content" },
|
|
49
|
+
React.createElement("div", { className: "member-info-item" },
|
|
50
|
+
React.createElement("div", { className: "member-item-name" },
|
|
51
|
+
React.createElement(FontAwesomeIcon, { icon: faMapMarkerAlt }),
|
|
52
|
+
"Address:"),
|
|
53
|
+
editable ? (React.createElement(Form, { layout: "horizontal" },
|
|
54
|
+
React.createElement(Address, { value: contacts.address, required: ["line1", "city", "postalCode", "country"], onChange: (v) => (contacts.address = v) }))) : (React.createElement(React.Fragment, null,
|
|
55
|
+
React.createElement(Row, null,
|
|
56
|
+
React.createElement(Col, null, (_b = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _b === void 0 ? void 0 : _b.line1)),
|
|
57
|
+
React.createElement(Row, null,
|
|
58
|
+
React.createElement(Col, null, (_c = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _c === void 0 ? void 0 : _c.line2)),
|
|
59
|
+
React.createElement(Row, null,
|
|
60
|
+
React.createElement(Col, null, `${((_d = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _d === void 0 ? void 0 : _d.city) ? (_e = contacts.address) === null || _e === void 0 ? void 0 : _e.city : ""} ${(_f = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _f === void 0 ? void 0 : _f.state} ${(_g = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _g === void 0 ? void 0 : _g.country} ${(_h = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _h === void 0 ? void 0 : _h.postalCode}`.trim()))))),
|
|
61
|
+
React.createElement("div", { className: "member-info-item" },
|
|
62
|
+
React.createElement("div", { className: "member-item-name" },
|
|
63
|
+
React.createElement(FontAwesomeIcon, { icon: faAddressCard }),
|
|
64
|
+
"Identify Info:"),
|
|
65
|
+
editable ? (React.createElement(IdentityChange, { value: contacts === null || contacts === void 0 ? void 0 : contacts.identity, onChange: (v) => (contacts.identity = v) })) : (React.createElement(React.Fragment, null,
|
|
66
|
+
React.createElement(Row, null,
|
|
67
|
+
React.createElement(Col, null, (_j = contacts === null || contacts === void 0 ? void 0 : contacts.identity) === null || _j === void 0 ? void 0 : _j.country)),
|
|
68
|
+
React.createElement(Row, null,
|
|
69
|
+
React.createElement(Col, null, (_k = contacts === null || contacts === void 0 ? void 0 : contacts.identity) === null || _k === void 0 ? void 0 : _k.type)),
|
|
70
|
+
React.createElement(Row, null,
|
|
71
|
+
React.createElement(Col, null, (_l = contacts === null || contacts === void 0 ? void 0 : contacts.identity) === null || _l === void 0 ? void 0 : _l.number)),
|
|
72
|
+
React.createElement(Row, null,
|
|
73
|
+
React.createElement(Col, null,
|
|
74
|
+
"Expiry: ",
|
|
75
|
+
React.createElement(UTCShortDate, { value: (_m = contacts === null || contacts === void 0 ? void 0 : contacts.identity) === null || _m === void 0 ? void 0 : _m.expiryDate })))))),
|
|
76
|
+
isOnlyInternalUse && (React.createElement("div", { className: "member-info-item" },
|
|
77
|
+
React.createElement("div", { className: "member-item-name" },
|
|
78
|
+
React.createElement(FontAwesomeIcon, { icon: faLock }),
|
|
79
|
+
"Internal Use Only:"),
|
|
80
|
+
editable ? (React.createElement(Form, { labelAlign: "left", layout: "horizontal" },
|
|
81
|
+
React.createElement(Form.Item, { label: "Representative", name: "representative" },
|
|
82
|
+
React.createElement(Input, { defaultValue: contacts.representative, value: contacts.representative, onChange: (e) => (contacts.representative = e.target.value) })),
|
|
83
|
+
React.createElement(Form.Item, { label: "Representative Passport", name: "representativePassport" },
|
|
84
|
+
React.createElement(Input, { defaultValue: contacts.representativePassport, value: contacts.representativePassport, onChange: (e) => (contacts.representativePassport = e.target.value) })),
|
|
85
|
+
React.createElement(Form.Item, { label: "Foreign Director 1", name: "foreignDirector1" },
|
|
86
|
+
React.createElement(Input, { defaultValue: contacts.foreignDirector1, value: contacts.foreignDirector1, onChange: (e) => (contacts.foreignDirector1 = e.target.value) })),
|
|
87
|
+
React.createElement(Form.Item, { label: "Foreign Director 2", name: "foreignDirector2" },
|
|
88
|
+
React.createElement(Input, { defaultValue: contacts.foreignDirector2, value: contacts.foreignDirector2, onChange: (e) => (contacts.foreignDirector2 = e.target.value) })))) : (React.createElement(React.Fragment, null,
|
|
89
|
+
(contacts === null || contacts === void 0 ? void 0 : contacts.representative) && (React.createElement(Row, null,
|
|
90
|
+
React.createElement(Col, null,
|
|
91
|
+
"Representative: ", contacts === null || contacts === void 0 ? void 0 :
|
|
92
|
+
contacts.representative))),
|
|
93
|
+
(contacts === null || contacts === void 0 ? void 0 : contacts.representativePassport) && (React.createElement(Row, null,
|
|
94
|
+
React.createElement(Col, null,
|
|
95
|
+
"Representative Passport: ", contacts === null || contacts === void 0 ? void 0 :
|
|
96
|
+
contacts.representativePassport))),
|
|
97
|
+
(contacts === null || contacts === void 0 ? void 0 : contacts.foreignDirector1) && (React.createElement(Row, null,
|
|
98
|
+
React.createElement(Col, null,
|
|
99
|
+
"Foreign Director 1: ", contacts === null || contacts === void 0 ? void 0 :
|
|
100
|
+
contacts.foreignDirector1))),
|
|
101
|
+
(contacts === null || contacts === void 0 ? void 0 : contacts.foreignDirector2) && (React.createElement(Row, null,
|
|
102
|
+
React.createElement(Col, null,
|
|
103
|
+
"Foreign Director 2: ", contacts === null || contacts === void 0 ? void 0 :
|
|
104
|
+
contacts.foreignDirector2)))))))),
|
|
105
|
+
editable && (React.createElement(Row, { justify: "end", style: { paddingRight: "3em" } },
|
|
106
|
+
React.createElement(Button, { onClick: () => setEditable(false) }, "Cancel"),
|
|
107
|
+
React.createElement(Button, { type: "primary", style: { marginLeft: "1rem" }, onClick: onSave }, "Save"))),
|
|
108
|
+
validates.hasError && (React.createElement(Alert, { message: React.createElement(React.Fragment, null, errorTip(validates.errors)), showIcon: true, type: "warning" }))),
|
|
109
|
+
props.memberLength > 1 && React.createElement(Divider, { className: "halvingline" })));
|
|
111
110
|
});
|
|
112
111
|
function checkError(c) {
|
|
113
112
|
c.validate(() => { var _a; return ((_a = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _a === void 0 ? void 0 : _a.line1) && (contacts === null || contacts === void 0 ? void 0 : contacts.address.city) && contacts.address.country; }, "Please input address.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/MemberInfo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAwB,YAAY,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACpF,OAAO,EACN,aAAa,EACb,UAAU,EACV,cAAc,EACd,OAAO,EACP,UAAU,EACV,aAAa,EACb,WAAW,EACX,aAAa,EACb,MAAM,GACN,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM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,EAAE,qBAAqB,CAAC,QAAQ,CAAC,EAAE;gBACnD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;QACJ,CAAC;QACD,WAAW,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IAED,SAAS,QAAQ,CAAC,MAAgB;QACjC,OAAO,CACN,iCACE,MAAM,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,KAAK,EAAE,EAAE;YAChC,OAAO,CACN,8BAAM,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,IAC9C,IAAI,CACC,CACP,CAAC;QACH,CAAC,CAAC,CACG,CACN,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/MemberInfo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAwB,YAAY,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACpF,OAAO,EACN,aAAa,EACb,UAAU,EACV,cAAc,EACd,OAAO,EACP,UAAU,EACV,aAAa,EACb,WAAW,EACX,aAAa,EACb,MAAM,GACN,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAGN,WAAW,EACX,gBAAgB,GAChB,MAAM,+BAA+B,CAAC;AACvC,O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;QACjC,OAAO,CACN,iCACE,MAAM,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,KAAK,EAAE,EAAE;YAChC,OAAO,CACN,8BAAM,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,IAC9C,IAAI,CACC,CACP,CAAC;QACH,CAAC,CAAC,CACG,CACN,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Alert, Button, Modal, Spin } from "antd";
|
|
2
1
|
import React, { useState } from "react";
|
|
2
|
+
import { Button, Modal, Spin } from "antd";
|
|
3
3
|
import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
|
|
4
|
-
import Card from "../../../components/Card";
|
|
5
|
-
import { DirectorTip } from "../../../controls/Tips";
|
|
6
|
-
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
7
|
-
import MemberInfo from "../MemberInfo";
|
|
8
|
-
import NewDirectorDialog from "../NewDirectorDialog";
|
|
9
|
-
import Section from "../../../controls/Section";
|
|
10
4
|
import { State } from "./state";
|
|
11
5
|
import { cloneDeep } from "lodash-es";
|
|
12
|
-
import {
|
|
6
|
+
import { faUserTag } from "@fortawesome/pro-solid-svg-icons";
|
|
13
7
|
import { observe } from "@voplus/morpho-ui";
|
|
14
8
|
import { useDocumentStore } from "@voplus/morpho-document-core";
|
|
15
9
|
import { useIncorporationFormContext } from "../../incorporation/context";
|
|
16
10
|
import { useValidates } from "@voplus/morpho-data";
|
|
11
|
+
import { DirectorTip } from "../../../controls/Tips";
|
|
12
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
13
|
+
import CLDAContactList from "../CLDAContactList";
|
|
14
|
+
import NewDirectorDialog from "../NewDirectorDialog";
|
|
15
|
+
import Section from "../../../controls/Section";
|
|
16
|
+
import Card from "../../../components/Card";
|
|
17
17
|
const OfficerList = (props) => {
|
|
18
18
|
var _a;
|
|
19
19
|
const { id, isShowDetails } = props;
|
|
@@ -31,19 +31,22 @@ const OfficerList = (props) => {
|
|
|
31
31
|
return observe(() => {
|
|
32
32
|
var _a, _b;
|
|
33
33
|
return (React.createElement("div", { className: "officer-list" },
|
|
34
|
-
React.createElement(Section, { title: React.createElement(
|
|
35
|
-
React.createElement(
|
|
36
|
-
|
|
34
|
+
React.createElement(Section, { title: React.createElement("div", { className: "clda-interpretation-card-title" },
|
|
35
|
+
React.createElement("div", null,
|
|
36
|
+
React.createElement(FontAwesomeIcon, { className: "margin-right-10", icon: faUserTag }),
|
|
37
|
+
"Director(s)"),
|
|
37
38
|
React.createElement(DirectorTip, { version: "info" })) },
|
|
38
39
|
React.createElement(Spin, { spinning: state.incorporationForm === null || !state.incorporationForm.loaded },
|
|
39
|
-
React.createElement(Card, { isAdd: false, layout:
|
|
40
|
+
React.createElement(Card, { isAdd: false, layout: isShowDetails ? "vertical" : "horizontal" },
|
|
40
41
|
((_a = state.incorporationForm.content) === null || _a === void 0 ? void 0 : _a.officerIds) &&
|
|
41
42
|
((_b = state.incorporationForm.content) === null || _b === void 0 ? void 0 : _b.officerIds.map((m, i) => {
|
|
42
43
|
var _a, _b;
|
|
43
|
-
return (React.createElement(
|
|
44
|
+
return (React.createElement(CLDAContactList, { formId: id, memberId: m, contacts: (_a = state.incorporationForm.content.contacts) === null || _a === void 0 ? void 0 : _a.filter((item) => item.id === m)[0], key: i, memberIndex: i, memberLength: (_b = state.incorporationForm.content.officerIds) === null || _b === void 0 ? void 0 : _b.length, onDeleteClick: () => remove(i) }));
|
|
44
45
|
})),
|
|
45
|
-
(context ? context.editable : true) && (React.createElement(Button, {
|
|
46
|
-
checks.hasDirector.error && (React.createElement(
|
|
46
|
+
(context ? context.editable : true) && (React.createElement(Button, { type: "text", className: "add-director-btn", onClick: setAdd }, "+ Add Director"))),
|
|
47
|
+
checks.hasDirector.error && (React.createElement("div", { className: "non-empty-check-prompt" },
|
|
48
|
+
React.createElement("span", null, "* "),
|
|
49
|
+
checks.hasDirector.message)))),
|
|
47
50
|
showDialog && (React.createElement(NewDirectorDialog, { id: id, visible: true, onCancel: () => setShowDialog(false) }))));
|
|
48
51
|
});
|
|
49
52
|
function setAdd() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/OfficerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/OfficerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,IAAI,MAAM,0BAA0B,CAAC;AAE5C,MAAM,WAAW,GAAG,CA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