@voplus/morpho-csp 4.0.16 → 4.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Modules.js +2 -0
- package/es/Modules.js.map +1 -1
- package/es/data/agm-clda/metas.js +1 -1
- package/es/data/agm-clda/metas.js.map +1 -1
- package/es/data/clda-form/interfaces.d.ts +13 -0
- package/es/data/clda-form/types.d.ts +13 -0
- package/es/data/company-general/metas.d.ts +13 -0
- package/es/data/company-general/metas.js +37 -0
- package/es/data/company-general/metas.js.map +1 -0
- package/es/data/incorporation-clda/metas.js +1 -1
- package/es/data/incorporation-clda/metas.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAItem/index.js +1 -1
- package/es/modules/corporate/clda/components/CLDAItem/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js +1 -1
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js.map +1 -1
- 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.js +4 -4
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js.map +1 -1
- 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/index.js +50 -9
- 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/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js +1 -1
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.d.ts +4 -0
- package/es/modules/self-registration/incorporation-clda/pages/{CLDAIncorporationDefaultView → CLDADefaultView}/index.js +2 -2
- package/es/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.js.map +1 -0
- package/es/routes.d.ts +1 -1
- package/es/routes.js +9 -9
- package/es/routes.js.map +1 -1
- package/package.json +1 -1
- 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/incorporation-clda/pages/CLDAIncorporationDefaultView/index.d.ts +0 -4
- package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.js.map +0 -1
- /package/es/modules/self-registration/incorporation-clda/pages/{CLDAIncorporationDefaultView → CLDADefaultView}/index.less +0 -0
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { makeObservable, observable } from "mobx";
|
|
3
|
+
export class State {
|
|
4
|
+
constructor() {
|
|
5
|
+
Object.defineProperty(this, "Params", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
configurable: true,
|
|
8
|
+
writable: true,
|
|
9
|
+
value: {
|
|
10
|
+
ShareholderId: "",
|
|
11
|
+
Currency: "",
|
|
12
|
+
ShareClass: "",
|
|
13
|
+
Shares: 0,
|
|
14
|
+
Consideration: 0,
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(this, "params", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
configurable: true,
|
|
20
|
+
writable: true,
|
|
21
|
+
value: this.Params
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(this, "loading", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
configurable: true,
|
|
26
|
+
writable: true,
|
|
27
|
+
value: false
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(this, "newLegalContactVisible", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true,
|
|
33
|
+
value: false
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(this, "selectedIds", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
configurable: true,
|
|
38
|
+
writable: true,
|
|
39
|
+
value: []
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(this, "currencyList", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
configurable: true,
|
|
44
|
+
writable: true,
|
|
45
|
+
value: [
|
|
46
|
+
"AFN",
|
|
47
|
+
"EUR",
|
|
48
|
+
"ALL",
|
|
49
|
+
"DZD",
|
|
50
|
+
"USD",
|
|
51
|
+
"AOA",
|
|
52
|
+
"XCD",
|
|
53
|
+
"ARS",
|
|
54
|
+
"AMD",
|
|
55
|
+
"AWG",
|
|
56
|
+
"AUD",
|
|
57
|
+
"AZN",
|
|
58
|
+
"BSD",
|
|
59
|
+
"BHD",
|
|
60
|
+
"BDT",
|
|
61
|
+
"BBD",
|
|
62
|
+
"BYN",
|
|
63
|
+
"BZD",
|
|
64
|
+
"BMD",
|
|
65
|
+
"INR",
|
|
66
|
+
"BTN",
|
|
67
|
+
"BOB",
|
|
68
|
+
"BOV",
|
|
69
|
+
"BAM",
|
|
70
|
+
"BWP",
|
|
71
|
+
"NOK",
|
|
72
|
+
"BRL",
|
|
73
|
+
"BND",
|
|
74
|
+
"BGN",
|
|
75
|
+
"XOF",
|
|
76
|
+
"BIF",
|
|
77
|
+
"CVE",
|
|
78
|
+
"KHR",
|
|
79
|
+
"XAF",
|
|
80
|
+
"CAD",
|
|
81
|
+
"KYD",
|
|
82
|
+
"CLP",
|
|
83
|
+
"CLF",
|
|
84
|
+
"CNY",
|
|
85
|
+
"COP",
|
|
86
|
+
"COU",
|
|
87
|
+
"KMF",
|
|
88
|
+
"CDF",
|
|
89
|
+
"NZD",
|
|
90
|
+
"CRC",
|
|
91
|
+
"HRK",
|
|
92
|
+
"CUP",
|
|
93
|
+
"CUC",
|
|
94
|
+
"ANG",
|
|
95
|
+
"CZK",
|
|
96
|
+
"DKK",
|
|
97
|
+
"DJF",
|
|
98
|
+
"DOP",
|
|
99
|
+
"EGP",
|
|
100
|
+
"SVC",
|
|
101
|
+
"ERN",
|
|
102
|
+
"ETB",
|
|
103
|
+
"FKP",
|
|
104
|
+
"FJD",
|
|
105
|
+
"XPF",
|
|
106
|
+
"GMD",
|
|
107
|
+
"GEL",
|
|
108
|
+
"GHS",
|
|
109
|
+
"GIP",
|
|
110
|
+
"GTQ",
|
|
111
|
+
"GBP",
|
|
112
|
+
"GNF",
|
|
113
|
+
"GYD",
|
|
114
|
+
"HTG",
|
|
115
|
+
"HNL",
|
|
116
|
+
"HKD",
|
|
117
|
+
"HUF",
|
|
118
|
+
"ISK",
|
|
119
|
+
"IDR",
|
|
120
|
+
"XDR",
|
|
121
|
+
"IRR",
|
|
122
|
+
"IQD",
|
|
123
|
+
"ILS",
|
|
124
|
+
"JMD",
|
|
125
|
+
"JPY",
|
|
126
|
+
"JOD",
|
|
127
|
+
"KZT",
|
|
128
|
+
"KES",
|
|
129
|
+
"KPW",
|
|
130
|
+
"KRW",
|
|
131
|
+
"KWD",
|
|
132
|
+
"KGS",
|
|
133
|
+
"LAK",
|
|
134
|
+
"LBP",
|
|
135
|
+
"LSL",
|
|
136
|
+
"ZAR",
|
|
137
|
+
"LRD",
|
|
138
|
+
"LYD",
|
|
139
|
+
"CHF",
|
|
140
|
+
"MOP",
|
|
141
|
+
"MKD",
|
|
142
|
+
"MGA",
|
|
143
|
+
"MWK",
|
|
144
|
+
"MYR",
|
|
145
|
+
"MVR",
|
|
146
|
+
"MRU",
|
|
147
|
+
"MUR",
|
|
148
|
+
"XUA",
|
|
149
|
+
"MXN",
|
|
150
|
+
"MXV",
|
|
151
|
+
"MDL",
|
|
152
|
+
"MNT",
|
|
153
|
+
"MAD",
|
|
154
|
+
"MZN",
|
|
155
|
+
"MMK",
|
|
156
|
+
"NAD",
|
|
157
|
+
"NPR",
|
|
158
|
+
"NIO",
|
|
159
|
+
"NGN",
|
|
160
|
+
"OMR",
|
|
161
|
+
"PKR",
|
|
162
|
+
"PAB",
|
|
163
|
+
"PGK",
|
|
164
|
+
"PYG",
|
|
165
|
+
"PEN",
|
|
166
|
+
"PHP",
|
|
167
|
+
"PLN",
|
|
168
|
+
"QAR",
|
|
169
|
+
"RON",
|
|
170
|
+
"RUB",
|
|
171
|
+
"RWF",
|
|
172
|
+
"SHP",
|
|
173
|
+
"WST",
|
|
174
|
+
"STN",
|
|
175
|
+
"SAR",
|
|
176
|
+
"RSD",
|
|
177
|
+
"SCR",
|
|
178
|
+
"SLL",
|
|
179
|
+
"SGD",
|
|
180
|
+
"XSU",
|
|
181
|
+
"SBD",
|
|
182
|
+
"SOS",
|
|
183
|
+
"SSP",
|
|
184
|
+
"LKR",
|
|
185
|
+
"SDG",
|
|
186
|
+
"SRD",
|
|
187
|
+
"SZL",
|
|
188
|
+
"SEK",
|
|
189
|
+
"CHE",
|
|
190
|
+
"CHW",
|
|
191
|
+
"SYP",
|
|
192
|
+
"TWD",
|
|
193
|
+
"TJS",
|
|
194
|
+
"THB",
|
|
195
|
+
"TOP",
|
|
196
|
+
"TTD",
|
|
197
|
+
"TND",
|
|
198
|
+
"TRY",
|
|
199
|
+
"TMT",
|
|
200
|
+
"UGX",
|
|
201
|
+
"UAH",
|
|
202
|
+
"AED",
|
|
203
|
+
"USN",
|
|
204
|
+
"UYU",
|
|
205
|
+
"UYI",
|
|
206
|
+
"UYW",
|
|
207
|
+
"UZS",
|
|
208
|
+
"VUV",
|
|
209
|
+
"VES",
|
|
210
|
+
"VND",
|
|
211
|
+
"YER",
|
|
212
|
+
"ZMW",
|
|
213
|
+
"ZWL",
|
|
214
|
+
"XBA",
|
|
215
|
+
"XBB",
|
|
216
|
+
"XBC",
|
|
217
|
+
"XBD",
|
|
218
|
+
"XTS",
|
|
219
|
+
"XXX",
|
|
220
|
+
"XAU",
|
|
221
|
+
"XPD",
|
|
222
|
+
"XPT",
|
|
223
|
+
"XAG",
|
|
224
|
+
]
|
|
225
|
+
});
|
|
226
|
+
makeObservable(this);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
__decorate([
|
|
230
|
+
observable
|
|
231
|
+
], State.prototype, "params", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
observable
|
|
234
|
+
], State.prototype, "loading", void 0);
|
|
235
|
+
__decorate([
|
|
236
|
+
observable
|
|
237
|
+
], State.prototype, "newLegalContactVisible", void 0);
|
|
238
|
+
__decorate([
|
|
239
|
+
observable
|
|
240
|
+
], State.prototype, "selectedIds", void 0);
|
|
241
|
+
__decorate([
|
|
242
|
+
observable
|
|
243
|
+
], State.prototype, "currencyList", void 0);
|
|
244
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/A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gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;gBACL,KAAK;aACL;WAAC;QAlMD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAkMD;AAzLY;IAAX,UAAU;qCAA6B;AAC5B;IAAX,UAAU;sCAAwB;AACvB;IAAX,UAAU;qDAAuC;AACtC;IAAX,UAAU;0CAAmC;AAElC;IAAX,UAAU;2CAmLT"}
|
|
@@ -13,7 +13,7 @@ const AddTransferDialog = (props) => {
|
|
|
13
13
|
const store = useCLDAFormStore();
|
|
14
14
|
const incorporation = useCLDAForm(id);
|
|
15
15
|
const [state] = useState(new State());
|
|
16
|
-
let formData;
|
|
16
|
+
let [formData] = Form.useForm();
|
|
17
17
|
useAutorunEffect(() => {
|
|
18
18
|
var _a, _b;
|
|
19
19
|
return (_b = (_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.contacts) === null || _b === void 0 ? void 0 : _b.map((item) => item.idType === "ExistingContactId" && state.ExistingContactList.push(item));
|
|
@@ -21,11 +21,11 @@ const AddTransferDialog = (props) => {
|
|
|
21
21
|
return observe(() => {
|
|
22
22
|
var _a, _b, _c;
|
|
23
23
|
return (React.createElement(Modal, { open: true, width: 500, title: "Add Transfer", okText: "Add", onOk: onAdd, wrapClassName: "add-transfer-dialog", onCancel: onCancel },
|
|
24
|
-
React.createElement(Form, { labelCol: { span: 6 }, labelAlign: "left",
|
|
24
|
+
React.createElement(Form, { labelCol: { span: 6 }, labelAlign: "left", form: formData, initialValues: {
|
|
25
25
|
TransforId: undefined,
|
|
26
26
|
TransfeeId: undefined,
|
|
27
27
|
ShareClass: undefined,
|
|
28
|
-
|
|
28
|
+
Shares: null,
|
|
29
29
|
Consideration: null,
|
|
30
30
|
} },
|
|
31
31
|
React.createElement(Form.Item, { label: "Transferor", name: "TransforId", rules: [{ required: true, message: "Transferor can not be empty" }] },
|
|
@@ -45,7 +45,7 @@ const AddTransferDialog = (props) => {
|
|
|
45
45
|
label: "Preference",
|
|
46
46
|
},
|
|
47
47
|
] })),
|
|
48
|
-
React.createElement(Form.Item, { label: "Share", name: "
|
|
48
|
+
React.createElement(Form.Item, { label: "Share", name: "Shares", rules: [{ required: true, message: "Share can not be empty" }] },
|
|
49
49
|
React.createElement(InputNumber, { placeholder: "please input Share", onChange: (value) => (state.params.Shares = value) })),
|
|
50
50
|
React.createElement(Form.Item, { label: "Consideration", name: "Consideration", rules: [{ required: true, message: "Consideration can not be empty" }] },
|
|
51
51
|
React.createElement(InputNumber, { placeholder: "please input Consideration", onChange: (value) => (state.params.Consideration = value) }))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,gDAAgD,CAAC;AAC5E,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OA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,MAAA,aAAa,CAAC,OAAO,0CAAE,eAAe,0CAAE,SAAS,CAAC;YAClE,IAAI,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,MAAM;gBAAE,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;YAEzD,MAAM,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;gBACpB,IAAI,EAAE;oBACL,eAAe,EAAE;wBAChB,SAAS,EAAE,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,MAAM,EAAC,CAAC,CAAC,CAAC,GAAG,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC;qBAC5E;iBACD;gBACD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YAEH,QAAQ,EAAE,CAAC;SACX;QAAC,OAAO,KAAK,EAAE,GAAE;IACnB,CAAC;IAED,SAAS,QAAQ;;QAChB,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;QACnB,QAAQ,CAAC,WAAW,EAAE,CAAC;QACvB,KAAK,CAAC,MAAM,GAAG;YACd,UAAU,EAAE,EAAE;YACd,UAAU,EAAE,EAAE;YACd,UAAU,EAAE,EAAE;YACd,MAAM,EAAE,CAAC;YACT,aAAa,EAAE,CAAC;SAChB,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IFormPeopleOptions, IAllotment } from "../../../../../../../data/clda-form";
|
|
3
|
+
declare const AllotmentItem: (props: {
|
|
4
|
+
allotment: IAllotment;
|
|
5
|
+
contact: IFormPeopleOptions;
|
|
6
|
+
contacts: IFormPeopleOptions[];
|
|
7
|
+
allotmentLength?: number | undefined;
|
|
8
|
+
onReload?: (() => void) | undefined;
|
|
9
|
+
onSave?: ((allotment: IAllotment, contact?: IFormPeopleOptions) => void) | undefined;
|
|
10
|
+
onDeleteClick?: (() => void) | undefined;
|
|
11
|
+
}) => JSX.Element;
|
|
12
|
+
export default AllotmentItem;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { Button, Col, Divider, Form, Row, Input, Select, InputNumber } from "antd";
|
|
3
|
+
import { UserOutlined } from "@ant-design/icons";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { State } from "../AddAllotmentDialog/state";
|
|
6
|
+
import { faAddressCard, faEnvelope, faMapMarkerAlt, faPhone, faTrashAlt, faPenToSquare, } from "@fortawesome/pro-light-svg-icons";
|
|
7
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
8
|
+
import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
|
|
9
|
+
import { useIncorporationFormContext } from "../../../context";
|
|
10
|
+
import IdentityChange from "../../../../../../corporate/company/identity/components/IdentityChange";
|
|
11
|
+
import Address from "@voplus/morpho-org/es/components/Address";
|
|
12
|
+
import moment from "moment";
|
|
13
|
+
import styles from "./index.less";
|
|
14
|
+
const AllotmentItem = (props) => {
|
|
15
|
+
const { allotment, contact, contacts } = props;
|
|
16
|
+
const [addAllotmentState] = useState(new State());
|
|
17
|
+
const [editable, setEditable] = useState(false);
|
|
18
|
+
const context = useIncorporationFormContext();
|
|
19
|
+
return observe(() => {
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
21
|
+
return (React.createElement(React.Fragment, null,
|
|
22
|
+
React.createElement("div", { className: styles["company-general-allotment-info"] },
|
|
23
|
+
React.createElement("div", { className: "company-general-allotment-title" },
|
|
24
|
+
React.createElement("div", { className: "company-general-allotment-title-info" }, editable && contact.idType === "NewId" ? (React.createElement(Input, { prefix: React.createElement(UserOutlined, null), defaultValue: contact === null || contact === void 0 ? void 0 : contact.name, value: contact === null || contact === void 0 ? void 0 : contact.name, onChange: (e) => (contact.name = e.target.value) })) : (React.createElement("span", { className: "company-general-allotment-name" }, contact === null || contact === void 0 ? void 0 : contact.name))),
|
|
25
|
+
(context ? context.editable : true) && (React.createElement("div", { className: "action-button" },
|
|
26
|
+
React.createElement("span", { className: "edit-icon", onClick: () => setEditable(!editable) },
|
|
27
|
+
React.createElement(FontAwesomeIcon, { icon: faPenToSquare })),
|
|
28
|
+
React.createElement("span", { className: "delete-icon", onClick: props.onDeleteClick },
|
|
29
|
+
React.createElement(FontAwesomeIcon, { icon: faTrashAlt }))))),
|
|
30
|
+
React.createElement("div", { className: "company-general-allotment-content" },
|
|
31
|
+
React.createElement(ColumnItem, null,
|
|
32
|
+
React.createElement(ColumnItemCol, { span: 8, title: "Shareholder" }, editable ? (React.createElement(Select, { showSearch: true, style: { width: "100%" }, defaultValue: contact.name, placeholder: "Select a contact", optionFilterProp: "children", onChange: (shareholder) => (allotment.shareholderId = shareholder), popupClassName: "add-allotment-select-contact", filterOption: (input, option) => (option === null || option === void 0 ? void 0 : option.children.toLowerCase().indexOf(input.toLowerCase())) >= 0 }, contacts === null || contacts === void 0 ? void 0 : contacts.map((item) => (React.createElement(Select.Option, { key: item.id, value: item.id }, item.name))))) : (React.createElement("span", null, contact.name))),
|
|
33
|
+
React.createElement(ColumnItemCol, { span: 4, title: "Currency" }, editable ? (React.createElement(Select, { placeholder: "Select Share Currency", style: { width: "100%" }, value: allotment.currency, optionFilterProp: "children", onChange: (value) => (allotment.currency = value) }, addAllotmentState.currencyList.map((currency) => (React.createElement(Select.Option, { key: currency, value: currency }, currency))))) : (React.createElement("span", null, allotment.currency))),
|
|
34
|
+
React.createElement(ColumnItemCol, { span: 4, title: "Class" }, editable ? (React.createElement(Select, { placeholder: "Select Share Class", style: { width: "100%" }, value: allotment.shareClass, optionFilterProp: "children", onChange: (value) => (allotment.shareClass = value), filterOption: (input, option) => { var _a; return ((_a = option === null || option === void 0 ? void 0 : option.label) !== null && _a !== void 0 ? _a : "").toLowerCase().includes(input.toLowerCase()); }, options: [
|
|
35
|
+
{
|
|
36
|
+
value: "Ordinary",
|
|
37
|
+
label: "Ordinary",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
value: "Preference",
|
|
41
|
+
label: "Preference",
|
|
42
|
+
},
|
|
43
|
+
] })) : (React.createElement("span", null, allotment.shareClass))),
|
|
44
|
+
React.createElement(ColumnItemCol, { span: 4, title: "Shares" }, editable ? (React.createElement(InputNumber, { placeholder: "please input Share", value: allotment.shares, style: { width: "100%" }, onChange: (value) => (allotment.shares = value) })) : (React.createElement("span", null, allotment.shares))),
|
|
45
|
+
React.createElement(ColumnItemCol, { span: 4, title: "Considersion" }, editable ? (React.createElement(InputNumber, { placeholder: "please input Considersion", style: { width: "100%" }, value: allotment.consideration, onChange: (value) => (allotment.consideration = value) })) : (React.createElement("span", null, allotment.consideration))))),
|
|
46
|
+
contact.idType === "NewId" && (React.createElement(React.Fragment, null,
|
|
47
|
+
React.createElement("div", { className: "basic-info" },
|
|
48
|
+
React.createElement(Input, { disabled: !editable, bordered: editable, value: contact === null || contact === void 0 ? void 0 : contact.email, placeholder: "Please enter the email", prefix: React.createElement(FontAwesomeIcon, { icon: faEnvelope }), onChange: (e) => (contact.email = e.target.value) }),
|
|
49
|
+
React.createElement(Input, { disabled: !editable, bordered: editable, value: contact === null || contact === void 0 ? void 0 : contact.phone, placeholder: "Please enter the phone", prefix: React.createElement(FontAwesomeIcon, { icon: faPhone }), onChange: (e) => (contact.phone = e.target.value) })),
|
|
50
|
+
React.createElement("div", { className: "company-general-allotment-info-content" },
|
|
51
|
+
React.createElement("div", { className: "company-general-allotment-info-item" },
|
|
52
|
+
React.createElement("div", { className: "company-general-allotment-item-name" },
|
|
53
|
+
React.createElement(FontAwesomeIcon, { icon: faMapMarkerAlt }),
|
|
54
|
+
"Address:"),
|
|
55
|
+
editable ? (React.createElement(Form, { layout: "horizontal" },
|
|
56
|
+
React.createElement(Address, { value: contact.address, required: ["line1", "city", "postalCode", "country"], onChange: (v) => (contact.address = v) }))) : (React.createElement(React.Fragment, null,
|
|
57
|
+
React.createElement(Row, null,
|
|
58
|
+
React.createElement(Col, null, (_a = contact === null || contact === void 0 ? void 0 : contact.address) === null || _a === void 0 ? void 0 : _a.line1)),
|
|
59
|
+
React.createElement(Row, null,
|
|
60
|
+
React.createElement(Col, null, (_b = contact === null || contact === void 0 ? void 0 : contact.address) === null || _b === void 0 ? void 0 : _b.line2)),
|
|
61
|
+
React.createElement(Row, null,
|
|
62
|
+
React.createElement(Col, null, `${((_c = contact === null || contact === void 0 ? void 0 : contact.address) === null || _c === void 0 ? void 0 : _c.city) ? (_d = contact.address) === null || _d === void 0 ? void 0 : _d.city : ""} ${(_e = contact === null || contact === void 0 ? void 0 : contact.address) === null || _e === void 0 ? void 0 : _e.state} ${(_f = contact === null || contact === void 0 ? void 0 : contact.address) === null || _f === void 0 ? void 0 : _f.country} ${(_g = contact === null || contact === void 0 ? void 0 : contact.address) === null || _g === void 0 ? void 0 : _g.postalCode}`.trim()))))),
|
|
63
|
+
React.createElement("div", { className: "company-general-allotment-info-item" },
|
|
64
|
+
React.createElement("div", { className: "company-general-allotment-item-name" },
|
|
65
|
+
React.createElement(FontAwesomeIcon, { icon: faAddressCard }),
|
|
66
|
+
"Identify Info:"),
|
|
67
|
+
editable ? (React.createElement(IdentityChange, { value: contact === null || contact === void 0 ? void 0 : contact.identity, onChange: (v) => (contact.identity = v) })) : (React.createElement(React.Fragment, null,
|
|
68
|
+
React.createElement(Row, null,
|
|
69
|
+
React.createElement(Col, null, (_h = contact === null || contact === void 0 ? void 0 : contact.identity) === null || _h === void 0 ? void 0 : _h.country)),
|
|
70
|
+
React.createElement(Row, null,
|
|
71
|
+
React.createElement(Col, null, (_j = contact === null || contact === void 0 ? void 0 : contact.identity) === null || _j === void 0 ? void 0 : _j.type)),
|
|
72
|
+
React.createElement(Row, null,
|
|
73
|
+
React.createElement(Col, null, (_k = contact === null || contact === void 0 ? void 0 : contact.identity) === null || _k === void 0 ? void 0 : _k.number)),
|
|
74
|
+
React.createElement(Row, null,
|
|
75
|
+
React.createElement(Col, null,
|
|
76
|
+
"Expiry:",
|
|
77
|
+
((_l = contact === null || contact === void 0 ? void 0 : contact.identity) === null || _l === void 0 ? void 0 : _l.expiryDate) &&
|
|
78
|
+
moment(contact.identity.expiryDate).format("YYYY-MM-DD"))))))))),
|
|
79
|
+
editable && (React.createElement(Row, { justify: "end" },
|
|
80
|
+
React.createElement(Button, { onClick: () => {
|
|
81
|
+
var _a;
|
|
82
|
+
setEditable(false);
|
|
83
|
+
(_a = props.onReload) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
84
|
+
} }, "Cancel"),
|
|
85
|
+
React.createElement(Button, { type: "primary", style: { marginLeft: "1rem" }, onClick: onSave }, "Save"))),
|
|
86
|
+
props.allotmentLength > 1 && React.createElement(Divider, { className: "halvingline" }))));
|
|
87
|
+
});
|
|
88
|
+
async function onSave() {
|
|
89
|
+
var _a;
|
|
90
|
+
setEditable(false);
|
|
91
|
+
(_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props, allotment, contact);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
export default AllotmentItem;
|
|
95
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,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AAS,EAAE,OAAO,CAAC,CAAC;IACpC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
.company-general-allotment-info {
|
|
4
|
+
:global {
|
|
5
|
+
.company-general-allotment-title {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
|
|
9
|
+
.company-general-allotment-title-info {
|
|
10
|
+
flex: 1;
|
|
11
|
+
|
|
12
|
+
.ant-input-affix-wrapper {
|
|
13
|
+
border-radius: @border-radius;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.company-general-allotment-name {
|
|
18
|
+
color: rgba(0, 0, 0, 0.85);
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.action-button {
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
|
|
26
|
+
> span {
|
|
27
|
+
margin-left: 6px;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.delete-icon {
|
|
32
|
+
&:hover {
|
|
33
|
+
color: @delete-color;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.edit-icon {
|
|
38
|
+
&:hover {
|
|
39
|
+
color: @primary-color;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.company-general-allotment-content {
|
|
46
|
+
margin: 15px 0;
|
|
47
|
+
|
|
48
|
+
.custom-column-item___yTecf {
|
|
49
|
+
border-bottom: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.column-item-content {
|
|
53
|
+
& > div:nth-child(2) {
|
|
54
|
+
width: 100%;
|
|
55
|
+
padding-right: 20px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.company-general-allotment {
|
|
61
|
+
padding-right: 3em;
|
|
62
|
+
|
|
63
|
+
.company-general-allotment-name {
|
|
64
|
+
color: rgba(0, 0, 0, 0.85);
|
|
65
|
+
font-size: 16px;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.placeholder {
|
|
70
|
+
color: #00000040;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.halvingline {
|
|
74
|
+
margin-bottom: 40px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.basic-info {
|
|
78
|
+
display: flex;
|
|
79
|
+
line-height: 0;
|
|
80
|
+
margin-top: 10px;
|
|
81
|
+
|
|
82
|
+
.ant-input-affix-wrapper {
|
|
83
|
+
flex: 1;
|
|
84
|
+
border-radius: 8px;
|
|
85
|
+
margin-right: 3em;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ant-input-affix-wrapper-disabled {
|
|
89
|
+
color: rgba(0, 0, 0, 0.85);
|
|
90
|
+
cursor: auto;
|
|
91
|
+
padding: 4px 0;
|
|
92
|
+
|
|
93
|
+
.ant-input[disabled] {
|
|
94
|
+
color: rgba(0, 0, 0, 0.85);
|
|
95
|
+
cursor: auto;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.basic-val {
|
|
100
|
+
font-size: 14px;
|
|
101
|
+
font-weight: 400;
|
|
102
|
+
color: rgba(0, 0, 0, 0.45);
|
|
103
|
+
margin-right: 15px;
|
|
104
|
+
|
|
105
|
+
.svg-inline--fa {
|
|
106
|
+
margin-right: 5px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.company-general-allotment-info-content {
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
|
|
115
|
+
> div:nth-child(2) {
|
|
116
|
+
margin-bottom: 10px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.company-general-allotment-info-item {
|
|
120
|
+
flex: 1;
|
|
121
|
+
position: relative;
|
|
122
|
+
padding-right: 3em;
|
|
123
|
+
|
|
124
|
+
.buttons {
|
|
125
|
+
position: absolute;
|
|
126
|
+
right: 30px;
|
|
127
|
+
top: 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.company-general-allotment-item-name {
|
|
131
|
+
padding-bottom: 16px;
|
|
132
|
+
font-size: 16px;
|
|
133
|
+
font-weight: bold;
|
|
134
|
+
|
|
135
|
+
svg {
|
|
136
|
+
margin-right: 5px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.morpho-inline-edit {
|
|
141
|
+
width: 80%;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.ant-alert-warning {
|
|
147
|
+
margin-top: 10px;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|