@voplus/morpho-csp 4.0.15 → 4.0.17
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/data/clda-form/interfaces.d.ts +27 -10
- package/es/data/clda-form/types.d.ts +26 -10
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.d.ts +7 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js +134 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.less +12 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.d.ts +21 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.js +244 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.d.ts +7 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js +126 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.less +12 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/state.d.ts +21 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/state.js +56 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/state.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.d.ts +12 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js +95 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.less +150 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.d.ts +7 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js +76 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.d.ts +12 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js +96 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.less +143 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.d.ts +7 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js +60 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/index.js +68 -10
- package/es/modules/self-registration/clda-form/incorporation/company-general/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/index.less +8 -1
- package/package.json +1 -1
- package/es/modules/self-registration/clda-form/incorporation/change-officer/index.d.ts +0 -5
- package/es/modules/self-registration/clda-form/incorporation/change-officer/index.js +0 -261
- package/es/modules/self-registration/clda-form/incorporation/change-officer/index.js.map +0 -1
- package/es/modules/self-registration/clda-form/incorporation/change-officer/index.less +0 -177
- package/es/modules/self-registration/clda-form/incorporation/issue-shares/index.d.ts +0 -4
- package/es/modules/self-registration/clda-form/incorporation/issue-shares/index.js +0 -106
- package/es/modules/self-registration/clda-form/incorporation/issue-shares/index.js.map +0 -1
- package/es/modules/self-registration/clda-form/incorporation/issue-shares/index.less +0 -177
- package/es/modules/self-registration/clda-form/incorporation/share-transfer/index.d.ts +0 -4
- package/es/modules/self-registration/clda-form/incorporation/share-transfer/index.js +0 -100
- package/es/modules/self-registration/clda-form/incorporation/share-transfer/index.js.map +0 -1
- package/es/modules/self-registration/clda-form/incorporation/share-transfer/index.less +0 -177
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
/** 此组件已废除 改名为 CompanyGeneral */
|
|
2
|
-
import React, { useEffect, useState } from "react";
|
|
3
|
-
import { Spin, Form, Button, Space, Radio } from "antd";
|
|
4
|
-
import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
|
|
5
|
-
import { changeName } from "../../../../../data/clda-form/conversion";
|
|
6
|
-
import { IncorporationFormContext, State } from "../context";
|
|
7
|
-
import { ValidationCollections, ValidationCollectionsContext } from "@voplus/morpho-data";
|
|
8
|
-
import { observe, InlineEdit } from "@voplus/morpho-ui";
|
|
9
|
-
import { clone } from "lodash-es";
|
|
10
|
-
import { v4 as uuid } from "uuid";
|
|
11
|
-
import NewOfficerDetailList from "../components/NewOfficerDetailList";
|
|
12
|
-
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
13
|
-
import CorporateSelect from "../../../../corporate/components/CorporateSelect";
|
|
14
|
-
import CorporateOfficerSelect from "../../../../corporate/company/components/CorporateOfficerSelect";
|
|
15
|
-
import NewLegalContactDialog from "../../../../corporate/company/identity/components/NewLegalContactDialog";
|
|
16
|
-
import Section from "../../../controls/Section";
|
|
17
|
-
import classnames from "classnames";
|
|
18
|
-
import dayjs from "dayjs";
|
|
19
|
-
import styles from "./index.less";
|
|
20
|
-
const ChangeOfficerForm = (props) => {
|
|
21
|
-
const [validations] = useState(new ValidationCollections());
|
|
22
|
-
const [state] = useState(new State());
|
|
23
|
-
const [loaded, setLoaded] = useState(true);
|
|
24
|
-
const [selectOfficer, setSelectOfficer] = useState("select");
|
|
25
|
-
const [selectResignation, setSelectResignation] = useState("select");
|
|
26
|
-
const [showOfficerDialog, setShowOfficerDialog] = useState(false);
|
|
27
|
-
const [showResignationDialog, setShowResignationDialog] = useState(false);
|
|
28
|
-
const incorporation = useCLDAForm(props.id, { reload: true });
|
|
29
|
-
const store = useCLDAFormStore();
|
|
30
|
-
const [companyEditable, setCompanyEditable] = useState(false);
|
|
31
|
-
const [showCompanyEditIcon, setShowCompanyEditIcon] = useState(true);
|
|
32
|
-
const [showOfficerEditIcon, setShowOfficerEditIcon] = useState(true);
|
|
33
|
-
const [officerEditable, setOfficerEditable] = useState(false);
|
|
34
|
-
const [showResignationEditIcon, setShowResignationEditIcon] = useState(true);
|
|
35
|
-
const [resignationEditable, setResignationEditable] = useState(false);
|
|
36
|
-
const clickEvent = (e) => {
|
|
37
|
-
if (!e.target.className.toString())
|
|
38
|
-
return;
|
|
39
|
-
if (!e.target.className.toString().includes("ant-select")) {
|
|
40
|
-
setCompanyEditable(false);
|
|
41
|
-
setShowCompanyEditIcon(true);
|
|
42
|
-
setOfficerEditable(false);
|
|
43
|
-
setShowOfficerEditIcon(true);
|
|
44
|
-
setResignationEditable(false);
|
|
45
|
-
setShowResignationEditIcon(true);
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
useEffect(() => {
|
|
49
|
-
if (companyEditable || officerEditable || resignationEditable) {
|
|
50
|
-
window.addEventListener("click", clickEvent, true);
|
|
51
|
-
}
|
|
52
|
-
return () => {
|
|
53
|
-
window.removeEventListener("click", clickEvent, true);
|
|
54
|
-
};
|
|
55
|
-
}, [companyEditable, officerEditable, resignationEditable]);
|
|
56
|
-
const content = observe(() => {
|
|
57
|
-
var _a;
|
|
58
|
-
return (React.createElement("div", { className: classnames("incorporation-form-view", styles["appoint-officer-from-review"]) },
|
|
59
|
-
React.createElement(Spin, { spinning: !incorporation.loaded }, incorporation.loaded && (React.createElement(ValidationCollectionsContext.Provider, { value: validations },
|
|
60
|
-
React.createElement(Section, { title: "Document Details" },
|
|
61
|
-
React.createElement(Form, { layout: "horizontal", labelAlign: "left", labelCol: { span: 6 } },
|
|
62
|
-
React.createElement(Form.Item, { label: "Corporate", name: "Corporate" },
|
|
63
|
-
React.createElement(InlineEdit, { showEditIcon: showCompanyEditIcon, defaultValue: (_a = incorporation.content.corporate) === null || _a === void 0 ? void 0 : _a.name, editable: false, content: (v) => {
|
|
64
|
-
var _a, _b;
|
|
65
|
-
return companyEditable ? (React.createElement(CorporateSelect, { defaultValue: (_a = incorporation.content.corporate) === null || _a === void 0 ? void 0 : _a.name, onChange: (c) => store
|
|
66
|
-
.edit(props.id, { data: { Corporate: { Id: c.id, Name: c.name } } })
|
|
67
|
-
.then(() => {
|
|
68
|
-
setShowCompanyEditIcon(true);
|
|
69
|
-
setCompanyEditable(false);
|
|
70
|
-
}) })) : ((_b = incorporation.content.corporate) === null || _b === void 0 ? void 0 : _b.name) ? (React.createElement("span", null, incorporation.content.corporate.name)) : (React.createElement("span", { className: "add-info-style" }, "Please click here to enter the company"));
|
|
71
|
-
}, onEditIconClick: () => {
|
|
72
|
-
setCompanyEditable(true);
|
|
73
|
-
setShowCompanyEditIcon(false);
|
|
74
|
-
} })),
|
|
75
|
-
React.createElement(Form.Item, { label: "Document Date", name: "DocumentDate" },
|
|
76
|
-
React.createElement(InlineEdit, { defaultValue: dayjs(incorporation.content.documentDate !== ""
|
|
77
|
-
? incorporation.content.documentDate
|
|
78
|
-
: undefined), content: (v) => incorporation.content.documentDate ? (React.createElement("span", null, dayjs(incorporation.content.documentDate).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, "Add Document Date")), editor: DateInputEditor, onSave: (date) => {
|
|
79
|
-
if (incorporation.content.documentDate &&
|
|
80
|
-
dayjs(date).isSame(incorporation.content.documentDate, "day"))
|
|
81
|
-
return;
|
|
82
|
-
store.edit(props.id, {
|
|
83
|
-
data: {
|
|
84
|
-
DocumentDate: date !== null ? dayjs(date).format("YYYY-MM-DD") : "",
|
|
85
|
-
},
|
|
86
|
-
});
|
|
87
|
-
} })),
|
|
88
|
-
React.createElement(Form.Item, { label: "Effective Date", name: "EffectiveDate" },
|
|
89
|
-
React.createElement(InlineEdit, { defaultValue: dayjs(incorporation.content.effectiveDate !== ""
|
|
90
|
-
? incorporation.content.effectiveDate
|
|
91
|
-
: undefined), content: (v) => incorporation.content.effectiveDate ? (React.createElement("span", null, dayjs(incorporation.content.effectiveDate).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, "Add Effective Date")), editor: DateInputEditor, onSave: (date) => {
|
|
92
|
-
if (incorporation.content.effectiveDate &&
|
|
93
|
-
dayjs(date).isSame(incorporation.content.effectiveDate, "day"))
|
|
94
|
-
return;
|
|
95
|
-
store.edit(props.id, {
|
|
96
|
-
data: {
|
|
97
|
-
EffectiveDate: date !== null ? dayjs(date).format("YYYY-MM-DD") : "",
|
|
98
|
-
},
|
|
99
|
-
});
|
|
100
|
-
} })),
|
|
101
|
-
React.createElement(Form.Item, { label: "Resignation Data", name: "ResignationDate" },
|
|
102
|
-
React.createElement(InlineEdit, { defaultValue: dayjs(incorporation.content.resignationData !== ""
|
|
103
|
-
? incorporation.content.resignationData
|
|
104
|
-
: undefined), content: (v) => incorporation.content.resignationData ? (React.createElement("span", null, dayjs(incorporation.content.resignationData).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, "Add Resignation Date")), editor: DateInputEditor, onSave: (date) => {
|
|
105
|
-
if (incorporation.content.resignationData &&
|
|
106
|
-
dayjs(date).isSame(incorporation.content.resignationData, "day"))
|
|
107
|
-
return;
|
|
108
|
-
store.edit(props.id, {
|
|
109
|
-
data: {
|
|
110
|
-
ResignationData: date !== null ? dayjs(date).format("YYYY-MM-DD") : "",
|
|
111
|
-
},
|
|
112
|
-
});
|
|
113
|
-
} })))),
|
|
114
|
-
React.createElement(Section, { title: "New Officer Details" },
|
|
115
|
-
loaded && (React.createElement(NewOfficerDetailList, { incorporationId: props.id, editOption: "NewOfficers", newOfficers: incorporation.content.newOfficers, onReload: onReload })),
|
|
116
|
-
React.createElement("div", { className: "new-officer-select" },
|
|
117
|
-
React.createElement(Radio.Group, { onChange: onSelectOfficer, value: selectOfficer },
|
|
118
|
-
React.createElement(Radio, { value: "select" }, "Select From Existing"),
|
|
119
|
-
React.createElement(Radio, { value: "new" }, "Input New"))),
|
|
120
|
-
selectOfficer === "select" ? (React.createElement(InlineEdit, { defaultValue: "", showEditIcon: showOfficerEditIcon, editable: false, onEditIconClick: () => {
|
|
121
|
-
setOfficerEditable(true);
|
|
122
|
-
setShowOfficerEditIcon(false);
|
|
123
|
-
}, content: (v) => {
|
|
124
|
-
var _a, _b;
|
|
125
|
-
return officerEditable ? (React.createElement(CorporateOfficerSelect, { disable: !((_a = incorporation.content.corporate) === null || _a === void 0 ? void 0 : _a.id), corporateId: ((_b = incorporation.content.corporate) === null || _b === void 0 ? void 0 : _b.id) || "", onChange: onChangeOfficer })) : (React.createElement("span", { className: "add-info-style" }, "Select Officer"));
|
|
126
|
-
} })) : selectOfficer === "new" ? (React.createElement(Button, { onClick: () => setShowOfficerDialog(true) }, "New Officer Details")) : null,
|
|
127
|
-
showOfficerDialog && (React.createElement(NewLegalContactDialog, { visible: true, updateVisible: onSaveOfficer }))),
|
|
128
|
-
React.createElement(Section, { title: "Resignation Officer Details" },
|
|
129
|
-
loaded && (React.createElement(NewOfficerDetailList, { incorporationId: props.id, editOption: "RemoveOfficers", newOfficers: incorporation.content.removeOfficers, onReload: onReload })),
|
|
130
|
-
React.createElement("div", { className: "new-officer-select" },
|
|
131
|
-
React.createElement(Radio.Group, { onChange: onSelectResignation, value: selectResignation },
|
|
132
|
-
React.createElement(Radio, { value: "select" }, "Select From Existing"),
|
|
133
|
-
React.createElement(Radio, { value: "new" }, "Input New"))),
|
|
134
|
-
selectResignation === "select" ? (React.createElement(InlineEdit, { defaultValue: "", showEditIcon: showResignationEditIcon, editable: false, onEditIconClick: () => {
|
|
135
|
-
setResignationEditable(true);
|
|
136
|
-
setShowResignationEditIcon(false);
|
|
137
|
-
}, content: (v) => {
|
|
138
|
-
var _a, _b;
|
|
139
|
-
return resignationEditable ? (React.createElement(CorporateOfficerSelect, { disable: !((_a = incorporation.content.corporate) === null || _a === void 0 ? void 0 : _a.id), corporateId: ((_b = incorporation.content.corporate) === null || _b === void 0 ? void 0 : _b.id) || "", onChange: onChangeResignation })) : (React.createElement("span", { className: "add-info-style" }, "Select Resignation"));
|
|
140
|
-
} })) : selectResignation === "new" ? (React.createElement(Button, { onClick: () => setShowResignationDialog(true) }, "New Resignation Details")) : null,
|
|
141
|
-
showResignationDialog && (React.createElement(NewLegalContactDialog, { visible: true, updateVisible: onSaveResignation }))),
|
|
142
|
-
React.createElement("div", { className: "company-general-from-btn" },
|
|
143
|
-
React.createElement(Space, null,
|
|
144
|
-
React.createElement(Button, { size: "middle" }, "Download"),
|
|
145
|
-
React.createElement(Button, { type: "primary", size: "middle" }, "General E-Sign"))))))));
|
|
146
|
-
});
|
|
147
|
-
return observe(() => (React.createElement(IncorporationFormContext.Provider, { value: state }, content)));
|
|
148
|
-
/** reload data */
|
|
149
|
-
function onReload() {
|
|
150
|
-
setLoaded(false);
|
|
151
|
-
setTimeout(() => {
|
|
152
|
-
setLoaded(true);
|
|
153
|
-
}, 100);
|
|
154
|
-
}
|
|
155
|
-
function onSelectOfficer(e) {
|
|
156
|
-
setSelectOfficer(e.target.value);
|
|
157
|
-
}
|
|
158
|
-
function onSelectResignation(e) {
|
|
159
|
-
setSelectResignation(e.target.value);
|
|
160
|
-
}
|
|
161
|
-
async function onChangeOfficer(o) {
|
|
162
|
-
var _a;
|
|
163
|
-
const dataList = clone((_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.newOfficers);
|
|
164
|
-
const newOfficer = {
|
|
165
|
-
officer: { id: o.contact.id, name: o.contact.name },
|
|
166
|
-
};
|
|
167
|
-
const newOfficers = dataList ? [...dataList, newOfficer] : [newOfficer];
|
|
168
|
-
const newOfficersToUpperCase = changeName(newOfficers);
|
|
169
|
-
await store
|
|
170
|
-
.edit(props.id, {
|
|
171
|
-
data: {
|
|
172
|
-
NewOfficers: newOfficersToUpperCase,
|
|
173
|
-
},
|
|
174
|
-
})
|
|
175
|
-
.then(() => {
|
|
176
|
-
setShowOfficerEditIcon(true);
|
|
177
|
-
setOfficerEditable(false);
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
async function onChangeResignation(o) {
|
|
181
|
-
var _a;
|
|
182
|
-
const dataList = clone((_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.removeOfficers);
|
|
183
|
-
const removeOfficer = {
|
|
184
|
-
officer: { id: o.contact.id, name: o.contact.name },
|
|
185
|
-
};
|
|
186
|
-
const removeOfficers = dataList ? [...dataList, removeOfficer] : [removeOfficer];
|
|
187
|
-
const removeOfficersToUpperCase = changeName(removeOfficers);
|
|
188
|
-
await store
|
|
189
|
-
.edit(props.id, {
|
|
190
|
-
data: {
|
|
191
|
-
RemoveOfficers: removeOfficersToUpperCase,
|
|
192
|
-
},
|
|
193
|
-
})
|
|
194
|
-
.then(() => {
|
|
195
|
-
setShowResignationEditIcon(true);
|
|
196
|
-
setResignationEditable(false);
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
async function onSaveOfficer(info) {
|
|
200
|
-
var _a;
|
|
201
|
-
if (info) {
|
|
202
|
-
const dataList = clone((_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.newOfficers);
|
|
203
|
-
const newOfficer = {
|
|
204
|
-
newData: {
|
|
205
|
-
id: uuid(),
|
|
206
|
-
name: info.FullName,
|
|
207
|
-
email: info.Email,
|
|
208
|
-
phone: info.Phone,
|
|
209
|
-
address: info.Address,
|
|
210
|
-
identity: {
|
|
211
|
-
number: info.Number,
|
|
212
|
-
country: info.Country,
|
|
213
|
-
expiryDate: info.ExpiryDate,
|
|
214
|
-
type: info.Type,
|
|
215
|
-
},
|
|
216
|
-
type: info.UnitType,
|
|
217
|
-
},
|
|
218
|
-
};
|
|
219
|
-
const officers = dataList ? [...dataList, newOfficer] : [newOfficer];
|
|
220
|
-
const officersToUpperCase = changeName(officers);
|
|
221
|
-
store.edit(props.id, {
|
|
222
|
-
data: {
|
|
223
|
-
NewOfficers: officersToUpperCase,
|
|
224
|
-
},
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
setShowOfficerDialog(false);
|
|
228
|
-
}
|
|
229
|
-
async function onSaveResignation(info) {
|
|
230
|
-
var _a;
|
|
231
|
-
if (info) {
|
|
232
|
-
const dataList = clone((_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.removeOfficers);
|
|
233
|
-
const removeOfficer = {
|
|
234
|
-
newData: {
|
|
235
|
-
id: uuid(),
|
|
236
|
-
name: info.FullName,
|
|
237
|
-
email: info.Email,
|
|
238
|
-
phone: info.Phone,
|
|
239
|
-
address: info.Address,
|
|
240
|
-
identity: {
|
|
241
|
-
number: info.Number,
|
|
242
|
-
country: info.Country,
|
|
243
|
-
expiryDate: info.ExpiryDate,
|
|
244
|
-
type: info.Type,
|
|
245
|
-
},
|
|
246
|
-
type: info.UnitType,
|
|
247
|
-
},
|
|
248
|
-
};
|
|
249
|
-
const officers = dataList ? [...dataList, removeOfficer] : [removeOfficer];
|
|
250
|
-
const officersToUpperCase = changeName(officers);
|
|
251
|
-
store.edit(props.id, {
|
|
252
|
-
data: {
|
|
253
|
-
RemoveOfficers: officersToUpperCase,
|
|
254
|
-
},
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
setShowResignationDialog(false);
|
|
258
|
-
}
|
|
259
|
-
};
|
|
260
|
-
export default ChangeOfficerForm;
|
|
261
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/incorporation/change-officer/index.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACxD,OAAO,EAAiB,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,OAAO,EAAE,UAAU,EA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OAAO,0CAAE,cAAc,CAAC,CAAC;YAE9D,MAAM,aAAa,GAAG;gBACrB,OAAO,EAAE;oBACR,EAAE,EAAE,IAAI,EAAE;oBACV,IAAI,EAAE,IAAI,CAAC,QAAQ;oBACnB,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,OAAO,EAAE,IAAI,CAAC,OAAO;oBACrB,QAAQ,EAAE;wBACT,MAAM,EAAE,IAAI,CAAC,MAAM;wBACnB,OAAO,EAAE,IAAI,CAAC,OAAO;wBACrB,UAAU,EAAE,IAAI,CAAC,UAAU;wBAC3B,IAAI,EAAE,IAAI,CAAC,IAAI;qBACf;oBACD,IAAI,EAAE,IAAI,CAAC,QAAQ;iBACnB;aACD,CAAC;YACF,MAAM,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;YAE3E,MAAM,mBAAmB,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;YAEjD,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;gBACpB,IAAI,EAAE;oBACL,cAAc,EAAE,mBAAmB;iBACnC;aACD,CAAC,CAAC;SACH;QACD,wBAAwB,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
.appoint-officer-from-review {
|
|
4
|
-
max-width: 1000px;
|
|
5
|
-
padding: 20px !important;
|
|
6
|
-
margin: 0 auto;
|
|
7
|
-
|
|
8
|
-
:global {
|
|
9
|
-
.appoint-officer-from-btn {
|
|
10
|
-
display: flex;
|
|
11
|
-
justify-content: end;
|
|
12
|
-
padding-bottom: 20px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.new-officer-select {
|
|
16
|
-
margin-bottom: 15px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.new-officer-details-list {
|
|
20
|
-
margin-bottom: 20px;
|
|
21
|
-
|
|
22
|
-
.new-officer-details-item {
|
|
23
|
-
.halvingline {
|
|
24
|
-
margin-bottom: 40px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.new-officer-title {
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
|
|
31
|
-
.new-officer-title-info {
|
|
32
|
-
flex: 1;
|
|
33
|
-
|
|
34
|
-
.ant-input-affix-wrapper {
|
|
35
|
-
border-radius: @border-radius;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.new-officer-name {
|
|
40
|
-
color: rgba(0, 0, 0, 0.85);
|
|
41
|
-
font-weight: bold;
|
|
42
|
-
font-size: 16px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.action-button {
|
|
46
|
-
font-size: 14px;
|
|
47
|
-
|
|
48
|
-
> span {
|
|
49
|
-
margin-left: 6px;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.delete-icon {
|
|
54
|
-
&:hover {
|
|
55
|
-
color: @delete-color;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.edit-icon {
|
|
60
|
-
&:hover {
|
|
61
|
-
color: @primary-color;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.new-officer-position {
|
|
68
|
-
padding-top: 25px;
|
|
69
|
-
padding-right: 3em;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.basic-info {
|
|
73
|
-
display: flex;
|
|
74
|
-
line-height: 0;
|
|
75
|
-
margin-top: 10px;
|
|
76
|
-
|
|
77
|
-
.shares-input {
|
|
78
|
-
flex: 1;
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
margin-right: 3em;
|
|
82
|
-
|
|
83
|
-
.ant-input-number {
|
|
84
|
-
width: 100%;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.ant-input-number-disabled {
|
|
88
|
-
color: rgba(0, 0, 0, 0.85);
|
|
89
|
-
background-color: transparent;
|
|
90
|
-
cursor: auto;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.ant-input-number-prefix {
|
|
94
|
-
color: #000;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.ant-input-number-affix-wrapper {
|
|
98
|
-
width: 100%;
|
|
99
|
-
border-radius: @border-radius;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.ant-input-number-affix-wrapper-disabled {
|
|
103
|
-
padding: 0;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.ant-input-affix-wrapper {
|
|
108
|
-
flex: 1;
|
|
109
|
-
border-radius: 8px;
|
|
110
|
-
margin-right: 3em;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.ant-input-affix-wrapper-disabled {
|
|
114
|
-
color: rgba(0, 0, 0, 0.85);
|
|
115
|
-
cursor: auto;
|
|
116
|
-
padding: 4px 0 !important;
|
|
117
|
-
|
|
118
|
-
.ant-input[disabled] {
|
|
119
|
-
color: rgba(0, 0, 0, 0.85);
|
|
120
|
-
cursor: auto;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.basic-val {
|
|
125
|
-
font-size: 14px;
|
|
126
|
-
font-weight: 400;
|
|
127
|
-
color: rgba(0, 0, 0, 0.45);
|
|
128
|
-
margin-right: 15px;
|
|
129
|
-
|
|
130
|
-
.svg-inline--fa {
|
|
131
|
-
margin-right: 5px;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.new-officer-info-content {
|
|
137
|
-
display: flex;
|
|
138
|
-
flex-direction: column;
|
|
139
|
-
|
|
140
|
-
> div:nth-child(2) {
|
|
141
|
-
margin-bottom: 10px;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.new-officer-info-item {
|
|
145
|
-
flex: 1;
|
|
146
|
-
position: relative;
|
|
147
|
-
padding-right: 3em;
|
|
148
|
-
|
|
149
|
-
.buttons {
|
|
150
|
-
position: absolute;
|
|
151
|
-
right: 30px;
|
|
152
|
-
top: 0;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.new-officer-item-name {
|
|
156
|
-
padding-bottom: 16px;
|
|
157
|
-
font-size: 16px;
|
|
158
|
-
font-weight: bold;
|
|
159
|
-
|
|
160
|
-
svg {
|
|
161
|
-
margin-right: 5px;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.new-officer-info-address {
|
|
166
|
-
padding-bottom: 16px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.morpho-inline-edit {
|
|
170
|
-
width: 80%;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState } from "react";
|
|
2
|
-
import { Spin, Form, Button, Space, Radio, Select, Input, DatePicker } from "antd";
|
|
3
|
-
import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
|
|
4
|
-
import { IncorporationFormContext, State } from "../context";
|
|
5
|
-
import { ValidationCollections, ValidationCollectionsContext } from "@voplus/morpho-data";
|
|
6
|
-
import { observe, InlineEdit } from "@voplus/morpho-ui";
|
|
7
|
-
import CorporateSelect from "../../../../corporate/components/CorporateSelect";
|
|
8
|
-
import CorporateOfficerSelect from "../../../../corporate/company/components/CorporateOfficerSelect";
|
|
9
|
-
import NewLegalContactDialog from "../../../../corporate/company/identity/components/NewLegalContactDialog";
|
|
10
|
-
import Section from "../../../controls/Section";
|
|
11
|
-
import classnames from "classnames";
|
|
12
|
-
import styles from "./index.less";
|
|
13
|
-
const IssueSharesForm = (props) => {
|
|
14
|
-
const [validations] = useState(new ValidationCollections());
|
|
15
|
-
const [state] = useState(new State());
|
|
16
|
-
const [loaded, setLoaded] = useState(true);
|
|
17
|
-
const [selectAllotment, setSelectAllotment] = useState("select");
|
|
18
|
-
const [showDialog, setShowDialog] = useState(false);
|
|
19
|
-
const incorporation = useCLDAForm(props.id, { reload: true });
|
|
20
|
-
const store = useCLDAFormStore();
|
|
21
|
-
const [showAllotmentEditIcon, setShowAllotmentEditIcon] = useState(true);
|
|
22
|
-
const [allotmentEditable, setAllotmentEditable] = useState(false);
|
|
23
|
-
const [companyEditable, setCompanyEditable] = useState(false);
|
|
24
|
-
const [showCompanyEditIcon, setShowCompanyEditIcon] = useState(true);
|
|
25
|
-
const [showCountryEditIcon, setShowCountryEditIcon] = useState(true);
|
|
26
|
-
const [countryEditable, setCountryEditable] = useState(false);
|
|
27
|
-
const clickEvent = (e) => {
|
|
28
|
-
if (!e.target.className.toString())
|
|
29
|
-
return;
|
|
30
|
-
if (!e.target.className.toString().includes("ant-select")) {
|
|
31
|
-
setAllotmentEditable(false);
|
|
32
|
-
setShowAllotmentEditIcon(true);
|
|
33
|
-
setCompanyEditable(false);
|
|
34
|
-
setShowCompanyEditIcon(true);
|
|
35
|
-
setCountryEditable(false);
|
|
36
|
-
setShowCountryEditIcon(true);
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
useEffect(() => {
|
|
40
|
-
if (allotmentEditable || companyEditable || countryEditable) {
|
|
41
|
-
window.addEventListener("click", clickEvent, true);
|
|
42
|
-
}
|
|
43
|
-
return () => {
|
|
44
|
-
window.removeEventListener("click", clickEvent, true);
|
|
45
|
-
};
|
|
46
|
-
}, [allotmentEditable, companyEditable, countryEditable]);
|
|
47
|
-
const content = observe(() => (React.createElement("div", { className: classnames("incorporation-form-view", styles["issue-shares-from-review"]) },
|
|
48
|
-
React.createElement(Spin, { spinning: !incorporation.loaded }, incorporation.loaded && (React.createElement(ValidationCollectionsContext.Provider, { value: validations },
|
|
49
|
-
React.createElement(Section, { title: "Document Details" },
|
|
50
|
-
React.createElement(Form, { layout: "horizontal", labelAlign: "left", labelCol: { span: 6 } },
|
|
51
|
-
React.createElement(Form.Item, { label: "Company", name: "Company" },
|
|
52
|
-
React.createElement(CorporateSelect, null)),
|
|
53
|
-
React.createElement(Form.Item, { label: "Share Type", name: "ShareType" },
|
|
54
|
-
React.createElement(Select, { placeholder: "Please select Share Type" },
|
|
55
|
-
React.createElement(Select.Option, { value: "Ordinary" }, "Ordinary"),
|
|
56
|
-
React.createElement(Select.Option, { value: "Preference" }, "Preference"))),
|
|
57
|
-
React.createElement(Form.Item, { label: "Number of New Share", name: "NewShareNumber" },
|
|
58
|
-
React.createElement(Input, null)),
|
|
59
|
-
React.createElement(Form.Item, { label: "Price(per share)", name: "Price" },
|
|
60
|
-
React.createElement(Input, null)),
|
|
61
|
-
React.createElement(Form.Item, { label: "Currency", name: "Currency" },
|
|
62
|
-
React.createElement(Select, { placeholder: "Please select Currency" },
|
|
63
|
-
React.createElement(Select.Option, { value: "SGD" }, "SGD"),
|
|
64
|
-
React.createElement(Select.Option, { value: "USD" }, "USD"))),
|
|
65
|
-
React.createElement(Form.Item, { label: "Document Date", name: "Date" },
|
|
66
|
-
React.createElement(DatePicker, { format: "YYYY/MM/DD" })))),
|
|
67
|
-
React.createElement(Section, { title: "Share Info" },
|
|
68
|
-
React.createElement(Form, { layout: "horizontal", labelAlign: "left", labelCol: { span: 6 } },
|
|
69
|
-
React.createElement(Form.Item, { label: "Total New Capital", name: "NewCapitalTotal" },
|
|
70
|
-
React.createElement(Input, null)),
|
|
71
|
-
React.createElement(Form.Item, { label: "Balance Shares", name: "BalanceShares" },
|
|
72
|
-
React.createElement(Input, null)))),
|
|
73
|
-
React.createElement(Section, { title: "Allotment Details" },
|
|
74
|
-
React.createElement("div", { className: "new-officer-select" },
|
|
75
|
-
React.createElement(Radio.Group, { onChange: onChange, value: selectAllotment },
|
|
76
|
-
React.createElement(Radio, { value: "select" }, "Select From Existing"),
|
|
77
|
-
React.createElement(Radio, { value: "new" }, "Input New"))),
|
|
78
|
-
selectAllotment === "select" ? (React.createElement(InlineEdit, { defaultValue: "", showEditIcon: showAllotmentEditIcon, editable: false, onEditIconClick: () => {
|
|
79
|
-
setAllotmentEditable(true);
|
|
80
|
-
setShowAllotmentEditIcon(false);
|
|
81
|
-
}, content: (v) => {
|
|
82
|
-
var _a, _b;
|
|
83
|
-
return allotmentEditable ? (React.createElement(CorporateOfficerSelect, { disable: !((_a = incorporation.content.corporate) === null || _a === void 0 ? void 0 : _a.id), corporateId: ((_b = incorporation.content.corporate) === null || _b === void 0 ? void 0 : _b.id) || "", onChange: onChangeOfficer })) : (React.createElement("span", { className: "add-info-style" }, "Select Allotment"));
|
|
84
|
-
} })) : selectAllotment === "new" ? (React.createElement(Button, { onClick: () => setShowDialog(true) }, "New Allotment Details")) : null,
|
|
85
|
-
showDialog && React.createElement(NewLegalContactDialog, { visible: true, updateVisible: onSave })),
|
|
86
|
-
React.createElement("div", { className: "issue-shares-from-btn" },
|
|
87
|
-
React.createElement(Space, null,
|
|
88
|
-
React.createElement(Button, { size: "middle" }, "Download"),
|
|
89
|
-
React.createElement(Button, { type: "primary", size: "middle" }, "General E-Sign")))))))));
|
|
90
|
-
return observe(() => (React.createElement(IncorporationFormContext.Provider, { value: state }, content)));
|
|
91
|
-
function onReload() {
|
|
92
|
-
setLoaded(false);
|
|
93
|
-
setTimeout(() => {
|
|
94
|
-
setLoaded(true);
|
|
95
|
-
}, 100);
|
|
96
|
-
}
|
|
97
|
-
function onChange(e) {
|
|
98
|
-
setSelectAllotment(e.target.value);
|
|
99
|
-
}
|
|
100
|
-
async function onChangeOfficer(o) { }
|
|
101
|
-
async function onSave(info) {
|
|
102
|
-
setShowDialog(false);
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
export default IssueSharesForm;
|
|
106
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/incorporation/issue-shares/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAY,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC7F,OAAO,EAAiB,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE7F,OAAO,EAAE,wBAAwB,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAE7D,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAMxD,OAAO,eAAe,MAAM,kDAAkD,CAAC;AAC/E,OAAO,sBAAsB,MAAM,iEAAiE,CAAC;AACrG,OAAO,qBAAqB,MAAM,yEAAyE,CAAC;AAC5G,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,eAAe,GAAG,CAAC,KAAoB,EAAE,EAAE;IAChD,MAAM,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC,IAAI,qBAAqB,EAAE,CAAC,CAAC;IAC5D,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE3C,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAmB,QAAQ,CAAC,C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