@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.
Files changed (158) hide show
  1. package/es/components/Header/index.less +20 -20
  2. package/es/components/RegisteresMenuItem/index.less +10 -10
  3. package/es/data/clda-form/CLDAFormContent.js +4 -0
  4. package/es/data/clda-form/CLDAFormContent.js.map +1 -1
  5. package/es/data/clda-form/interfaces.d.ts +22 -2
  6. package/es/data/clda-form/types.d.ts +44 -17
  7. package/es/modules/account/components/AccountOrganizations/index.less +26 -26
  8. package/es/modules/account/components/AccountPropertiesView/index.less +10 -10
  9. package/es/modules/account/pages/AccountDefaultView/index.less +8 -8
  10. package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -5
  11. package/es/modules/corporate/clda/components/CLDAItem/index.less +41 -41
  12. package/es/modules/corporate/clda/components/CLDAListCard/index.d.ts +1 -0
  13. package/es/modules/corporate/clda/components/CLDAListCard/index.js +1 -0
  14. package/es/modules/corporate/clda/components/CLDAListCard/index.js.map +1 -1
  15. package/es/modules/corporate/clda/components/CLDAListView/index.js +9 -3
  16. package/es/modules/corporate/clda/components/CLDAListView/index.js.map +1 -1
  17. package/es/modules/corporate/clda/components/CLDAListView/index.less +30 -30
  18. package/es/modules/corporate/clda/components/CLDAListView/state.d.ts +2 -0
  19. package/es/modules/corporate/clda/components/CLDAListView/state.js.map +1 -1
  20. package/es/modules/corporate/clda/components/CLDAProperties/index.less +15 -15
  21. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +10 -10
  22. package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +13 -13
  23. package/es/modules/corporate/clda/components/CLDASendForm/index.less +47 -47
  24. package/es/modules/corporate/clda/components/NewCLDAForm/index.less +6 -6
  25. package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +58 -58
  26. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +8 -8
  27. package/es/modules/corporate/clda/controls/ModeIcon/index.less +20 -20
  28. package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +14 -14
  29. package/es/modules/corporate/clda/pages/CLDAClientView/index.less +84 -84
  30. package/es/modules/corporate/clda/pages/CLDASettingsPage/index.less +59 -59
  31. package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +40 -40
  32. package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +91 -91
  33. package/es/modules/corporate/company/components/CompanyDetailsView/index.less +40 -40
  34. package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
  35. package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less +41 -41
  36. package/es/modules/corporate/company/controller-register/components/ControllerList/index.less +15 -15
  37. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +51 -51
  38. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.less +4 -4
  39. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
  40. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
  41. package/es/modules/corporate/company/controls/CorporateMenu/index.less +35 -35
  42. package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +64 -64
  43. package/es/modules/corporate/company/identity/components/IdentifyDetail/index.less +61 -61
  44. package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
  45. package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
  46. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
  47. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
  48. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
  49. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.less +35 -35
  50. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.less +12 -12
  51. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +44 -44
  52. package/es/modules/corporate/company/member-register/components/Details/index.less +14 -14
  53. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
  54. package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
  55. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
  56. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.less +40 -40
  57. package/es/modules/corporate/company/officer-register/components/OfficerList/index.less +12 -12
  58. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +44 -44
  59. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
  60. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
  61. package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
  62. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
  63. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +72 -72
  64. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +16 -16
  65. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +89 -89
  66. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
  67. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +89 -89
  68. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
  69. package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
  70. package/es/modules/corporate/components/Statement/index.less +16 -16
  71. package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +8 -8
  72. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
  73. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
  74. package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
  75. package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
  76. package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +72 -72
  77. package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
  78. package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
  79. package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
  80. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
  81. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -30
  82. package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
  83. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +84 -84
  84. package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +22 -22
  85. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
  86. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
  87. package/es/modules/order/components/OrderItem/index.less +21 -21
  88. package/es/modules/order/components/OrderItems/index.less +48 -48
  89. package/es/modules/order/components/OrderPropertiesView/index.less +13 -13
  90. package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -41
  91. package/es/modules/order/controls/OrderLabel/index.less +21 -21
  92. package/es/modules/order/pages/OrderDefaultView/index.less +13 -13
  93. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
  94. package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +25 -25
  95. package/es/modules/self-registration/clda-form/Download/index.less +41 -41
  96. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
  97. package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
  98. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.d.ts +6 -0
  99. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js +163 -0
  100. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js.map +1 -0
  101. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.less +19 -0
  102. package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
  103. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +81 -87
  104. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
  105. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +19 -19
  106. package/es/modules/self-registration/clda-form/components/InternalUse/index.js.map +1 -1
  107. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js +4 -4
  108. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js.map +1 -1
  109. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.d.ts +2 -1
  110. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.js +10 -0
  111. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.js.map +1 -1
  112. package/es/modules/self-registration/clda-form/components/MemberInfo/index.less +201 -201
  113. package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js +14 -16
  114. package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js.map +1 -1
  115. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
  116. package/es/modules/self-registration/clda-form/components/SecretaryList/index.js +4 -4
  117. package/es/modules/self-registration/clda-form/components/SecretaryList/index.js.map +1 -1
  118. package/es/modules/self-registration/clda-form/components/SecretaryList/state.d.ts +2 -2
  119. package/es/modules/self-registration/clda-form/components/SecretaryList/state.js +3 -3
  120. package/es/modules/self-registration/clda-form/components/SecretaryList/state.js.map +1 -1
  121. package/es/modules/self-registration/clda-form/components/ShareCapital/index.d.ts +10 -4
  122. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +54 -58
  123. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
  124. package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
  125. package/es/modules/self-registration/clda-form/incorporation/bvi/index.d.ts +4 -0
  126. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js +71 -0
  127. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js.map +1 -0
  128. package/es/modules/self-registration/clda-form/incorporation/bvi/index.less +36 -0
  129. package/es/modules/self-registration/clda-form/incorporation/bvi/state.d.ts +7 -0
  130. package/es/modules/self-registration/clda-form/incorporation/bvi/state.js +20 -0
  131. package/es/modules/self-registration/clda-form/incorporation/bvi/state.js.map +1 -0
  132. package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
  133. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
  134. package/es/modules/self-registration/components/Card/index.less +51 -51
  135. package/es/modules/self-registration/components/CheckSection/index.less +20 -20
  136. package/es/modules/self-registration/components/MemberCard/index.less +53 -53
  137. package/es/modules/self-registration/components/StripeForm/index.less +36 -36
  138. package/es/modules/self-registration/controls/Blink/index.less +27 -27
  139. package/es/modules/self-registration/controls/Section/index.less +79 -79
  140. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
  141. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
  142. package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
  143. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
  144. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
  145. package/es/modules/self-registration/shopping-cart/ChooseService/index.js +2 -2
  146. package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
  147. package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
  148. package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
  149. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
  150. package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
  151. package/es/modules/self-registration/shopping-cart/pages.less +6 -6
  152. package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
  153. package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.less +39 -39
  154. package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
  155. package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
  156. package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
  157. package/es/style/common.less +66 -66
  158. package/package.json +1 -1
@@ -0,0 +1,163 @@
1
+ import { BusinessActivityTip, BusinessNameTip, RegisteredAddressTip } from "../../../controls/Tips";
2
+ import { Button, Col, Form, Row, Select, Checkbox } from "@voplus/antd";
3
+ import React from "react";
4
+ import { faAddressBook, faBriefcase, faMapMarkerAlt } from "@fortawesome/pro-light-svg-icons";
5
+ import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
6
+ import Address from "@voplus/morpho-org/es/components/Address";
7
+ import BusinessNameInputFormItem from "../../../controls/BusinessNameInputFormItem";
8
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
9
+ import { InlineEdit } from "@voplus/morpho-ui";
10
+ import Section from "../../../controls/Section";
11
+ import { observe } from "@voplus/morpho-ui";
12
+ import { runInAction } from "mobx";
13
+ import styles from "./index.less";
14
+ import { useIncorporationSGPFormContext } from "../../incorporation/sgp/state";
15
+ import { useValidates } from "@voplus/morpho-data";
16
+ const BVICompanyInfo = (props) => {
17
+ const { id } = props;
18
+ const content = useCLDAForm(id).content;
19
+ const store = useCLDAFormStore();
20
+ const context = useIncorporationSGPFormContext();
21
+ const checks = useValidates((c) => ({
22
+ name: c.validate(() => (content === null || content === void 0 ? void 0 : content.legalEntityName1) && (content === null || content === void 0 ? void 0 : content.legalEntityName2) && (content === null || content === void 0 ? void 0 : content.legalEntityName3), "Business name cannot be empty."),
23
+ businessActivity: c.validate(() => content === null || content === void 0 ? void 0 : content.businessActivitiy, "Choose at least one business activity."),
24
+ tradingAddress: c.validate(() => { var _a, _b; return ((_a = content.tradingAddress) === null || _a === void 0 ? void 0 : _a.line1) && ((_b = content.tradingAddress) === null || _b === void 0 ? void 0 : _b.country); }, "A valid local address is required."),
25
+ recordAddress: c.validate(() => { var _a, _b; return ((_a = content.recordAddress) === null || _a === void 0 ? void 0 : _a.line1) && ((_b = content.recordAddress) === null || _b === void 0 ? void 0 : _b.country); }, "A valid local address is required."),
26
+ }), [content]);
27
+ return observe(() => (React.createElement("div", { className: styles.companyInfo },
28
+ React.createElement(Section, { className: "business-name", title: React.createElement(React.Fragment, null,
29
+ React.createElement(FontAwesomeIcon, { icon: faAddressBook }),
30
+ "Business Name ",
31
+ React.createElement(BusinessNameTip, null)) },
32
+ React.createElement(InlineEdit, { defaultValue: content === null || content === void 0 ? void 0 : content.legalEntityName1, editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, (content === null || content === void 0 ? void 0 : content.legalEntityName1) ? (React.createElement("span", null, content.legalEntityName1)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the business name 1")))), editor: (v) => (React.createElement(BusinessNameInputFormItem, { value: v.store.value, onChange: (name) => runInAction(() => (v.store.value = name)), onSave: () => v.store.save({ trigger: "select" }), onCancel: () => v.store.cancel() })), onSave: (v) => store.edit(id, { data: { LegalEntityName1: v } }) }),
33
+ React.createElement(InlineEdit, { defaultValue: content === null || content === void 0 ? void 0 : content.legalEntityName2, editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, (content === null || content === void 0 ? void 0 : content.legalEntityName2) ? (React.createElement("span", null, content.legalEntityName2)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the business name 2")))), editor: (v) => (React.createElement(BusinessNameInputFormItem, { value: v.store.value, onChange: (name) => runInAction(() => (v.store.value = name)), onSave: () => v.store.save({ trigger: "select" }), onCancel: () => v.store.cancel() })), onSave: (v) => store.edit(id, { data: { LegalEntityName2: v } }) }),
34
+ React.createElement(InlineEdit, { defaultValue: content === null || content === void 0 ? void 0 : content.legalEntityName3, editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, (content === null || content === void 0 ? void 0 : content.legalEntityName3) ? (React.createElement("span", null, content.legalEntityName3)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the business name 3")))), editor: (v) => (React.createElement(BusinessNameInputFormItem, { value: v.store.value, onChange: (name) => runInAction(() => (v.store.value = name)), onSave: () => v.store.save({ trigger: "select" }), onCancel: () => v.store.cancel() })), onSave: (v) => store.edit(id, { data: { LegalEntityName3: v } }) }),
35
+ checks.name.error && React.createElement("span", { className: "warning" }, checks.name.message)),
36
+ React.createElement(Section, { className: "business-activities", title: React.createElement(React.Fragment, null,
37
+ React.createElement(FontAwesomeIcon, { icon: faBriefcase }),
38
+ "Business Activitiy ",
39
+ React.createElement(BusinessActivityTip, null)) },
40
+ React.createElement("div", { className: styles.content },
41
+ React.createElement(InlineEdit, { defaultValue: content === null || content === void 0 ? void 0 : content.businessActivitiy, editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, (content === null || content === void 0 ? void 0 : content.businessActivitiy) ? (React.createElement("span", null, content.businessActivitiy)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the activitiy")))), onSave: (v) => {
42
+ store.edit(id, {
43
+ data: {
44
+ BusinessActivitiy: v,
45
+ },
46
+ });
47
+ }, editor: (s) => {
48
+ return (React.createElement(Select, { style: { width: "100%" }, defaultValue: content === null || content === void 0 ? void 0 : content.businessActivitiy, onChange: (v) => runInAction(() => (s.store.value = v.toString())), onBlur: () => s.store.cancel(), autoFocus: true, onSelect: () => s.store.save({ trigger: "select" }) },
49
+ React.createElement(Select.Option, { value: "Trading (Garment)" }, "Trading (Garment)"),
50
+ React.createElement(Select.Option, { value: "Trading (Sundry)" }, "Trading (Sundry)"),
51
+ React.createElement(Select.Option, { value: "Service (Professional)" }, "Service (Professional)"),
52
+ React.createElement(Select.Option, { value: "Service (General)" }, "Service (General)"),
53
+ React.createElement(Select.Option, { value: "Investment Holding" }, "Investment Holding"),
54
+ React.createElement(Select.Option, { value: "Property Investment" }, "Property Investment"),
55
+ React.createElement(Select.Option, { value: "Others" }, "Others")));
56
+ }, editTrigger: "both" }))),
57
+ React.createElement(Section, { className: "registered-address", title: React.createElement(React.Fragment, null,
58
+ React.createElement(FontAwesomeIcon, { icon: faMapMarkerAlt }),
59
+ "Trading Address ",
60
+ React.createElement(RegisteredAddressTip, null),
61
+ React.createElement("div", { className: "sub-title" }, "If you are not using Voplus trading address, please provide your own local address")) },
62
+ React.createElement("div", { className: styles.content },
63
+ React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: content === null || content === void 0 ? void 0 : content.tradingAddress, onSave: (v) => store.edit(id, {
64
+ data: {
65
+ TradingAddress: {
66
+ Line1: v === null || v === void 0 ? void 0 : v.line1,
67
+ Line2: v === null || v === void 0 ? void 0 : v.line2,
68
+ City: v === null || v === void 0 ? void 0 : v.city,
69
+ State: v === null || v === void 0 ? void 0 : v.state,
70
+ PostalCode: v === null || v === void 0 ? void 0 : v.postalCode,
71
+ Country: v === null || v === void 0 ? void 0 : v.country,
72
+ },
73
+ },
74
+ }), content: (p) => {
75
+ const s = p.store.value;
76
+ return (React.createElement(React.Fragment, null, (s === null || s === void 0 ? void 0 : s.city) === "" &&
77
+ (s === null || s === void 0 ? void 0 : s.country) === "" &&
78
+ s.line1 === "" &&
79
+ s.line2 === "" &&
80
+ s.postalCode === "" &&
81
+ s.state === "" ? (React.createElement("span", { className: "placeholder" }, "Please click here to enter the registered address")) : (React.createElement(React.Fragment, null,
82
+ React.createElement(Row, null,
83
+ React.createElement(Col, null, s === null || s === void 0 ? void 0 : s.line1)),
84
+ React.createElement(Row, null,
85
+ React.createElement(Col, null, s === null || s === void 0 ? void 0 : s.line2)),
86
+ React.createElement(Row, null,
87
+ React.createElement(Col, null, `${(s === null || s === void 0 ? void 0 : s.city) ? s === null || s === void 0 ? void 0 : s.city : ""} ${s === null || s === void 0 ? void 0 : s.state} ${s === null || s === void 0 ? void 0 : s.country} ${s === null || s === void 0 ? void 0 : s.postalCode}`.trim()))))));
88
+ }, editor: (p) => observe(() => (React.createElement(React.Fragment, null,
89
+ React.createElement(Row, null,
90
+ React.createElement(Col, { style: { width: "100%" } },
91
+ React.createElement(Form, null,
92
+ React.createElement(Address, { value: p.store.value, onChange: (v) => {
93
+ runInAction(() => {
94
+ p.store.value.city = v.city;
95
+ p.store.value.country = v.country;
96
+ p.store.value.line1 = v.line1;
97
+ p.store.value.line2 = v.line2;
98
+ p.store.value.postalCode = v.postalCode;
99
+ p.store.value.state = v.state;
100
+ });
101
+ } })))),
102
+ React.createElement(Row, null,
103
+ React.createElement(Button, { onClick: () => p.store.save({ trigger: "select" }) }, "Save"),
104
+ React.createElement(Button, { onClick: () => p.store.cancel(), style: { marginLeft: "1rem" } }, "Cancel"))))) })),
105
+ checks.tradingAddress.error && (React.createElement("span", { className: "warning" }, checks.tradingAddress.message))),
106
+ React.createElement(Section, { className: "registered-address", title: React.createElement(React.Fragment, null,
107
+ React.createElement(FontAwesomeIcon, { icon: faMapMarkerAlt }),
108
+ "Record Address ",
109
+ React.createElement(RegisteredAddressTip, null),
110
+ React.createElement("div", { className: "sub-title" }, "If you are not using Voplus trading address, please provide your own local address")) },
111
+ React.createElement("div", { className: styles.content },
112
+ React.createElement("div", null,
113
+ React.createElement(Checkbox, { defaultChecked: content.useTradingAddressForRecord, onChange: (e) => store.edit(id, {
114
+ data: { UseTradingAddressForRecord: e.target.checked },
115
+ error: "message",
116
+ }) }, "Use Trading Address")),
117
+ !content.useTradingAddressForRecord && (React.createElement(React.Fragment, null,
118
+ React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: content === null || content === void 0 ? void 0 : content.recordAddress, onSave: (v) => store.edit(id, {
119
+ data: {
120
+ RecordAddress: {
121
+ Line1: v === null || v === void 0 ? void 0 : v.line1,
122
+ Line2: v === null || v === void 0 ? void 0 : v.line2,
123
+ City: v === null || v === void 0 ? void 0 : v.city,
124
+ State: v === null || v === void 0 ? void 0 : v.state,
125
+ PostalCode: v === null || v === void 0 ? void 0 : v.postalCode,
126
+ Country: v === null || v === void 0 ? void 0 : v.country,
127
+ },
128
+ },
129
+ }), content: (p) => {
130
+ const s = p.store.value;
131
+ return (React.createElement(React.Fragment, null, (s === null || s === void 0 ? void 0 : s.city) === "" &&
132
+ (s === null || s === void 0 ? void 0 : s.country) === "" &&
133
+ s.line1 === "" &&
134
+ s.line2 === "" &&
135
+ s.postalCode === "" &&
136
+ s.state === "" ? (React.createElement("span", { className: "placeholder" }, "Please click here to enter the registered address")) : (React.createElement(React.Fragment, null,
137
+ React.createElement(Row, null,
138
+ React.createElement(Col, null, s === null || s === void 0 ? void 0 : s.line1)),
139
+ React.createElement(Row, null,
140
+ React.createElement(Col, null, s === null || s === void 0 ? void 0 : s.line2)),
141
+ React.createElement(Row, null,
142
+ React.createElement(Col, null, `${(s === null || s === void 0 ? void 0 : s.city) ? s === null || s === void 0 ? void 0 : s.city : ""} ${s === null || s === void 0 ? void 0 : s.state} ${s === null || s === void 0 ? void 0 : s.country} ${s === null || s === void 0 ? void 0 : s.postalCode}`.trim()))))));
143
+ }, editor: (p) => observe(() => (React.createElement(React.Fragment, null,
144
+ React.createElement(Row, null,
145
+ React.createElement(Col, { style: { width: "100%" } },
146
+ React.createElement(Form, null,
147
+ React.createElement(Address, { value: p.store.value, onChange: (v) => {
148
+ runInAction(() => {
149
+ p.store.value.city = v.city;
150
+ p.store.value.country = v.country;
151
+ p.store.value.line1 = v.line1;
152
+ p.store.value.line2 = v.line2;
153
+ p.store.value.postalCode = v.postalCode;
154
+ p.store.value.state = v.state;
155
+ });
156
+ } })))),
157
+ React.createElement(Row, null,
158
+ React.createElement(Button, { onClick: () => p.store.save({ trigger: "select" }) }, "Save"),
159
+ React.createElement(Button, { onClick: () => p.store.cancel(), style: { marginLeft: "1rem" } }, "Cancel"))))) }),
160
+ checks.recordAddress.error && (React.createElement("span", { className: "warning" }, checks.recordAddress.message)))))))));
161
+ };
162
+ export default BVICompanyInfo;
163
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/BVICompanyInfo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,oBAAo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13
+ .sub-title{
14
+ font-size: 16px;
15
+ font-weight: normal;
16
+ color: @heading-subtitle-color;
17
+ }
18
+ }
19
+ }
@@ -1,13 +1,13 @@
1
- .header-bar-tool {
2
- display: flex;
3
- justify-content: space-between;
4
- padding: 0 20px 10px 20px;
5
- :global {
6
- .tools-bar {
7
- text-align: right;
8
- .tool-bar {
9
- display: block;
10
- }
11
- }
12
- }
13
- }
1
+ .header-bar-tool {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ padding: 0 20px 10px 20px;
5
+ :global {
6
+ .tools-bar {
7
+ text-align: right;
8
+ .tool-bar {
9
+ display: block;
10
+ }
11
+ }
12
+ }
13
+ }
@@ -16,102 +16,96 @@ import { useIncorporationSGPFormContext } from "../../incorporation/sgp/state";
16
16
  import { useValidates } from "@voplus/morpho-data";
17
17
  export const CompanyInfo = (props) => {
18
18
  const { id } = props;
19
- const incorporationForm = useCLDAForm(id);
19
+ const content = useCLDAForm(id).content;
20
20
  const store = useCLDAFormStore();
21
21
  const context = useIncorporationSGPFormContext();
22
22
  const checks = useValidates((c) => ({
23
- name: c.validate(() => { var _a; return (_a = incorporationForm === null || incorporationForm === void 0 ? void 0 : incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName; }, "Business name cannot be empty."),
24
- businessActivity: c.validate(() => incorporationForm.content.businessActivities.some((activity) => !!activity && Number(activity.split(" ")[0]) !== NaN), "Choose at least one business activity."),
23
+ name: c.validate(() => content === null || content === void 0 ? void 0 : content.legalEntityName, "Business name cannot be empty."),
24
+ businessActivity: c.validate(() => content.businessActivities.some((activity) => !!activity && Number(activity.split(" ")[0]) !== NaN), "Choose at least one business activity."),
25
25
  registeredAddress: c.validate(() => {
26
26
  var _a, _b, _c;
27
- return ((_a = incorporationForm.content.address) === null || _a === void 0 ? void 0 : _a.line1) &&
28
- ((_b = incorporationForm.content.address) === null || _b === void 0 ? void 0 : _b.country) &&
27
+ return ((_a = content.address) === null || _a === void 0 ? void 0 : _a.line1) &&
28
+ ((_b = content.address) === null || _b === void 0 ? void 0 : _b.country) &&
29
29
  // corporate.jurisdiction === "SG" &&
30
- ((_c = incorporationForm.content.address) === null || _c === void 0 ? void 0 : _c.country) === "Singapore";
30
+ ((_c = content.address) === null || _c === void 0 ? void 0 : _c.country) === "Singapore";
31
31
  }, "A valid local address is required."),
32
- }), [incorporationForm]);
33
- return observe(() => {
34
- var _a, _b, _c;
35
- return (React.createElement("div", { className: styles.companyInfo }, incorporationForm.loaded && (React.createElement("div", null,
36
- React.createElement(Section, { className: "business-name", title: React.createElement(React.Fragment, null,
37
- React.createElement(FontAwesomeIcon, { icon: faAddressBook }),
38
- "Business Name ",
39
- React.createElement(BusinessNameTip, null)) },
40
- React.createElement(InlineEdit, { defaultValue: (_a = incorporationForm === null || incorporationForm === void 0 ? void 0 : incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
41
- var _a;
42
- return (React.createElement("div", null, ((_a = incorporationForm === null || incorporationForm === void 0 ? void 0 : incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName) ? (React.createElement("span", null, incorporationForm.content.legalEntityName)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the business name"))));
43
- }, editor: (v) => (React.createElement(BusinessNameInputFormItem, { value: v.store.value, onChange: (name) => runInAction(() => (v.store.value = name)), onSave: () => v.store.save({ trigger: "select" }), onCancel: () => v.store.cancel() })), onSave: (v) => store.edit(id, { data: { LegalEntityName: v } }) }),
44
- checks.name.error && React.createElement("span", { className: "warning" }, checks.name.message)),
45
- React.createElement(Section, { className: "business-activities", title: React.createElement(React.Fragment, null,
46
- React.createElement(FontAwesomeIcon, { icon: faBriefcase }),
47
- "Business Activities ",
48
- React.createElement(BusinessActivityTip, null)) },
49
- React.createElement("div", { className: styles.content },
50
- React.createElement(Form, null, ((_b = incorporationForm.content) === null || _b === void 0 ? void 0 : _b.businessActivities) &&
51
- incorporationForm.content.businessActivities.map((activity, i) => {
52
- return (React.createElement(Form.Item, { label: `Activity ${i + 1}`, key: `activity-${i}` },
53
- React.createElement(InlineEdit, { defaultValue: activity, editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, activity ? (React.createElement("span", null, activity)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the activities")))), onSave: (v) => {
54
- store.edit(id, {
55
- data: {
56
- BusinessActivities: [
57
- i == 0 ? v : incorporationForm.content.businessActivities[0],
58
- i == 1 ? v : incorporationForm.content.businessActivities[1],
59
- ],
60
- },
61
- });
62
- }, editor: (s) => {
63
- return (React.createElement(BusinessActivityInput, { defaultValue: activity, onChange: (v) => runInAction(() => (s.store.value = v.toString())), onBlur: () => s.store.cancel(), autoFocus: true, onSelect: () => s.store.save({ trigger: "select" }) }));
64
- }, editTrigger: "both" })));
65
- })))),
66
- React.createElement(Section, { className: "registered-address", title: React.createElement(React.Fragment, null,
67
- React.createElement(FontAwesomeIcon, { icon: faMapMarkerAlt }),
68
- "Registered Address ",
69
- React.createElement(RegisteredAddressTip, null),
70
- React.createElement("div", { className: "sub-title" }, "If you are not using Voplus registered address, please provide your own local address")) },
71
- React.createElement("div", { className: styles.content },
72
- React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: (_c = incorporationForm.content) === null || _c === void 0 ? void 0 : _c.address, onSave: (v) => store.edit(id, {
73
- data: {
74
- Address: {
75
- Line1: v === null || v === void 0 ? void 0 : v.line1,
76
- Line2: v === null || v === void 0 ? void 0 : v.line2,
77
- City: v === null || v === void 0 ? void 0 : v.city,
78
- State: v === null || v === void 0 ? void 0 : v.state,
79
- PostalCode: v === null || v === void 0 ? void 0 : v.postalCode,
80
- Country: v === null || v === void 0 ? void 0 : v.country,
81
- },
32
+ }), [content]);
33
+ return observe(() => (React.createElement("div", { className: styles.companyInfo },
34
+ React.createElement(Section, { className: "business-name", title: React.createElement(React.Fragment, null,
35
+ React.createElement(FontAwesomeIcon, { icon: faAddressBook }),
36
+ "Business Name ",
37
+ React.createElement(BusinessNameTip, null)) },
38
+ React.createElement(InlineEdit, { defaultValue: content === null || content === void 0 ? void 0 : content.legalEntityName, editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, (content === null || content === void 0 ? void 0 : content.legalEntityName) ? (React.createElement("span", null, content.legalEntityName)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the business name")))), editor: (v) => (React.createElement(BusinessNameInputFormItem, { value: v.store.value, onChange: (name) => runInAction(() => (v.store.value = name)), onSave: () => v.store.save({ trigger: "select" }), onCancel: () => v.store.cancel() })), onSave: (v) => store.edit(id, { data: { LegalEntityName: v } }) }),
39
+ checks.name.error && React.createElement("span", { className: "warning" }, checks.name.message)),
40
+ React.createElement(Section, { className: "business-activities", title: React.createElement(React.Fragment, null,
41
+ React.createElement(FontAwesomeIcon, { icon: faBriefcase }),
42
+ "Business Activities ",
43
+ React.createElement(BusinessActivityTip, null)) },
44
+ React.createElement("div", { className: styles.content },
45
+ React.createElement(Form, null, (content === null || content === void 0 ? void 0 : content.businessActivities) &&
46
+ content.businessActivities.map((activity, i) => {
47
+ return (React.createElement(Form.Item, { label: `Activity ${i + 1}`, key: `activity-${i}` },
48
+ React.createElement(InlineEdit, { defaultValue: activity, editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, activity ? (React.createElement("span", null, activity)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the activities")))), onSave: (v) => {
49
+ store.edit(id, {
50
+ data: {
51
+ BusinessActivities: [
52
+ i == 0 ? v : content.businessActivities[0],
53
+ i == 1 ? v : content.businessActivities[1],
54
+ ],
55
+ },
56
+ });
57
+ }, editor: (s) => {
58
+ return (React.createElement(BusinessActivityInput, { defaultValue: activity, onChange: (v) => runInAction(() => (s.store.value = v.toString())), onBlur: () => s.store.cancel(), autoFocus: true, onSelect: () => s.store.save({ trigger: "select" }) }));
59
+ }, editTrigger: "both" })));
60
+ })))),
61
+ React.createElement(Section, { className: "registered-address", title: React.createElement(React.Fragment, null,
62
+ React.createElement(FontAwesomeIcon, { icon: faMapMarkerAlt }),
63
+ "Registered Address ",
64
+ React.createElement(RegisteredAddressTip, null),
65
+ React.createElement("div", { className: "sub-title" }, "If you are not using Voplus registered address, please provide your own local address")) },
66
+ React.createElement("div", { className: styles.content },
67
+ React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: content === null || content === void 0 ? void 0 : content.address, onSave: (v) => store.edit(id, {
68
+ data: {
69
+ Address: {
70
+ Line1: v === null || v === void 0 ? void 0 : v.line1,
71
+ Line2: v === null || v === void 0 ? void 0 : v.line2,
72
+ City: v === null || v === void 0 ? void 0 : v.city,
73
+ State: v === null || v === void 0 ? void 0 : v.state,
74
+ PostalCode: v === null || v === void 0 ? void 0 : v.postalCode,
75
+ Country: v === null || v === void 0 ? void 0 : v.country,
82
76
  },
83
- }), content: (p) => {
84
- const s = p.store.value;
85
- return (React.createElement(React.Fragment, null, (s === null || s === void 0 ? void 0 : s.city) === "" &&
86
- (s === null || s === void 0 ? void 0 : s.country) === "" &&
87
- s.line1 === "" &&
88
- s.line2 === "" &&
89
- s.postalCode === "" &&
90
- s.state === "" ? (React.createElement("span", { className: "placeholder" }, "Please click here to enter the registered address")) : (React.createElement(React.Fragment, null,
91
- React.createElement(Row, null,
92
- React.createElement(Col, null, s === null || s === void 0 ? void 0 : s.line1)),
93
- React.createElement(Row, null,
94
- React.createElement(Col, null, s === null || s === void 0 ? void 0 : s.line2)),
95
- React.createElement(Row, null,
96
- React.createElement(Col, null, `${(s === null || s === void 0 ? void 0 : s.city) ? s === null || s === void 0 ? void 0 : s.city : ""} ${s === null || s === void 0 ? void 0 : s.state} ${s === null || s === void 0 ? void 0 : s.country} ${s === null || s === void 0 ? void 0 : s.postalCode}`.trim()))))));
97
- }, editor: (p) => observe(() => (React.createElement(React.Fragment, null,
77
+ },
78
+ }), content: (p) => {
79
+ const s = p.store.value;
80
+ return (React.createElement(React.Fragment, null, (s === null || s === void 0 ? void 0 : s.city) === "" &&
81
+ (s === null || s === void 0 ? void 0 : s.country) === "" &&
82
+ s.line1 === "" &&
83
+ s.line2 === "" &&
84
+ s.postalCode === "" &&
85
+ s.state === "" ? (React.createElement("span", { className: "placeholder" }, "Please click here to enter the registered address")) : (React.createElement(React.Fragment, null,
98
86
  React.createElement(Row, null,
99
- React.createElement(Col, { style: { width: "100%" } },
100
- React.createElement(Form, null,
101
- React.createElement(Address, { value: p.store.value, onChange: (v) => {
102
- runInAction(() => {
103
- p.store.value.city = v.city;
104
- p.store.value.country = v.country;
105
- p.store.value.line1 = v.line1;
106
- p.store.value.line2 = v.line2;
107
- p.store.value.postalCode = v.postalCode;
108
- p.store.value.state = v.state;
109
- });
110
- } })))),
87
+ React.createElement(Col, null, s === null || s === void 0 ? void 0 : s.line1)),
111
88
  React.createElement(Row, null,
112
- React.createElement(Button, { onClick: () => p.store.save({ trigger: "select" }) }, "Save"),
113
- React.createElement(Button, { onClick: () => p.store.cancel(), style: { marginLeft: "1rem" } }, "Cancel"))))) })),
114
- checks.registeredAddress.error && (React.createElement("span", { className: "warning" }, checks.registeredAddress.message)))))));
115
- });
89
+ React.createElement(Col, null, s === null || s === void 0 ? void 0 : s.line2)),
90
+ React.createElement(Row, null,
91
+ React.createElement(Col, null, `${(s === null || s === void 0 ? void 0 : s.city) ? s === null || s === void 0 ? void 0 : s.city : ""} ${s === null || s === void 0 ? void 0 : s.state} ${s === null || s === void 0 ? void 0 : s.country} ${s === null || s === void 0 ? void 0 : s.postalCode}`.trim()))))));
92
+ }, editor: (p) => observe(() => (React.createElement(React.Fragment, null,
93
+ React.createElement(Row, null,
94
+ React.createElement(Col, { style: { width: "100%" } },
95
+ React.createElement(Form, null,
96
+ React.createElement(Address, { value: p.store.value, onChange: (v) => {
97
+ runInAction(() => {
98
+ p.store.value.city = v.city;
99
+ p.store.value.country = v.country;
100
+ p.store.value.line1 = v.line1;
101
+ p.store.value.line2 = v.line2;
102
+ p.store.value.postalCode = v.postalCode;
103
+ p.store.value.state = v.state;
104
+ });
105
+ } })))),
106
+ React.createElement(Row, null,
107
+ React.createElement(Button, { onClick: () => p.store.save({ trigger: "select" }) }, "Save"),
108
+ React.createElement(Button, { onClick: () => p.store.cancel(), style: { marginLeft: "1rem" } }, "Cancel"))))) })),
109
+ checks.registeredAddress.error && (React.createElement("span", { className: "warning" }, checks.registeredAddress.message))))));
116
110
  };
117
111
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CompanyInfo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACpG,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC9F,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,OAAO,MAAM,0CAA0C,CAAC;AAC/D,OAAO,qBAAqB,MAAM,yCAAyC,CAAC;AAC5E,OAAO,yBAAyB,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,MAA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KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;gDAC/B,CAAC,CAAC,CAAC;4CACJ,CAAC,GAEA,CACI,CACF,CACD;4BACN,oBAAC,GAAG;gCACH,oBAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,WAAe;gCACzE,oBAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,aAE7D,CACJ,CACU,CACjB,CAAC,GAEF,CACG;gBACL,MAAM,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAClC,8BAAM,SAAS,EAAC,SAAS,IAAE,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAQ,CACnE,CACQ,CACL,CACN,CACI,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CompanyInfo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACpG,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC9F,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAmB,MAAM,+BAA+B,CAAC;AAE/F,OAAO,OAAO,MAAM,0CAA0C,CAAC;AAC/D,OAAO,qBAAqB,MAAM,yCAAyC,CAAC;AAC5E,OAAO,yBAAyB,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,eAAe,EAA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AAK,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC,UAAU,CAAC;gDACxC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;4CAC/B,CAAC,CAAC,CAAC;wCACJ,CAAC,GAEA,CACI,CACF,CACD;wBACN,oBAAC,GAAG;4BACH,oBAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,WAAe;4BACzE,oBAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,aAE7D,CACJ,CACU,CACjB,CAAC,GAEF,CACG;YACL,MAAM,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAClC,8BAAM,SAAS,EAAC,SAAS,IAAE,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAQ,CACnE,CACQ,CACL,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -1,19 +1,19 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- .companyInfo {
4
- :global {
5
- .ant-form-item-label > label {
6
- width: 110px;
7
- }
8
-
9
- .placeholder {
10
- color: #00000040;
11
- }
12
-
13
- .sub-title{
14
- font-size: 16px;
15
- font-weight: normal;
16
- color: @heading-subtitle-color;
17
- }
18
- }
19
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ .companyInfo {
4
+ :global {
5
+ .ant-form-item-label > label {
6
+ width: 110px;
7
+ }
8
+
9
+ .placeholder {
10
+ color: #00000040;
11
+ }
12
+
13
+ .sub-title{
14
+ font-size: 16px;
15
+ font-weight: normal;
16
+ color: @heading-subtitle-color;
17
+ }
18
+ }
19
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../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AC,IAAI,EAAE,eAAe,GAAI;mCAE1B;gBAGlB,oBAAC,IAAI,IAAC,QAAQ,EAAE,KAAK,CAAC,iBAAiB,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,MAAM;oBAClF,oBAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY;wBAC1E,oBAAC,aAAa,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI;wBAC/B,oBAAC,oBAAoB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI;wBACtC,6BAAK,SAAS,EAAC,sBAAsB;4BACpC,6BAAK,SAAS,EAAC,WAAW,YAAY;4BACtC,oBAAC,OAAO,IAAC,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAI;4BACxC,oBAAC,QAAQ,IACR,OAAO,EAAE,MAAA,KAAK,CAAC,iBAAiB,CAAC,OAAO,0CAAE,kBAAkB,EAC5D,QAAQ,EAAE,QAAQ,2BAGR,CACN,CACA,CACD,CACE,CACL,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,QAAQ,CAAC,CAAM;QACvB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;YACd,IAAI,EAAE;gBACL,kBAAkB,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO;aACpC;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/InternalUse/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,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AM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY;wBAC1E,oBAAC,aAAa,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI;wBAC/B,oBAAC,oBAAoB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI;wBACtC,6BAAK,SAAS,EAAC,sBAAsB;4BACpC,6BAAK,SAAS,EAAC,WAAW,YAAY;4BACtC,oBAAC,OAAO,IAAC,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAI;4BACxC,oBAAC,QAAQ,IACR,OAAO,EAAE,MAAC,KAAK,CAAC,iBAAiB,CAAC,OAA2B,0CAAE,kBAAkB,EACjF,QAAQ,EAAE,QAAQ,2BAGR,CACN,CACA,CACD,CACE,CACL,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,QAAQ,CAAC,CAAM;QACvB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;YACd,IAAI,EAAE;gBACL,kBAAkB,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO;aACpC;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -20,10 +20,10 @@ const ManagingDirectorList = (props) => {
20
20
  return (React.createElement("div", { className: "internal-use-section" },
21
21
  React.createElement("div", { className: "sub-title" }, "Managing Director(s)"),
22
22
  React.createElement(Divider, { style: { margin: "10px 0" } }),
23
- ((_a = state.incorporationForm.content) === null || _a === void 0 ? void 0 : _a.managingDirectorIds) &&
24
- ((_b = state.incorporationForm.content) === null || _b === void 0 ? void 0 : _b.managingDirectorIds.map((m, i) => {
23
+ ((_a = state.content) === null || _a === void 0 ? void 0 : _a.managingDirectorIds) &&
24
+ ((_b = state.content) === null || _b === void 0 ? void 0 : _b.managingDirectorIds.map((m, i) => {
25
25
  var _a, _b;
26
- return (React.createElement(MemberInfo, { formId: id, memberId: m, contacts: (_a = state.incorporationForm.content.contacts) === null || _a === void 0 ? void 0 : _a.filter((item) => item.id === m)[0], key: i, memberIndex: i, memberLength: (_b = state.incorporationForm.content.managingDirectorIds) === null || _b === void 0 ? void 0 : _b.length, onDeleteClick: () => remove(i) }));
26
+ return (React.createElement(MemberInfo, { formId: id, memberId: m, contacts: (_a = state.content.contacts) === null || _a === void 0 ? void 0 : _a.filter((item) => item.id === m)[0], key: i, memberIndex: i, memberLength: (_b = state.content.managingDirectorIds) === null || _b === void 0 ? void 0 : _b.length, onDeleteClick: () => remove(i) }));
27
27
  })),
28
28
  (context ? context.editable : true) && (React.createElement(Button, { style: { marginTop: "20px" }, onClick: setAdd }, "Add Managing Director(s)")),
29
29
  showDialog && (React.createElement(NewSecretaryDialog, { id: id, visible: true, type: "managingDirector", title: "New Managing Director", onCancel: () => setShowDialog(false) }))));
@@ -36,7 +36,7 @@ const ManagingDirectorList = (props) => {
36
36
  return Modal.confirm({
37
37
  title: "Do you want to delete this item?",
38
38
  async onOk() {
39
- const members = clone(state.incorporationForm.content.managingDirectorIds);
39
+ const members = clone(state.content.managingDirectorIds);
40
40
  members.splice(index, 1);
41
41
  await store.edit(id, {
42
42
  data: { ManagingDirectorIds: members },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ManagingDirectorList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM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AC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ManagingDirectorList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAE/E,MAAM,oBAAoB,GAAG,CAAC,KAAkB,EAAE,EAAE;IACnD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpD,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,OAAO,GAAG,8BAA8B,EAAE,CAAC;IACjD,MAAM,aAAa,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC5C,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAE5B,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,6BAAK,SAAS,EAAC,sBAAsB;YACpC,6BAAK,SAAS,EAAC,WAAW,2BAA2B;YACrD,oBAAC,OAAO,IAAC,KAAK,EAA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O,KAAK,CAAC,OAAO,CAAC;YACpB,KAAK,EAAE,kCAAkC;YACzC,KAAK,CAAC,IAAI;gBACT,MAAM,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,mBAAoB,CAAC,CAAC;gBAC1D,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;gBACzB,MAAM,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;oBACpB,IAAI,EAAE,EAAE,mBAAmB,EAAE,OAAO,EAAE;oBACtC,KAAK,EAAE,SAAS;iBAChB,CAAC,CAAC;YACJ,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,7 +1,8 @@
1
- import { ICLDAForm } from "../../../../../data/clda-form";
1
+ import { ICLDAForm, IINCFormContent } from "../../../../../data/clda-form";
2
2
  export declare class State {
3
3
  /** */
4
4
  incorporationForm: ICLDAForm;
5
+ content: IINCFormContent;
5
6
  /** 编辑 members 的 index */
6
7
  index?: number;
7
8
  constructor();