@voplus/morpho-csp 4.0.19 → 4.0.21
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/CurrencyView/index.js +1 -180
- package/es/components/CurrencyView/index.js.map +1 -1
- package/es/components/CurrencyView/state.d.ts +0 -1
- package/es/components/CurrencyView/state.js +0 -180
- package/es/components/CurrencyView/state.js.map +1 -1
- package/es/components/DragTableRow/index.d.ts +5 -2
- package/es/components/DragTableRow/index.js +25 -34
- package/es/components/DragTableRow/index.js.map +1 -1
- package/es/data/CLDA/store.d.ts +1 -1
- package/es/data/CLDA/store.js +3 -2
- package/es/data/CLDA/store.js.map +1 -1
- package/es/data/clda-form/interfaces.d.ts +10 -0
- package/es/data/clda-form/types.d.ts +10 -0
- package/es/modules/corporate/clda/controls/CLDAMenu/items/GenerateLegalEnvelope.js +9 -2
- package/es/modules/corporate/clda/controls/CLDAMenu/items/GenerateLegalEnvelope.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +41 -30
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js.map +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionItems/TableDragCell.js +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionItems/index.js +36 -25
- package/es/modules/corporate/share-options-register/components/ShareOptionItems/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailItem/index.d.ts +1 -1
- package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailItem/index.js +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailItem/state.d.ts +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/state.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailList/index.d.ts +1 -1
- package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailList/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js +2 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.d.ts +0 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.js +0 -188
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.d.ts +8 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js +79 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.less +37 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/state.d.ts +15 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/state.js +42 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/state.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js +1 -7
- 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 +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js +12 -47
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.less +5 -81
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.d.ts +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.d.ts +10 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.js +70 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.less +50 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnList/index.d.ts +7 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnList/index.js +46 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.d.ts +8 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.js +36 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/{CompanyGeneralOfficerInfo → OfficerDetailItem}/index.d.ts +2 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js +93 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.less +55 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.d.ts +8 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.js +36 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.d.ts +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js +9 -43
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.less +0 -69
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.d.ts +1 -0
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/index.js +38 -59
- package/es/modules/self-registration/clda-form/incorporation/company-general/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.d.ts +21 -0
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js +123 -0
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.less +100 -0
- package/es/obsolete/order/components/OrderItems/index.js +37 -31
- package/es/obsolete/order/components/OrderItems/index.js.map +1 -1
- package/es/obsolete/order/controls/OrderLabel/index.js +3 -3
- package/es/obsolete/order/controls/OrderLabel/index.js.map +1 -1
- package/es/obsolete/order/controls/OrderLabel/state.d.ts +0 -1
- package/es/obsolete/order/controls/OrderLabel/state.js +0 -180
- package/es/obsolete/order/controls/OrderLabel/state.js.map +1 -1
- package/package.json +1 -1
- package/es/components/TableDragRow/FormRowContext.d.ts +0 -4
- package/es/components/TableDragRow/FormRowContext.js +0 -5
- package/es/components/TableDragRow/FormRowContext.js.map +0 -1
- package/es/components/TableDragRow/index.d.ts +0 -3
- package/es/components/TableDragRow/index.js +0 -41
- package/es/components/TableDragRow/index.js.map +0 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/CompanyGeneralOfficerInfo/index.js +0 -125
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/CompanyGeneralOfficerInfo/index.js.map +0 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/CompanyGeneralOfficerInfo/index.less +0 -131
- package/es/modules/self-registration/clda-form/incorporation/components/NewOfficerDetailItem/index.js.map +0 -1
- package/es/modules/self-registration/clda-form/incorporation/components/NewOfficerDetailItem/state.js.map +0 -1
- package/es/modules/self-registration/clda-form/incorporation/components/NewOfficerDetailList/index.js.map +0 -1
- /package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailItem/state.js +0 -0
|
@@ -38,191 +38,6 @@ export class State {
|
|
|
38
38
|
writable: true,
|
|
39
39
|
value: []
|
|
40
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
41
|
makeObservable(this);
|
|
227
42
|
}
|
|
228
43
|
}
|
|
@@ -238,7 +53,4 @@ __decorate([
|
|
|
238
53
|
__decorate([
|
|
239
54
|
observable
|
|
240
55
|
], State.prototype, "selectedIds", void 0);
|
|
241
|
-
__decorate([
|
|
242
|
-
observable
|
|
243
|
-
], State.prototype, "currencyList", void 0);
|
|
244
56
|
//# sourceMappingURL=state.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB;QAGA;;;;mBAAgB;gBACf,aAAa,EAAE,EAAE;gBACjB,QAAQ,EAAE,EAAE;gBACZ,UAAU,EAAE,EAAE;gBACd,MAAM,EAAE,CAAC;gBACT,aAAa,EAAE,CAAC;aAChB;WAAC;QAEU;;;;mBAAgB,IAAI,CAAC,MAAM;WAAC;QAC5B;;;;mBAAiB,KAAK;WAAC;QACvB;;;;mBAAgC,KAAK;WAAC;QACtC;;;;mBAA+B,EAAE;WAAC;
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB;QAGA;;;;mBAAgB;gBACf,aAAa,EAAE,EAAE;gBACjB,QAAQ,EAAE,EAAE;gBACZ,UAAU,EAAE,EAAE;gBACd,MAAM,EAAE,CAAC;gBACT,aAAa,EAAE,CAAC;aAChB;WAAC;QAEU;;;;mBAAgB,IAAI,CAAC,MAAM;WAAC;QAC5B;;;;mBAAiB,KAAK;WAAC;QACvB;;;;mBAAgC,KAAK;WAAC;QACtC;;;;mBAA+B,EAAE;WAAC;QAb7C,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAaD;AAJY;IAAX,UAAU;qCAA6B;AAC5B;IAAX,UAAU;sCAAwB;AACvB;IAAX,UAAU;qDAAuC;AACtC;IAAX,UAAU;0CAAmC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { Form, Modal, Select, InputNumber } from "antd";
|
|
3
|
+
import { useCLDAForm, useCLDAFormStore } from "../../../../../../../data/clda-form";
|
|
4
|
+
import { faRightLong } from "@fortawesome/pro-light-svg-icons";
|
|
5
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
6
|
+
import { changeName } from "../../../../../../../data/clda-form/conversion";
|
|
7
|
+
import { State } from "./state";
|
|
8
|
+
import { observe } from "@voplus/morpho-ui";
|
|
9
|
+
import "./index.less";
|
|
10
|
+
const AddDivideDialog = (props) => {
|
|
11
|
+
const { id, type } = props;
|
|
12
|
+
const incorporation = useCLDAForm(id);
|
|
13
|
+
const store = useCLDAFormStore();
|
|
14
|
+
const [state] = useState(new State(type));
|
|
15
|
+
let [formData] = Form.useForm();
|
|
16
|
+
return observe(() => (React.createElement(Modal, { open: true, title: `Add ${type}`, okText: "Add", onOk: onAdd, wrapClassName: "add-divide-dialog", onCancel: onCancel },
|
|
17
|
+
React.createElement(Form, { labelCol: { span: 6 }, labelAlign: "left", form: formData, initialValues: {} },
|
|
18
|
+
type === "Consolidate" ? (React.createElement("div", { className: "add-divide-share" },
|
|
19
|
+
React.createElement("div", { className: "share-left" },
|
|
20
|
+
React.createElement("div", { className: "top" }, "1"),
|
|
21
|
+
React.createElement("div", { className: "bottom" }, "Share")),
|
|
22
|
+
React.createElement(FontAwesomeIcon, { icon: faRightLong }),
|
|
23
|
+
React.createElement("div", { className: "share-right" },
|
|
24
|
+
React.createElement("div", { className: "top" },
|
|
25
|
+
React.createElement(Form.Item, { name: "Ratio", rules: [{ required: true, message: "Ratio can not be empty" }] },
|
|
26
|
+
React.createElement(InputNumber, { onChange: (value) => (state.params.Ratio = value) }))),
|
|
27
|
+
React.createElement("div", { className: "bottom" }, "Shares")))) : (React.createElement("div", { className: "add-divide-share" },
|
|
28
|
+
React.createElement("div", { className: "share-left" },
|
|
29
|
+
React.createElement("div", { className: "top" },
|
|
30
|
+
React.createElement(Form.Item, { name: "Ratio", rules: [{ required: true, message: "Ratio can not be empty" }] },
|
|
31
|
+
React.createElement(InputNumber, { onChange: (value) => (state.params.Ratio = value) }))),
|
|
32
|
+
React.createElement("div", { className: "bottom" }, "Shares")),
|
|
33
|
+
React.createElement(FontAwesomeIcon, { icon: faRightLong }),
|
|
34
|
+
React.createElement("div", { className: "share-right" },
|
|
35
|
+
React.createElement("div", { className: "top" }, "1"),
|
|
36
|
+
React.createElement("div", { className: "bottom" }, "Share")))),
|
|
37
|
+
React.createElement(Form.Item, { label: "Class", name: "ShareClass", rules: [{ required: true, message: "Class can not be empty" }] },
|
|
38
|
+
React.createElement(Select, { placeholder: "Select Share Class", optionFilterProp: "children", onChange: (value) => (state.params.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: [
|
|
39
|
+
{
|
|
40
|
+
value: "Ordinary",
|
|
41
|
+
label: "Ordinary",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
value: "Preference",
|
|
45
|
+
label: "Preference",
|
|
46
|
+
},
|
|
47
|
+
] }))))));
|
|
48
|
+
async function onAdd() {
|
|
49
|
+
var _a, _b;
|
|
50
|
+
try {
|
|
51
|
+
await formData.validateFields(); // Form表单组件rules手动校验
|
|
52
|
+
let mergeDivides = (_b = (_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.mergeDivideDetails) === null || _b === void 0 ? void 0 : _b.mergeDivides;
|
|
53
|
+
if (mergeDivides === null || mergeDivides === void 0 ? void 0 : mergeDivides.length)
|
|
54
|
+
mergeDivides = changeName(mergeDivides);
|
|
55
|
+
await store.edit(id, {
|
|
56
|
+
data: {
|
|
57
|
+
MergeDivideDetails: {
|
|
58
|
+
MergeDivides: (mergeDivides === null || mergeDivides === void 0 ? void 0 : mergeDivides.length) ? [...mergeDivides, state.params] : [state.params],
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
error: "message",
|
|
62
|
+
});
|
|
63
|
+
onCancel();
|
|
64
|
+
}
|
|
65
|
+
catch (error) { }
|
|
66
|
+
}
|
|
67
|
+
function onCancel() {
|
|
68
|
+
var _a;
|
|
69
|
+
(_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
70
|
+
formData.resetFields();
|
|
71
|
+
state.Params = {
|
|
72
|
+
Type: "Consolidate" || "Divide",
|
|
73
|
+
ShareClass: "",
|
|
74
|
+
Ratio: 0,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
export default AddDivideDialog;
|
|
79
|
+
//# 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/AddDivideDialog/index.tsx"],"names":[],"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MAAM,EAAC,CAAC,CAAC,CAAC,GAAG,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC;qBACrF;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;QAEvB,KAAK,CAAC,MAAM,GAAG;YACd,IAAI,EAAE,aAAa,IAAI,QAAQ;YAC/B,UAAU,EAAE,EAAE;YACd,KAAK,EAAE,CAAC;SACR,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.add-divide-dialog {
|
|
5
|
+
.add-divide-share {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
margin-bottom: 20px;
|
|
10
|
+
padding: 7px;
|
|
11
|
+
text-align: center;
|
|
12
|
+
|
|
13
|
+
border-radius: 8px;
|
|
14
|
+
border: 1px solid #e5e7eb;
|
|
15
|
+
|
|
16
|
+
.ant-form-item {
|
|
17
|
+
margin-bottom: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.share-left {
|
|
21
|
+
width: 120px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.share-right {
|
|
25
|
+
width: 120px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ant-input-number {
|
|
30
|
+
width: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.subtitle {
|
|
34
|
+
color: @heading-subtitle-color;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class State {
|
|
2
|
+
private type;
|
|
3
|
+
constructor(type: "Consolidate" | "Divide");
|
|
4
|
+
Params: {
|
|
5
|
+
Type: "Consolidate" | "Divide";
|
|
6
|
+
ShareClass: string;
|
|
7
|
+
Ratio: number;
|
|
8
|
+
};
|
|
9
|
+
params: {
|
|
10
|
+
Type: "Consolidate" | "Divide";
|
|
11
|
+
ShareClass: string;
|
|
12
|
+
Ratio: number;
|
|
13
|
+
};
|
|
14
|
+
loading: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { makeObservable, observable } from "mobx";
|
|
3
|
+
export class State {
|
|
4
|
+
constructor(type) {
|
|
5
|
+
Object.defineProperty(this, "type", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
configurable: true,
|
|
8
|
+
writable: true,
|
|
9
|
+
value: type
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(this, "Params", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
configurable: true,
|
|
14
|
+
writable: true,
|
|
15
|
+
value: {
|
|
16
|
+
Type: this.type,
|
|
17
|
+
ShareClass: "",
|
|
18
|
+
Ratio: 0,
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(this, "params", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
configurable: true,
|
|
24
|
+
writable: true,
|
|
25
|
+
value: this.Params
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(this, "loading", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
configurable: true,
|
|
30
|
+
writable: true,
|
|
31
|
+
value: false
|
|
32
|
+
});
|
|
33
|
+
makeObservable(this);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
__decorate([
|
|
37
|
+
observable
|
|
38
|
+
], State.prototype, "params", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
observable
|
|
41
|
+
], State.prototype, "loading", void 0);
|
|
42
|
+
//# 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/AddDivideDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB,YAA2B,IAA8B;;;;;mBAA9B;;QAG3B;;;;mBAAgB;gBACf,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,UAAU,EAAE,EAAE;gBACd,KAAK,EAAE,CAAC;aACR;WAAC;QAEU;;;;mBAAgB,IAAI,CAAC,MAAM;WAAC;QAC5B;;;;mBAAiB,KAAK;WAAC;QATlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CASD;AAFY;IAAX,UAAU;qCAA6B;AAC5B;IAAX,UAAU;sCAAwB"}
|
|
@@ -21,13 +21,7 @@ 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", form: formData, initialValues: {
|
|
25
|
-
TransforId: undefined,
|
|
26
|
-
TransfeeId: undefined,
|
|
27
|
-
ShareClass: undefined,
|
|
28
|
-
Shares: null,
|
|
29
|
-
Consideration: null,
|
|
30
|
-
} },
|
|
24
|
+
React.createElement(Form, { labelCol: { span: 6 }, labelAlign: "left", form: formData, initialValues: {} },
|
|
31
25
|
React.createElement(Form.Item, { label: "Transferor", name: "TransforId", rules: [{ required: true, message: "Transferor can not be empty" }] },
|
|
32
26
|
React.createElement(Select, { showSearch: true, placeholder: "Select a contact", optionFilterProp: "children", onChange: (transforId) => (state.params.TransforId = transforId), popupClassName: "add-transfer-select-contact", filterOption: (input, option) => (option === null || option === void 0 ? void 0 : option.children.toLowerCase().indexOf(input.toLowerCase())) >= 0 }, (_a = state.ExistingContactList) === null || _a === void 0 ? void 0 : _a.map((item) => (React.createElement(Select.Option, { key: item.id, value: item.id }, item.name))))),
|
|
33
27
|
React.createElement(Form.Item, { label: "Transferee", name: "TransfeeId", rules: [{ required: true, message: "Transferee can not be empty" }] },
|
|
@@ -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;AAClC,OAAO,qBAAqB,MAAM,+EAA+E,CAAC;AAClH,OAAO,cAAc,CAAC;AAEtB,MAAM,iBAAiB,GAAG,CAAC,KAA4C,EAAE,EAAE;IAC1E,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,aAAa,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEtC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;IAEhC,gBAAgB,CAAC,GAAG,EAAE;;QACrB,OAAA,MAAA,MAAA,aAAa,CAAC,OAAO,0CAAE,QAAQ,0CAAE,GAAG,CACnC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,mBAAmB,IAAI,KAAK,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CACrF,CAAA;KAAA,CACD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,oBAAC,KAAK,IACL,IAAI,QACJ,KAAK,EAAE,GAAG,EACV,KAAK,EAAC,cAAc,EACpB,MAAM,EAAC,KAAK,EACZ,IAAI,EAAE,KAAK,EACX,aAAa,EAAC,qBAAqB,EACnC,QAAQ,EAAE,QAAQ;YAElB,oBAAC,IAAI,
|
|
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,M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AK,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"}
|
|
@@ -4,6 +4,7 @@ declare const AllotmentItem: (props: {
|
|
|
4
4
|
allotment: IAllotment;
|
|
5
5
|
contact: IFormPeopleOptions;
|
|
6
6
|
contacts: IFormPeopleOptions[];
|
|
7
|
+
isOnlyInternalUse?: boolean | undefined;
|
|
7
8
|
allotmentLength?: number | undefined;
|
|
8
9
|
onReload?: (() => void) | undefined;
|
|
9
10
|
onSave?: ((allotment: IAllotment, contact?: IFormPeopleOptions) => void) | undefined;
|
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
|
-
import { Button,
|
|
3
|
-
import { UserOutlined } from "@ant-design/icons";
|
|
2
|
+
import { Button, Divider, Row, Select, InputNumber } from "antd";
|
|
4
3
|
import { observe } from "@voplus/morpho-ui";
|
|
5
|
-
import {
|
|
6
|
-
import { faAddressCard, faEnvelope, faMapMarkerAlt, faPhone, faTrashAlt, faPenToSquare, } from "@fortawesome/pro-light-svg-icons";
|
|
4
|
+
import { faTrashAlt, faPenToSquare } from "@fortawesome/pro-light-svg-icons";
|
|
7
5
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
8
6
|
import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
|
|
9
7
|
import { useIncorporationFormContext } from "../../../context";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import moment from "moment";
|
|
8
|
+
import FormContactEditor from "../../../components/FormContactEditor";
|
|
9
|
+
import CurrencySelect from "@voplus/morpho-ui/es/controls/CurrencySelect";
|
|
13
10
|
import styles from "./index.less";
|
|
14
11
|
const AllotmentItem = (props) => {
|
|
15
|
-
const { allotment, contact, contacts } = props;
|
|
16
|
-
const [addAllotmentState] = useState(new State());
|
|
12
|
+
const { allotment, contact, contacts, isOnlyInternalUse } = props;
|
|
17
13
|
const [editable, setEditable] = useState(false);
|
|
18
14
|
const context = useIncorporationFormContext();
|
|
15
|
+
// 用于保存修改之后的contact数据
|
|
16
|
+
let contactDate;
|
|
19
17
|
return observe(() => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
21
18
|
return (React.createElement(React.Fragment, null,
|
|
22
19
|
React.createElement("div", { className: styles["company-general-allotment-info"] },
|
|
23
|
-
React.createElement("div", { className: "company-general-allotment-
|
|
24
|
-
React.createElement("div", { className: "company-general-allotment-title
|
|
20
|
+
React.createElement("div", { className: "company-general-allotment-header" },
|
|
21
|
+
React.createElement("div", { className: "company-general-allotment-title" }, contact.name),
|
|
25
22
|
(context ? context.editable : true) && (React.createElement("div", { className: "action-button" },
|
|
26
23
|
React.createElement("span", { className: "edit-icon", onClick: () => setEditable(!editable) },
|
|
27
24
|
React.createElement(FontAwesomeIcon, { icon: faPenToSquare })),
|
|
@@ -30,7 +27,7 @@ const AllotmentItem = (props) => {
|
|
|
30
27
|
React.createElement("div", { className: "company-general-allotment-content" },
|
|
31
28
|
React.createElement(ColumnItem, null,
|
|
32
29
|
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(
|
|
30
|
+
React.createElement(ColumnItemCol, { span: 4, title: "Currency" }, editable ? (React.createElement(CurrencySelect, { placeholder: "Select Share Currency", currency: allotment.currency, onChange: (value) => (allotment.currency = value) })) : (React.createElement("span", null, allotment.currency))),
|
|
34
31
|
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
32
|
{
|
|
36
33
|
value: "Ordinary",
|
|
@@ -43,39 +40,7 @@ const AllotmentItem = (props) => {
|
|
|
43
40
|
] })) : (React.createElement("span", null, allotment.shareClass))),
|
|
44
41
|
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
42
|
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(
|
|
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"))))))))),
|
|
43
|
+
contact.idType === "NewId" && (React.createElement(FormContactEditor, { header: false, editable: editable, contact: contact, isOnlyInternalUse: isOnlyInternalUse, onChange: (c) => (contactDate = c) })),
|
|
79
44
|
editable && (React.createElement(Row, { justify: "end" },
|
|
80
45
|
React.createElement(Button, { onClick: () => {
|
|
81
46
|
var _a;
|
|
@@ -88,7 +53,7 @@ const AllotmentItem = (props) => {
|
|
|
88
53
|
async function onSave() {
|
|
89
54
|
var _a;
|
|
90
55
|
setEditable(false);
|
|
91
|
-
(_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props, allotment,
|
|
56
|
+
(_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props, allotment, contactDate);
|
|
92
57
|
}
|
|
93
58
|
};
|
|
94
59
|
export default AllotmentItem;
|
|
@@ -1 +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,
|
|
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,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,aAAa,GAAG,CAAC,KAStB,EAAE,EAAE;IACJ,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IAElE,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,MAAM,OAAO,GAAG,2BAA2B,EAAE,CAAC;IAE9C,qBAAqB;IACrB,IAAI,WAA+B,CAAC;IAEpC,OAAO,OAAO,CAAC,GAAG,EAAE;QACnB,OAAO,CACN,oBAAC,KAAK,CAAC,QAAQ;YACd,6BAAK,SAAS,EAAE,MAA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