@voplus/morpho-csp 1.2.122 → 1.2.124
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/Header/index.less +20 -20
- package/es/components/RegisteresMenuItem/index.less +10 -10
- package/es/data/clda-form/CLDAFormContent.js +4 -0
- package/es/data/clda-form/CLDAFormContent.js.map +1 -1
- package/es/data/clda-form/interfaces.d.ts +22 -2
- package/es/data/clda-form/types.d.ts +44 -17
- package/es/modules/account/components/AccountOrganizations/index.less +26 -26
- package/es/modules/account/components/AccountPropertiesView/index.less +10 -10
- package/es/modules/account/pages/AccountDefaultView/index.less +8 -8
- package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -5
- package/es/modules/corporate/clda/components/CLDAItem/index.less +41 -41
- package/es/modules/corporate/clda/components/CLDAListCard/index.d.ts +1 -0
- package/es/modules/corporate/clda/components/CLDAListCard/index.js +1 -0
- package/es/modules/corporate/clda/components/CLDAListCard/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListView/index.js +9 -3
- package/es/modules/corporate/clda/components/CLDAListView/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListView/index.less +30 -30
- package/es/modules/corporate/clda/components/CLDAListView/state.d.ts +2 -0
- package/es/modules/corporate/clda/components/CLDAListView/state.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAProperties/index.less +15 -15
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +10 -10
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +13 -13
- package/es/modules/corporate/clda/components/CLDASendForm/index.less +47 -47
- package/es/modules/corporate/clda/components/NewCLDAForm/index.less +6 -6
- package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +58 -58
- package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +8 -8
- package/es/modules/corporate/clda/controls/ModeIcon/index.less +20 -20
- package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +14 -14
- package/es/modules/corporate/clda/pages/CLDAClientView/index.less +84 -84
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.less +59 -59
- package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +40 -40
- package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +91 -91
- package/es/modules/corporate/company/components/CompanyDetailsView/index.less +40 -40
- package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
- package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less +41 -41
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.less +15 -15
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +51 -51
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.less +4 -4
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
- package/es/modules/corporate/company/controls/CorporateMenu/index.less +35 -35
- package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +64 -64
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.less +61 -61
- package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
- package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
- package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.less +35 -35
- package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.less +12 -12
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +44 -44
- package/es/modules/corporate/company/member-register/components/Details/index.less +14 -14
- package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
- package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
- package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
- package/es/modules/corporate/company/officer-register/components/OfficerItem/index.less +40 -40
- package/es/modules/corporate/company/officer-register/components/OfficerList/index.less +12 -12
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +44 -44
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
- package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
- package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
- package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +72 -72
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +16 -16
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +89 -89
- package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +89 -89
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
- package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
- package/es/modules/corporate/components/Statement/index.less +16 -16
- package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +8 -8
- package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
- package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
- package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
- package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
- package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +72 -72
- package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
- package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
- package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
- package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -30
- package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
- package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +84 -84
- package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +22 -22
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
- package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
- package/es/modules/order/components/OrderItem/index.less +21 -21
- package/es/modules/order/components/OrderItems/index.less +48 -48
- package/es/modules/order/components/OrderPropertiesView/index.less +13 -13
- package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -41
- package/es/modules/order/controls/OrderLabel/index.less +21 -21
- package/es/modules/order/pages/OrderDefaultView/index.less +13 -13
- package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +25 -25
- package/es/modules/self-registration/clda-form/Download/index.less +41 -41
- package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
- package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
- package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.d.ts +6 -0
- package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js +163 -0
- package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.less +19 -0
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +81 -87
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +19 -19
- package/es/modules/self-registration/clda-form/components/InternalUse/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js +4 -4
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.d.ts +2 -1
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.js +10 -0
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.less +201 -201
- package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js +14 -16
- package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
- package/es/modules/self-registration/clda-form/components/SecretaryList/index.js +4 -4
- package/es/modules/self-registration/clda-form/components/SecretaryList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/SecretaryList/state.d.ts +2 -2
- package/es/modules/self-registration/clda-form/components/SecretaryList/state.js +3 -3
- package/es/modules/self-registration/clda-form/components/SecretaryList/state.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.d.ts +10 -4
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +54 -58
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.d.ts +4 -0
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.js +71 -0
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.less +36 -0
- package/es/modules/self-registration/clda-form/incorporation/bvi/state.d.ts +7 -0
- package/es/modules/self-registration/clda-form/incorporation/bvi/state.js +20 -0
- package/es/modules/self-registration/clda-form/incorporation/bvi/state.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
- package/es/modules/self-registration/components/Card/index.less +51 -51
- package/es/modules/self-registration/components/CheckSection/index.less +20 -20
- package/es/modules/self-registration/components/MemberCard/index.less +53 -53
- package/es/modules/self-registration/components/StripeForm/index.less +36 -36
- package/es/modules/self-registration/controls/Blink/index.less +27 -27
- package/es/modules/self-registration/controls/Section/index.less +79 -79
- package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
- package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
- package/es/modules/self-registration/shopping-cart/ChooseService/index.js +2 -2
- package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
- package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
- package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
- package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
- package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
- package/es/modules/self-registration/shopping-cart/pages.less +6 -6
- package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
- package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.less +39 -39
- package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
- package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
- package/es/style/common.less +66 -66
- package/package.json +1 -1
|
@@ -14,68 +14,64 @@ import { runInAction } from "mobx";
|
|
|
14
14
|
import { useIncorporationSGPFormContext } from "../../incorporation/sgp/state";
|
|
15
15
|
import { useLayout } from "@voplus/morpho-data";
|
|
16
16
|
const ShareCapital = (props) => {
|
|
17
|
-
const { id } = props;
|
|
17
|
+
const { id, currencyVisible } = props;
|
|
18
18
|
const layout = useLayout();
|
|
19
|
-
const
|
|
19
|
+
const content = useCLDAForm(id).content;
|
|
20
20
|
const Option = Select.Option;
|
|
21
21
|
const store = useCLDAFormStore();
|
|
22
22
|
const context = useIncorporationSGPFormContext();
|
|
23
|
-
return observe(() => {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
React.createElement("div",
|
|
30
|
-
React.createElement(
|
|
31
|
-
|
|
32
|
-
React.createElement(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
React.createElement(
|
|
58
|
-
|
|
59
|
-
React.createElement("
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
React.createElement("
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
React.createElement(FYETip, null)),
|
|
75
|
-
React.createElement(InlineEdit, { defaultValue: moment((_d = incorporationForm.content) === null || _d === void 0 ? void 0 : _d.fye), editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("span", null, v.store.value ? v.store.value.format("DD MMM YYYY") : "input FYE")), onSave: (v) => store.edit(id, {
|
|
76
|
-
data: { FYE: v ? v.toISOString() : undefined },
|
|
77
|
-
}), editor: DateInputEditor }))))));
|
|
78
|
-
});
|
|
23
|
+
return observe(() => (React.createElement(Section, { title: React.createElement(React.Fragment, null,
|
|
24
|
+
React.createElement(FontAwesomeIcon, { icon: faBadgeDollar }),
|
|
25
|
+
"Capital and Financial Year") },
|
|
26
|
+
React.createElement("div", { className: classnames("share-capital", { "element-mobile": layout.ui.mobile }) },
|
|
27
|
+
React.createElement("div", { className: "capital-box" },
|
|
28
|
+
React.createElement(FontAwesomeIcon, { icon: faBadgeDollar, size: "2x" }),
|
|
29
|
+
React.createElement("div", null,
|
|
30
|
+
React.createElement("p", null,
|
|
31
|
+
"Paid Up Capital ",
|
|
32
|
+
React.createElement(CapitalTip, null)),
|
|
33
|
+
React.createElement("div", { className: "capital-currency" }, currencyVisible ? (React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: {
|
|
34
|
+
currency: content === null || content === void 0 ? void 0 : content.currency,
|
|
35
|
+
capital: content === null || content === void 0 ? void 0 : content.capital,
|
|
36
|
+
}, content: (v) => (React.createElement("div", null, v.store.value.currency || v.store.value.capital ? (React.createElement("span", null,
|
|
37
|
+
v.store.value.currency,
|
|
38
|
+
" ",
|
|
39
|
+
v.store.value.capital)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the paid up capital")))), editor: (v) => (React.createElement("span", null,
|
|
40
|
+
React.createElement(Select, { defaultValue: v.store.value.currency, onSelect: (newValue) => runInAction(() => (v.store.value.currency = newValue)) },
|
|
41
|
+
React.createElement(Option, { value: "SGD" }, "SGD"),
|
|
42
|
+
React.createElement(Option, { value: "USD" }, "USD"),
|
|
43
|
+
React.createElement(Option, { value: "CNY" }, "CNY"),
|
|
44
|
+
React.createElement(Option, { value: "EUR" }, "EUR"),
|
|
45
|
+
React.createElement(Option, { value: "JPY" }, "JPY")),
|
|
46
|
+
React.createElement(InputNumber, { style: { marginLeft: "1em" }, autoFocus: true, defaultValue: v.store.value.capital, onChange: (newValue) => runInAction(() => (v.store.value.capital = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), min: 1 }),
|
|
47
|
+
React.createElement("div", { className: "capital-currency-btn" },
|
|
48
|
+
React.createElement(Button, { type: "primary", style: { marginLeft: "1em" }, onClick: () => v.store.save({ trigger: "select" }) }, "Save"),
|
|
49
|
+
React.createElement(Button, { style: { marginLeft: "1em" }, onClick: () => v.store.cancel() }, "Cancel")))), onSave: (v) => {
|
|
50
|
+
store.edit(id, {
|
|
51
|
+
data: { Currency: v.currency, Capital: v.capital },
|
|
52
|
+
});
|
|
53
|
+
} })) : (React.createElement(InlineEdit, { defaultValue: content === null || content === void 0 ? void 0 : content.capital, editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, (content === null || content === void 0 ? void 0 : content.capital) ? (React.createElement("span", null, content === null || content === void 0 ? void 0 : content.capital)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the paid up capital")))), editor: (v) => (React.createElement(InputNumber, { autoFocus: true, value: v.store.value, onChange: (newValue) => runInAction(() => (v.store.value = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), onBlur: () => v.store.save({ trigger: "blur" }), min: 1 })), onSave: (v) => {
|
|
54
|
+
store.edit(id, { data: { Capital: v } });
|
|
55
|
+
} }))))),
|
|
56
|
+
React.createElement("div", { className: "capital-box" },
|
|
57
|
+
React.createElement(FontAwesomeIcon, { icon: faMoneyBill, size: "2x" }),
|
|
58
|
+
React.createElement("div", null,
|
|
59
|
+
React.createElement("p", null,
|
|
60
|
+
"Numbers Of Share(s) ",
|
|
61
|
+
React.createElement(SharesTip, null)),
|
|
62
|
+
React.createElement(InlineEdit, { defaultValue: content === null || content === void 0 ? void 0 : content.shares, editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, (content === null || content === void 0 ? void 0 : content.shares) ? (React.createElement("span", null, content === null || content === void 0 ? void 0 : content.shares)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the numbers of share")))), editor: (v) => (React.createElement(InputNumber, { autoFocus: true, value: v.store.value, onChange: (newValue) => runInAction(() => (v.store.value = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), onBlur: () => v.store.save({ trigger: "blur" }), min: 1 })), onSave: (v) => {
|
|
63
|
+
store.edit(id, { data: { Shares: v } });
|
|
64
|
+
} }))),
|
|
65
|
+
React.createElement("div", { className: "capital-box" },
|
|
66
|
+
React.createElement(FontAwesomeIcon, { icon: faCalendar, size: "2x" }),
|
|
67
|
+
React.createElement("div", null,
|
|
68
|
+
React.createElement("p", null,
|
|
69
|
+
"Financial Year End (FYE) ",
|
|
70
|
+
React.createElement(FYETip, null)),
|
|
71
|
+
React.createElement(InlineEdit, { defaultValue: moment(content === null || content === void 0 ? void 0 : content.fye), editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("span", null, v.store.value ? v.store.value.format("DD MMM YYYY") : "input FYE")), onSave: (v) => store.edit(id, {
|
|
72
|
+
data: { FYE: v ? v.toISOString() : undefined },
|
|
73
|
+
}), editor: DateInputEditor })))))));
|
|
79
74
|
};
|
|
75
|
+
ShareCapital.defaultProps = { currencyVisible: true };
|
|
80
76
|
export default ShareCapital;
|
|
81
77
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ShareCapital/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ShareCapital/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO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,EAAE,IAAI,EAAE,CAAC;AAEtD,eAAe,YAAY,CAAC"}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.share-capital {
|
|
3
|
-
display: flex;
|
|
4
|
-
&.element-mobile {
|
|
5
|
-
display: inherit;
|
|
6
|
-
.capital-box {
|
|
7
|
-
display: flex;
|
|
8
|
-
> div {
|
|
9
|
-
flex: 1;
|
|
10
|
-
margin-left: 10px;
|
|
11
|
-
}
|
|
12
|
-
.capital-currency-btn {
|
|
13
|
-
display: block;
|
|
14
|
-
margin-top: 10px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
.capital-box {
|
|
19
|
-
font-size: 1.3em;
|
|
20
|
-
flex-grow: 1;
|
|
21
|
-
display: flex;
|
|
22
|
-
margin-bottom: 1rem;
|
|
23
|
-
|
|
24
|
-
svg {
|
|
25
|
-
margin-right: 1.5rem;
|
|
26
|
-
// color: @primary-blue;
|
|
27
|
-
}
|
|
28
|
-
p {
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
margin-bottom: 10px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.capital-currency {
|
|
35
|
-
// .morpho-inline-edit {
|
|
36
|
-
// display: inline-block;
|
|
37
|
-
// margin-right: 0.5em;
|
|
38
|
-
// }
|
|
39
|
-
|
|
40
|
-
.placeholder {
|
|
41
|
-
color: #00000040;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
.capital-currency-btn {
|
|
45
|
-
display: block;
|
|
46
|
-
text-align: right;
|
|
47
|
-
margin-top: 10px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.share-capital {
|
|
3
|
+
display: flex;
|
|
4
|
+
&.element-mobile {
|
|
5
|
+
display: inherit;
|
|
6
|
+
.capital-box {
|
|
7
|
+
display: flex;
|
|
8
|
+
> div {
|
|
9
|
+
flex: 1;
|
|
10
|
+
margin-left: 10px;
|
|
11
|
+
}
|
|
12
|
+
.capital-currency-btn {
|
|
13
|
+
display: block;
|
|
14
|
+
margin-top: 10px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.capital-box {
|
|
19
|
+
font-size: 1.3em;
|
|
20
|
+
flex-grow: 1;
|
|
21
|
+
display: flex;
|
|
22
|
+
margin-bottom: 1rem;
|
|
23
|
+
|
|
24
|
+
svg {
|
|
25
|
+
margin-right: 1.5rem;
|
|
26
|
+
// color: @primary-blue;
|
|
27
|
+
}
|
|
28
|
+
p {
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
margin-bottom: 10px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.capital-currency {
|
|
35
|
+
// .morpho-inline-edit {
|
|
36
|
+
// display: inline-block;
|
|
37
|
+
// margin-right: 0.5em;
|
|
38
|
+
// }
|
|
39
|
+
|
|
40
|
+
.placeholder {
|
|
41
|
+
color: #00000040;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.capital-currency-btn {
|
|
45
|
+
display: block;
|
|
46
|
+
text-align: right;
|
|
47
|
+
margin-top: 10px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Button, Spin } from "@voplus/antd";
|
|
2
|
+
import React, { useState } from "react";
|
|
3
|
+
import { ValidationCollections, ValidationCollectionsContext } from "@voplus/morpho-data";
|
|
4
|
+
import { faInfo, faInfoCircle } from "@fortawesome/pro-light-svg-icons";
|
|
5
|
+
import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
|
|
6
|
+
import BVICompanyInfo from "../../components/BVICompanyInfo";
|
|
7
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
8
|
+
import CLDAFormConfirmationDialog from "../../components/CLDAFormConfirmationDialog";
|
|
9
|
+
import NavigateButtonsBar from "@voplus/morpho-ui/es/controls/NavigateButtonsBar";
|
|
10
|
+
import OfficerList from "../../components/OfficerList";
|
|
11
|
+
import Section from "../../../controls/Section";
|
|
12
|
+
import ShareCapital from "../../components/ShareCapital";
|
|
13
|
+
import ShareholderList from "../../components/ShareholderList";
|
|
14
|
+
import classnames from "classnames";
|
|
15
|
+
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
|
16
|
+
import { IncorporationSGPFormContext, State } from "./state";
|
|
17
|
+
import styles from "./index.less";
|
|
18
|
+
const IncorporationBVIForm = (props) => {
|
|
19
|
+
const [submitting, setSubmitting] = useState(false);
|
|
20
|
+
const [validations] = useState(new ValidationCollections());
|
|
21
|
+
const store = useCLDAFormStore();
|
|
22
|
+
const [state] = useState(new State());
|
|
23
|
+
const incorporation = useCLDAForm(props.id, { reload: true });
|
|
24
|
+
useAutorunEffect(() => {
|
|
25
|
+
/** 只有state是draft client view 才能edit */
|
|
26
|
+
if (props.type === "clientView") {
|
|
27
|
+
state.editable = incorporation.status === "Draft" ? true : false;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
const content = observe(() => (React.createElement("div", { className: classnames("incorporation-form-view", styles["incorporation-from-review"]) },
|
|
31
|
+
React.createElement(Spin, { spinning: !incorporation.loaded }, incorporation.loaded && (React.createElement(ValidationCollectionsContext.Provider, { value: validations },
|
|
32
|
+
React.createElement(Section, { title: React.createElement(React.Fragment, null,
|
|
33
|
+
React.createElement(FontAwesomeIcon, { icon: faInfo }),
|
|
34
|
+
" Review and Complete Details") },
|
|
35
|
+
React.createElement("div", { style: { fontSize: "16px" } },
|
|
36
|
+
React.createElement("p", null, "Hi, you are at the Incorporation form filling page. It will take you up to 10-15 minutes to fill up."),
|
|
37
|
+
React.createElement("ul", null,
|
|
38
|
+
React.createElement("li", null,
|
|
39
|
+
React.createElement("p", null, "All the below *fields are mandatory to fill.")),
|
|
40
|
+
React.createElement("li", null,
|
|
41
|
+
React.createElement("p", null,
|
|
42
|
+
"You may scroll over the",
|
|
43
|
+
React.createElement("span", { style: { fontSize: "1.2em", color: "#2a82db", margin: "0 5px" } },
|
|
44
|
+
React.createElement(FontAwesomeIcon, { icon: faInfoCircle, size: "sm" })),
|
|
45
|
+
"icon near each heading to see more details.")),
|
|
46
|
+
React.createElement("li", null,
|
|
47
|
+
React.createElement("p", null, "It is an AUTO SAVE form and you can close the form and re-edit it later."))))),
|
|
48
|
+
React.createElement(BVICompanyInfo, { id: props.id }),
|
|
49
|
+
React.createElement(ShareCapital, { id: props.id, currencyVisible: false }),
|
|
50
|
+
React.createElement(ShareholderList, { isShowDetails: true, id: props.id }),
|
|
51
|
+
React.createElement(OfficerList, { isShowDetails: true, id: props.id }),
|
|
52
|
+
incorporation.status === "Draft" && (React.createElement(NavigateButtonsBar, null,
|
|
53
|
+
React.createElement(Button, { className: "incorporation-form-submit", disabled: validations.hasError, type: "primary", onClick: () => submit() }, "Submit"))),
|
|
54
|
+
incorporation.submitDate && (React.createElement("div", { className: "incorporation-form-submitted" },
|
|
55
|
+
"Submitted on ",
|
|
56
|
+
incorporation.submitDate))))),
|
|
57
|
+
submitting && (React.createElement(CLDAFormConfirmationDialog, { id: props.id, visible: true, onCancel: () => setSubmitting(false) })))));
|
|
58
|
+
return observe(() => (React.createElement(IncorporationSGPFormContext.Provider, { value: state }, content)));
|
|
59
|
+
async function submit() {
|
|
60
|
+
setSubmitting(true);
|
|
61
|
+
// try {
|
|
62
|
+
// setSubmitting(true);
|
|
63
|
+
// // await store.validate(props.id);
|
|
64
|
+
// } catch (err) {
|
|
65
|
+
// Modal.error({ title: "Error", content: err.toString() });
|
|
66
|
+
// }
|
|
67
|
+
// setSubmitting(false);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
export default IncorporationBVIForm;
|
|
71
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/incorporation/bvi/index.ts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AAI;YACtD,oBAAC,eAAe,IAAC,aAAa,QAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI;YAC/C,oBAAC,WAAW,IAAC,aAAa,QAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI;YAC1C,aAAa,CAAC,MAAM,KAAK,OAAO,IAAI,CACpC,oBAAC,kBAAkB;gBAClB,oBAAC,MAAM,IACN,SAAS,EAAC,2BAA2B,EACrC,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAC9B,IAAI,EAAC,SAAS,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,aAGf,CACW,CACrB;YACA,aAAa,CAAC,UAAU,IAAI,CAC5B,6BAAK,SAAS,EAAC,8BAA8B;;gBAC9B,aAAa,CAAC,UAAU,CACjC,CACN,CACsC,CACxC,CACK;QAEN,UAAU,IAAI,CACd,oBAAC,0BAA0B,IAC1B,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,OAAO,EAAE,IAAI,EACb,QAAQ,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,GACnC,CACF,CACI,CACN,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,2BAA2B,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,IAChD,OAAO,CAC8B,CACvC,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM;QACpB,aAAa,CAAC,IAAI,CAAC,CAAC;QACpB,QAAQ;QACR,wBAAwB;QACxB,sCAAsC;QACtC,kBAAkB;QAClB,6DAA6D;QAC7D,IAAI;QACJ,wBAAwB;IACzB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
.incorporation-from-review {
|
|
4
|
+
max-width: 1000px;
|
|
5
|
+
padding: 20px !important;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
:global {
|
|
8
|
+
.officer-list {
|
|
9
|
+
margin-bottom: 20px;
|
|
10
|
+
.ant-card {
|
|
11
|
+
margin-bottom: 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.morpho-inline-edit > .content-container > .content.clickable {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
.incorporation-form-submitted {
|
|
18
|
+
text-align: right;
|
|
19
|
+
padding: 0 20px;
|
|
20
|
+
}
|
|
21
|
+
.sub-title {
|
|
22
|
+
font-size: 16px;
|
|
23
|
+
color: @heading-subtitle-color;
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
}
|
|
26
|
+
.internal-use-section {
|
|
27
|
+
margin-top: 15px;
|
|
28
|
+
&.secretary-list {
|
|
29
|
+
margin-top: 0;
|
|
30
|
+
}
|
|
31
|
+
.halvingline {
|
|
32
|
+
margin: 20px 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { makeAutoObservable, observable } from "mobx";
|
|
3
|
+
import { createContext, useContext } from "react";
|
|
4
|
+
export class State {
|
|
5
|
+
constructor() {
|
|
6
|
+
Object.defineProperty(this, "editable", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: true
|
|
11
|
+
});
|
|
12
|
+
makeAutoObservable(this);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
__decorate([
|
|
16
|
+
observable
|
|
17
|
+
], State.prototype, "editable", void 0);
|
|
18
|
+
export const IncorporationSGPFormContext = createContext(null);
|
|
19
|
+
export const useIncorporationSGPFormContext = () => useContext(IncorporationSGPFormContext);
|
|
20
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/incorporation/bvi/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAU,MAAM,MAAM,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,OAAO,KAAK;IAGjB;QAFY;;;;mBAAkB,IAAI;WAAC;QAGlC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;CACD;AALY;IAAX,UAAU;uCAAwB;AAOpC,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAQ,IAAW,CAAC,CAAC;AAE7E,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
.incorporation-from-review {
|
|
4
|
-
max-width: 1000px;
|
|
5
|
-
padding: 20px !important;
|
|
6
|
-
margin: 0 auto;
|
|
7
|
-
:global {
|
|
8
|
-
.officer-list {
|
|
9
|
-
margin-bottom: 20px;
|
|
10
|
-
.ant-card {
|
|
11
|
-
margin-bottom: 0;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
.morpho-inline-edit > .content-container > .content.clickable {
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
}
|
|
17
|
-
.incorporation-form-submitted {
|
|
18
|
-
text-align: right;
|
|
19
|
-
padding: 0 20px;
|
|
20
|
-
}
|
|
21
|
-
.sub-title {
|
|
22
|
-
font-size: 16px;
|
|
23
|
-
color: @heading-subtitle-color;
|
|
24
|
-
font-weight: 600;
|
|
25
|
-
}
|
|
26
|
-
.internal-use-section {
|
|
27
|
-
margin-top: 15px;
|
|
28
|
-
&.secretary-list {
|
|
29
|
-
margin-top: 0;
|
|
30
|
-
}
|
|
31
|
-
.halvingline {
|
|
32
|
-
margin: 20px 0;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
.incorporation-from-review {
|
|
4
|
+
max-width: 1000px;
|
|
5
|
+
padding: 20px !important;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
:global {
|
|
8
|
+
.officer-list {
|
|
9
|
+
margin-bottom: 20px;
|
|
10
|
+
.ant-card {
|
|
11
|
+
margin-bottom: 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.morpho-inline-edit > .content-container > .content.clickable {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
.incorporation-form-submitted {
|
|
18
|
+
text-align: right;
|
|
19
|
+
padding: 0 20px;
|
|
20
|
+
}
|
|
21
|
+
.sub-title {
|
|
22
|
+
font-size: 16px;
|
|
23
|
+
color: @heading-subtitle-color;
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
}
|
|
26
|
+
.internal-use-section {
|
|
27
|
+
margin-top: 15px;
|
|
28
|
+
&.secretary-list {
|
|
29
|
+
margin-top: 0;
|
|
30
|
+
}
|
|
31
|
+
.halvingline {
|
|
32
|
+
margin: 20px 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
.incorporation-from-default-view {
|
|
2
|
-
:global {
|
|
3
|
-
.main-content-nav {
|
|
4
|
-
width: 370px;
|
|
5
|
-
padding: 0;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.incorporation-from-context {
|
|
9
|
-
// background: #fff;
|
|
10
|
-
padding: 0;
|
|
11
|
-
|
|
12
|
-
.incorporation-form-view {
|
|
13
|
-
.member-info-content {
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
.member-info-item:first-child {
|
|
16
|
-
margin-bottom: 10px;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
.share-capital {
|
|
20
|
-
display: inherit;
|
|
21
|
-
.capital-box {
|
|
22
|
-
display: flex;
|
|
23
|
-
> div {
|
|
24
|
-
flex: 1;
|
|
25
|
-
margin-left: 10px;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
.capital-currency-btn {
|
|
30
|
-
display: inline;
|
|
31
|
-
margin: 0;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.ant-tabs {
|
|
36
|
-
z-index: 1;
|
|
37
|
-
background: #fff;
|
|
38
|
-
|
|
39
|
-
& > .ant-tabs-nav {
|
|
40
|
-
background: #fff;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
1
|
+
.incorporation-from-default-view {
|
|
2
|
+
:global {
|
|
3
|
+
.main-content-nav {
|
|
4
|
+
width: 370px;
|
|
5
|
+
padding: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.incorporation-from-context {
|
|
9
|
+
// background: #fff;
|
|
10
|
+
padding: 0;
|
|
11
|
+
|
|
12
|
+
.incorporation-form-view {
|
|
13
|
+
.member-info-content {
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
.member-info-item:first-child {
|
|
16
|
+
margin-bottom: 10px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.share-capital {
|
|
20
|
+
display: inherit;
|
|
21
|
+
.capital-box {
|
|
22
|
+
display: flex;
|
|
23
|
+
> div {
|
|
24
|
+
flex: 1;
|
|
25
|
+
margin-left: 10px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.capital-currency-btn {
|
|
30
|
+
display: inline;
|
|
31
|
+
margin: 0;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ant-tabs {
|
|
36
|
+
z-index: 1;
|
|
37
|
+
background: #fff;
|
|
38
|
+
|
|
39
|
+
& > .ant-tabs-nav {
|
|
40
|
+
background: #fff;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|