@voplus/morpho-csp 6.0.99 → 6.0.101
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/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/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/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 +1 -1
- 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/incorporation-clda/pages/IncorporationCLDAClientView/index.js +3 -2
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +3 -3
- 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 +1 -1
|
@@ -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,WAAW,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAGN,WAAW,EACX,gBAAgB,GAChB,MAAM,+BAA+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,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,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,cAAc,MAAM,kEAAkE,CAAC;AAC9F,O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,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,CAAC,KAA2C,EAAE,EAAE;;IACnE,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAEpC,MAAM,CAAC,UAAU,EAAE,aAA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CAAC;IAEH,SAAS,MAAM;QACd,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;QACjB,aAAa,CAAC,IAAI,CAAC,CAAC;IACrB,CAAC;IAED,SAAS,MAAM,CAAC,KAAa;QAC5B,OAAO,KAAK,CAAC,OAAO,CAAC;YACpB,KAAK,EAAE,kCAAkC;YACzC,KAAK,CAAC,IAAI;gBACT,MAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,UAAW,CAAC,CAAC;gBACvE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;gBACzB,MAAM,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;oBACpB,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE;oBAC7B,KAAK,EAAE,SAAS;iBAChB,CAAC,CAAC;YACJ,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { runInAction } from "mobx";
|
|
3
|
+
import { useLayout } from "@voplus/morpho-data";
|
|
4
|
+
import { useIncorporationFormContext } from "../../incorporation/context";
|
|
5
|
+
import { Button, InputNumber, Select, Col, Row, Space } from "antd";
|
|
3
6
|
import { CapitalTip, FYETip, SharesTip } from "../../../controls/Tips";
|
|
4
7
|
import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
|
|
5
8
|
import { InlineEdit, observe } from "@voplus/morpho-ui";
|
|
6
|
-
import {
|
|
7
|
-
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
9
|
+
import { faBuildingColumns, faSackDollar, faFileInvoiceDollar, faCalendar, } from "@fortawesome/pro-solid-svg-icons";
|
|
8
10
|
import { utcdayjs, isSame } from "@voplus/morpho-ui/es/controls/UTCDatePicker/state";
|
|
9
|
-
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
10
11
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
11
|
-
import
|
|
12
|
+
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
13
|
+
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
12
14
|
import Section from "../../../controls/Section";
|
|
13
|
-
import
|
|
14
|
-
import { runInAction } from "mobx";
|
|
15
|
-
import { useIncorporationFormContext } from "../../incorporation/context";
|
|
16
|
-
import { useLayout } from "@voplus/morpho-data";
|
|
15
|
+
import "./index.less";
|
|
17
16
|
const ShareCapital = (props) => {
|
|
18
17
|
const { id, currencyVisible } = props;
|
|
19
|
-
const layout = useLayout();
|
|
20
18
|
const incorporationForm = useCLDAForm(id);
|
|
21
|
-
const Option = Select.Option;
|
|
22
|
-
const store = useCLDAFormStore();
|
|
23
19
|
const context = useIncorporationFormContext();
|
|
20
|
+
const store = useCLDAFormStore();
|
|
21
|
+
const layout = useLayout();
|
|
24
22
|
return observe(() => {
|
|
25
23
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
26
24
|
return (React.createElement(Section, { title: React.createElement(React.Fragment, null,
|
|
27
|
-
React.createElement(FontAwesomeIcon, { icon:
|
|
25
|
+
React.createElement(FontAwesomeIcon, { className: "margin-right-10", icon: faBuildingColumns }),
|
|
28
26
|
"Capital and Financial Year") },
|
|
29
|
-
React.createElement(
|
|
30
|
-
React.createElement(
|
|
31
|
-
React.createElement(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
React.createElement(Select, { defaultValue: v.store.value.currency, onSelect: (newValue) => runInAction(() => (v.store.value.currency = newValue)), options: [
|
|
27
|
+
React.createElement(Row, { className: "share-capital", gutter: [48, 24] },
|
|
28
|
+
React.createElement(Col, { span: layout.ui.mobile ? 24 : 8 },
|
|
29
|
+
React.createElement("div", { className: "capital-title" },
|
|
30
|
+
React.createElement("div", null,
|
|
31
|
+
React.createElement(FontAwesomeIcon, { className: "margin-right-10", icon: faSackDollar }), (_a = props.capitalTitle) !== null && _a !== void 0 ? _a : "Paid Up Capital"), (_b = props.capitalTip) !== null && _b !== void 0 ? _b : React.createElement(CapitalTip, null)),
|
|
32
|
+
React.createElement("div", { className: "capital-content" }, currencyVisible ? (React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: {
|
|
33
|
+
currency: (_c = incorporationForm.content) === null || _c === void 0 ? void 0 : _c.currency,
|
|
34
|
+
capital: (_d = incorporationForm.content) === null || _d === void 0 ? void 0 : _d.capital,
|
|
35
|
+
}, content: (v) => (React.createElement("div", null, v.store.value.currency || v.store.value.capital ? (React.createElement("span", null,
|
|
36
|
+
v.store.value.currency,
|
|
37
|
+
" ",
|
|
38
|
+
v.store.value.capital)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the paid up capital")))), editor: (v) => (React.createElement(React.Fragment, null,
|
|
39
|
+
React.createElement(Space, { className: "capital-edit-content-space" },
|
|
40
|
+
React.createElement(Select, { defaultValue: v.store.value.currency, onSelect: (newValue) => runInAction(() => (v.store.value.currency = newValue)), style: { width: "100%" }, options: [
|
|
43
41
|
{ value: "SGD", label: "SGD" },
|
|
44
42
|
{ value: "USD", label: "USD" },
|
|
45
43
|
{ value: "CNY", label: "CNY" },
|
|
46
44
|
{ value: "EUR", label: "EUR" },
|
|
47
45
|
{ value: "JPY", label: "JPY" },
|
|
48
46
|
] }),
|
|
49
|
-
React.createElement(InputNumber, { style: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
React.createElement(
|
|
63
|
-
React.createElement(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"Numbers Of Share(s)
|
|
67
|
-
|
|
47
|
+
React.createElement(InputNumber, { style: { width: "100%" }, autoFocus: true, defaultValue: v.store.value.capital, onChange: (newValue) => runInAction(() => (v.store.value.capital = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), min: 1 })),
|
|
48
|
+
React.createElement(Space, { className: "capital-edit-content-btn" },
|
|
49
|
+
React.createElement(Button, { type: "primary", onClick: () => v.store.save({ trigger: "select" }) }, "Save"),
|
|
50
|
+
React.createElement(Button, { onClick: () => v.store.cancel() }, "Cancel")))), onSave: (v) => {
|
|
51
|
+
store.edit(id, {
|
|
52
|
+
data: { Currency: v.currency, Capital: v.capital },
|
|
53
|
+
});
|
|
54
|
+
} })) : (React.createElement(InlineEdit, { defaultValue: (_e = incorporationForm.content) === null || _e === void 0 ? void 0 : _e.capital, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
|
|
55
|
+
var _a, _b;
|
|
56
|
+
return (React.createElement("div", null, ((_a = incorporationForm.content) === null || _a === void 0 ? void 0 : _a.capital) ? (React.createElement("span", null, (_b = incorporationForm.content) === null || _b === void 0 ? void 0 : _b.capital)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the paid up capital"))));
|
|
57
|
+
}, editor: (v) => (React.createElement(InputNumber, { autoFocus: true, value: v.store.value, onChange: (newValue) => runInAction(() => (v.store.value = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), onBlur: () => v.store.save({ trigger: "blur" }), min: 1 })), onSave: (v) => {
|
|
58
|
+
store.edit(id, { data: { Capital: v } });
|
|
59
|
+
} })))),
|
|
60
|
+
React.createElement(Col, { span: layout.ui.mobile ? 24 : 8 },
|
|
61
|
+
React.createElement("div", { className: "capital-title" },
|
|
62
|
+
React.createElement("div", null,
|
|
63
|
+
React.createElement(FontAwesomeIcon, { className: "margin-right-10", icon: faFileInvoiceDollar }),
|
|
64
|
+
" Numbers Of Share(s)"),
|
|
65
|
+
React.createElement(SharesTip, null)),
|
|
66
|
+
React.createElement("div", { className: "capital-content" },
|
|
68
67
|
React.createElement(InlineEdit, { defaultValue: (_f = incorporationForm.content) === null || _f === void 0 ? void 0 : _f.shares, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
|
|
69
68
|
var _a, _b;
|
|
70
69
|
return (React.createElement("div", null, ((_a = incorporationForm.content) === null || _a === void 0 ? void 0 : _a.shares) ? (React.createElement("span", null, (_b = incorporationForm.content) === null || _b === void 0 ? void 0 : _b.shares)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the numbers of share"))));
|
|
71
|
-
}, editor: (v) => (React.createElement(InputNumber, { autoFocus: true, value: v.store.value, onChange: (newValue) => runInAction(() => (v.store.value = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), onBlur: () => v.store.save({ trigger: "blur" }), min: 1 })), onSave: (v) => {
|
|
70
|
+
}, editor: (v) => (React.createElement(InputNumber, { style: { width: "100%" }, autoFocus: true, value: v.store.value, onChange: (newValue) => runInAction(() => (v.store.value = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), onBlur: () => v.store.save({ trigger: "blur" }), min: 1 })), onSave: (v) => {
|
|
72
71
|
store.edit(id, { data: { Shares: v } });
|
|
73
72
|
} }))),
|
|
74
|
-
React.createElement(
|
|
75
|
-
React.createElement(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"Financial Year End (FYE)
|
|
79
|
-
|
|
73
|
+
React.createElement(Col, { span: layout.ui.mobile ? 24 : 8 },
|
|
74
|
+
React.createElement("div", { className: "capital-title" },
|
|
75
|
+
React.createElement("div", null,
|
|
76
|
+
React.createElement(FontAwesomeIcon, { className: "margin-right-10", icon: faCalendar }),
|
|
77
|
+
"Financial Year End (FYE)"),
|
|
78
|
+
React.createElement(FYETip, null)),
|
|
79
|
+
React.createElement("div", { className: "capital-content" },
|
|
80
80
|
React.createElement(InlineEdit, { defaultValue: ((_g = incorporationForm.content) === null || _g === void 0 ? void 0 : _g.fye)
|
|
81
81
|
? utcdayjs((_h = incorporationForm.content) === null || _h === void 0 ? void 0 : _h.fye)
|
|
82
82
|
: undefined, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ShareCapital/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ShareCapital/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAmB,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EACN,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,UAAU,GACV,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,O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