@voplus/morpho-csp 11.2.3 → 11.2.5-dev.0

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 (919) hide show
  1. package/es/Modules.js +1 -1
  2. package/es/Modules.js.map +1 -1
  3. package/es/components/CorporateMentionList/index.js +12 -8
  4. package/es/components/CorporateMentionList/index.js.map +1 -1
  5. package/es/components/CorporateNavMenu/CorporateNavMenu.js +10 -8
  6. package/es/components/CorporateNavMenu/CorporateNavMenu.js.map +1 -1
  7. package/es/components/CorporateNavMenu/NavMenuItem.js +3 -2
  8. package/es/components/CorporateNavMenu/NavMenuItem.js.map +1 -1
  9. package/es/components/CorporateNavMenu/index.js +4 -3
  10. package/es/components/CorporateNavMenu/index.js.map +1 -1
  11. package/es/components/CorporateNavMenu/state.js +182 -160
  12. package/es/components/CorporateNavMenu/state.js.map +1 -1
  13. package/es/components/CorporateUnitSelectDialog/index.js +24 -21
  14. package/es/components/CorporateUnitSelectDialog/index.js.map +1 -1
  15. package/es/components/CorporateUnitSelectDialog/state.js +147 -116
  16. package/es/components/CorporateUnitSelectDialog/state.js.map +1 -1
  17. package/es/components/CurrencyView/state.js +29 -24
  18. package/es/components/CurrencyView/state.js.map +1 -1
  19. package/es/components/DragTableRow/index.js +2 -1
  20. package/es/components/DragTableRow/index.js.map +1 -1
  21. package/es/components/LegalContactSelect/index.js +2 -1
  22. package/es/components/LegalContactSelect/index.js.map +1 -1
  23. package/es/components/LegalContactSelect/state.js +29 -24
  24. package/es/components/LegalContactSelect/state.js.map +1 -1
  25. package/es/components/NewTypeDropdown/index.js +1 -1
  26. package/es/components/NewTypeDropdown/index.js.map +1 -1
  27. package/es/components/RegisteresMenuItem/index.js +26 -19
  28. package/es/components/RegisteresMenuItem/index.js.map +1 -1
  29. package/es/components/RegisteresMenuItem/state.js +41 -31
  30. package/es/components/RegisteresMenuItem/state.js.map +1 -1
  31. package/es/data/agm-clda/metas.js +6 -1
  32. package/es/data/agm-clda/metas.js.map +1 -1
  33. package/es/data/cart/store.js +13 -4
  34. package/es/data/cart/store.js.map +1 -1
  35. package/es/data/clda/metas.js +6 -1
  36. package/es/data/clda/metas.js.map +1 -1
  37. package/es/data/clda/store.js +15 -6
  38. package/es/data/clda/store.js.map +1 -1
  39. package/es/data/clda-form/interfaces.d.ts +2 -1
  40. package/es/data/clda-form/metas.js +6 -1
  41. package/es/data/clda-form/metas.js.map +1 -1
  42. package/es/data/clda-form/store.js +13 -4
  43. package/es/data/clda-form/store.js.map +1 -1
  44. package/es/data/clda-form/types.d.ts +2 -1
  45. package/es/data/clda-meta/store.js +22 -8
  46. package/es/data/clda-meta/store.js.map +1 -1
  47. package/es/data/clda-setting/store.js +35 -11
  48. package/es/data/clda-setting/store.js.map +1 -1
  49. package/es/data/company-general/metas.js +6 -1
  50. package/es/data/company-general/metas.js.map +1 -1
  51. package/es/data/controller/ControllerStore.js +26 -11
  52. package/es/data/controller/ControllerStore.js.map +1 -1
  53. package/es/data/corporate/CompanyPageContext.js +16 -13
  54. package/es/data/corporate/CompanyPageContext.js.map +1 -1
  55. package/es/data/corporate/CorporateStore.js +21 -7
  56. package/es/data/corporate/CorporateStore.js.map +1 -1
  57. package/es/data/corporate/metas.js +6 -1
  58. package/es/data/corporate/metas.js.map +1 -1
  59. package/es/data/entity/EntityStore.js +12 -3
  60. package/es/data/entity/EntityStore.js.map +1 -1
  61. package/es/data/filing-record/FilingRecordStore.js +41 -13
  62. package/es/data/filing-record/FilingRecordStore.js.map +1 -1
  63. package/es/data/filing-type/FilingTypeStore.js +44 -15
  64. package/es/data/filing-type/FilingTypeStore.js.map +1 -1
  65. package/es/data/filing-year/FilingYearStore.js +34 -10
  66. package/es/data/filing-year/FilingYearStore.js.map +1 -1
  67. package/es/data/incorporation-clda/metas.js +6 -1
  68. package/es/data/incorporation-clda/metas.js.map +1 -1
  69. package/es/data/incorporation-clda/store.js +13 -4
  70. package/es/data/incorporation-clda/store.js.map +1 -1
  71. package/es/data/member/MemberStore.js +25 -10
  72. package/es/data/member/MemberStore.js.map +1 -1
  73. package/es/data/officer/OfficerStore.js +26 -11
  74. package/es/data/officer/OfficerStore.js.map +1 -1
  75. package/es/data/order/OrderStore.js +12 -3
  76. package/es/data/order/OrderStore.js.map +1 -1
  77. package/es/data/relationship/CorporateRelationshipContext.js +32 -27
  78. package/es/data/relationship/CorporateRelationshipContext.js.map +1 -1
  79. package/es/data/relationship/RelationshipStore.js +20 -6
  80. package/es/data/relationship/RelationshipStore.js.map +1 -1
  81. package/es/data/risk-match/RiskMatchStore.js +34 -10
  82. package/es/data/risk-match/RiskMatchStore.js.map +1 -1
  83. package/es/data/risk-profile/RiskProfileStore.js +35 -11
  84. package/es/data/risk-profile/RiskProfileStore.js.map +1 -1
  85. package/es/data/service/store.js +21 -7
  86. package/es/data/service/store.js.map +1 -1
  87. package/es/data/serviceType/store.js +21 -7
  88. package/es/data/serviceType/store.js.map +1 -1
  89. package/es/data/share-certificate/ShareCertificateStore.js +7 -2
  90. package/es/data/share-certificate/ShareCertificateStore.js.map +1 -1
  91. package/es/data/share-certificate/hooks.js +1 -1
  92. package/es/data/share-certificate/hooks.js.map +1 -1
  93. package/es/data/share-certificate/metas.js +6 -1
  94. package/es/data/share-certificate/metas.js.map +1 -1
  95. package/es/data/share-class/ShareClassStore.js +112 -85
  96. package/es/data/share-class/ShareClassStore.js.map +1 -1
  97. package/es/data/share-transaction/ShareTransactionStore.js +14 -4
  98. package/es/data/share-transaction/ShareTransactionStore.js.map +1 -1
  99. package/es/data/share-transaction/metas.js +6 -1
  100. package/es/data/share-transaction/metas.js.map +1 -1
  101. package/es/data/shareOptionsRegister/ShareOptionStore.js +7 -2
  102. package/es/data/shareOptionsRegister/ShareOptionStore.js.map +1 -1
  103. package/es/data/shareOptionsRegister/metas.js +6 -1
  104. package/es/data/shareOptionsRegister/metas.js.map +1 -1
  105. package/es/data/virtual-address/VirtualAddressStore.js +129 -97
  106. package/es/data/virtual-address/VirtualAddressStore.js.map +1 -1
  107. package/es/data/virtual-address-mail/VirtualAddressMailStore.js +148 -121
  108. package/es/data/virtual-address-mail/VirtualAddressMailStore.js.map +1 -1
  109. package/es/data/virtual-address-mail/metas.js +6 -1
  110. package/es/data/virtual-address-mail/metas.js.map +1 -1
  111. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchList/index.js +3 -2
  112. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchList/index.js.map +1 -1
  113. package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/index.js +7 -7
  114. package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/index.js.map +1 -1
  115. package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/state.js +78 -52
  116. package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/state.js.map +1 -1
  117. package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.js +4 -2
  118. package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.js.map +1 -1
  119. package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/state.js +30 -17
  120. package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/state.js.map +1 -1
  121. package/es/modules/corporate/background-investigation/risk-profile/components/RelatedProfileList/index.js +1 -1
  122. package/es/modules/corporate/background-investigation/risk-profile/components/RelatedProfileList/index.js.map +1 -1
  123. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.js +14 -11
  124. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.js.map +1 -1
  125. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileItem/index.js +4 -4
  126. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileItem/index.js.map +1 -1
  127. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileList/index.js +5 -4
  128. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileList/index.js.map +1 -1
  129. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js +42 -26
  130. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js.map +1 -1
  131. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileTabs/index.js +2 -1
  132. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileTabs/index.js.map +1 -1
  133. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileDataBar/index.js +1 -1
  134. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileDataBar/index.js.map +1 -1
  135. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js +3 -2
  136. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js.map +1 -1
  137. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/RiskProfileContext.js +16 -13
  138. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/RiskProfileContext.js.map +1 -1
  139. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/index.js +12 -9
  140. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/index.js.map +1 -1
  141. package/es/modules/corporate/background-investigation/risk-profile/pages/UnitRiskProfilePage/index.js +6 -3
  142. package/es/modules/corporate/background-investigation/risk-profile/pages/UnitRiskProfilePage/index.js.map +1 -1
  143. package/es/modules/corporate/clda/components/AddProfileDialog/index.js +3 -2
  144. package/es/modules/corporate/clda/components/AddProfileDialog/index.js.map +1 -1
  145. package/es/modules/corporate/clda/components/CLDADetails/index.js +35 -28
  146. package/es/modules/corporate/clda/components/CLDADetails/index.js.map +1 -1
  147. package/es/modules/corporate/clda/components/CLDAListView/index.js +5 -3
  148. package/es/modules/corporate/clda/components/CLDAListView/index.js.map +1 -1
  149. package/es/modules/corporate/clda/components/CLDAListView/state.js +151 -106
  150. package/es/modules/corporate/clda/components/CLDAListView/state.js.map +1 -1
  151. package/es/modules/corporate/clda/components/CLDAOverview/index.js +6 -5
  152. package/es/modules/corporate/clda/components/CLDAOverview/index.js.map +1 -1
  153. package/es/modules/corporate/clda/components/CLDAProperties/index.js +2 -2
  154. package/es/modules/corporate/clda/components/CLDAProperties/index.js.map +1 -1
  155. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js +39 -36
  156. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js.map +1 -1
  157. package/es/modules/corporate/clda/components/NewCLDAForm/index.js +27 -22
  158. package/es/modules/corporate/clda/components/NewCLDAForm/index.js.map +1 -1
  159. package/es/modules/corporate/clda/components/NewCLDAForm/state.js +51 -41
  160. package/es/modules/corporate/clda/components/NewCLDAForm/state.js.map +1 -1
  161. package/es/modules/corporate/clda/controls/CLDADataBar/index.js +2 -1
  162. package/es/modules/corporate/clda/controls/CLDADataBar/index.js.map +1 -1
  163. package/es/modules/corporate/clda/controls/CLDAMenu/index.js +2 -1
  164. package/es/modules/corporate/clda/controls/CLDAMenu/index.js.map +1 -1
  165. package/es/modules/corporate/clda/controls/CLDAMenu/items/LegalDocuments.js +1 -1
  166. package/es/modules/corporate/clda/controls/CLDAMenu/items/LegalDocuments.js.map +1 -1
  167. package/es/modules/corporate/clda/controls/CLDAMenu/items/SendCLDA.js +14 -10
  168. package/es/modules/corporate/clda/controls/CLDAMenu/items/SendCLDA.js.map +1 -1
  169. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.js +1 -1
  170. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.js.map +1 -1
  171. package/es/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.js +55 -51
  172. package/es/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.js.map +1 -1
  173. package/es/modules/corporate/clda/controls/filters/CLDAStatusFilter/state.js +70 -59
  174. package/es/modules/corporate/clda/controls/filters/CLDAStatusFilter/state.js.map +1 -1
  175. package/es/modules/corporate/clda/controls/filters/CLDATypesFilter/state.js +61 -55
  176. package/es/modules/corporate/clda/controls/filters/CLDATypesFilter/state.js.map +1 -1
  177. package/es/modules/corporate/clda/pages/CLDAClientView/CLDAClientContext.js +58 -51
  178. package/es/modules/corporate/clda/pages/CLDAClientView/CLDAClientContext.js.map +1 -1
  179. package/es/modules/corporate/clda/pages/CLDAClientView/components/DigitalPreparationStep/index.js +2 -1
  180. package/es/modules/corporate/clda/pages/CLDAClientView/components/DigitalPreparationStep/index.js.map +1 -1
  181. package/es/modules/corporate/clda/pages/CLDAClientView/components/DigitalSigningStep/index.js +1 -1
  182. package/es/modules/corporate/clda/pages/CLDAClientView/components/DigitalSigningStep/index.js.map +1 -1
  183. package/es/modules/corporate/clda/pages/CLDAClientView/components/PhysicalPreparationStep/index.js +2 -1
  184. package/es/modules/corporate/clda/pages/CLDAClientView/components/PhysicalPreparationStep/index.js.map +1 -1
  185. package/es/modules/corporate/clda/pages/CLDAClientView/components/SelectStep/index.js +16 -13
  186. package/es/modules/corporate/clda/pages/CLDAClientView/components/SelectStep/index.js.map +1 -1
  187. package/es/modules/corporate/clda/pages/CLDAClientView/components/VerificationStep/index.js +9 -6
  188. package/es/modules/corporate/clda/pages/CLDAClientView/components/VerificationStep/index.js.map +1 -1
  189. package/es/modules/corporate/clda/pages/CLDAClientView/index.js +20 -15
  190. package/es/modules/corporate/clda/pages/CLDAClientView/index.js.map +1 -1
  191. package/es/modules/corporate/clda/pages/CLDAListPage/Content/index.js +28 -25
  192. package/es/modules/corporate/clda/pages/CLDAListPage/Content/index.js.map +1 -1
  193. package/es/modules/corporate/clda/pages/CLDAListPage/Content/state.js +123 -94
  194. package/es/modules/corporate/clda/pages/CLDAListPage/Content/state.js.map +1 -1
  195. package/es/modules/corporate/clda/pages/CLDAListPage/state.js +22 -14
  196. package/es/modules/corporate/clda/pages/CLDAListPage/state.js.map +1 -1
  197. package/es/modules/corporate/clda/pages/CLDASettingsPage/Content.js +55 -34
  198. package/es/modules/corporate/clda/pages/CLDASettingsPage/Content.js.map +1 -1
  199. package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js +27 -23
  200. package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js.map +1 -1
  201. package/es/modules/corporate/clda/pages/ChangeAddress2021/state.js +228 -205
  202. package/es/modules/corporate/clda/pages/ChangeAddress2021/state.js.map +1 -1
  203. package/es/modules/corporate/clda/pages/SecretaryTestPage/CLDAListPage.js +1 -1
  204. package/es/modules/corporate/clda/pages/SecretaryTestPage/CLDAListPage.js.map +1 -1
  205. package/es/modules/corporate/clda/pages/SecretaryTestPage/index.js +90 -87
  206. package/es/modules/corporate/clda/pages/SecretaryTestPage/index.js.map +1 -1
  207. package/es/modules/corporate/clda/pages/SecretaryTestPage/state.js +243 -214
  208. package/es/modules/corporate/clda/pages/SecretaryTestPage/state.js.map +1 -1
  209. package/es/modules/corporate/company/components/CompanyAlert/index.js +7 -4
  210. package/es/modules/corporate/company/components/CompanyAlert/index.js.map +1 -1
  211. package/es/modules/corporate/company/components/CompanyMemberSelect/index.js +5 -4
  212. package/es/modules/corporate/company/components/CompanyMemberSelect/index.js.map +1 -1
  213. package/es/modules/corporate/company/components/CompanyPageHead/index.js +38 -35
  214. package/es/modules/corporate/company/components/CompanyPageHead/index.js.map +1 -1
  215. package/es/modules/corporate/company/components/CompanyProperties/CompanyPropertiesCard.js +2 -2
  216. package/es/modules/corporate/company/components/CompanyProperties/CompanyPropertiesCard.js.map +1 -1
  217. package/es/modules/corporate/company/components/CompanyProperties/Properties.js +49 -40
  218. package/es/modules/corporate/company/components/CompanyProperties/Properties.js.map +1 -1
  219. package/es/modules/corporate/company/components/CompanyProperties/index.js +11 -8
  220. package/es/modules/corporate/company/components/CompanyProperties/index.js.map +1 -1
  221. package/es/modules/corporate/company/components/CompanyRegisterHead/index.js +12 -9
  222. package/es/modules/corporate/company/components/CompanyRegisterHead/index.js.map +1 -1
  223. package/es/modules/corporate/company/components/CorporateHead/index.js +12 -9
  224. package/es/modules/corporate/company/components/CorporateHead/index.js.map +1 -1
  225. package/es/modules/corporate/company/components/CorporateItem/index.js +4 -3
  226. package/es/modules/corporate/company/components/CorporateItem/index.js.map +1 -1
  227. package/es/modules/corporate/company/components/CorporateList/index.js +4 -3
  228. package/es/modules/corporate/company/components/CorporateList/index.js.map +1 -1
  229. package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js +5 -3
  230. package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js.map +1 -1
  231. package/es/modules/corporate/company/components/CorporateOverview/index.js +3 -2
  232. package/es/modules/corporate/company/components/CorporateOverview/index.js.map +1 -1
  233. package/es/modules/corporate/company/components/CorporateTableList/TableCell.js +4 -3
  234. package/es/modules/corporate/company/components/CorporateTableList/TableCell.js.map +1 -1
  235. package/es/modules/corporate/company/components/CorporateTableList/index.js +2 -2
  236. package/es/modules/corporate/company/components/CorporateTableList/index.js.map +1 -1
  237. package/es/modules/corporate/company/components/CorporateTabs/index.js +5 -2
  238. package/es/modules/corporate/company/components/CorporateTabs/index.js.map +1 -1
  239. package/es/modules/corporate/company/components/InlineEditCountry/index.js +3 -2
  240. package/es/modules/corporate/company/components/InlineEditCountry/index.js.map +1 -1
  241. package/es/modules/corporate/company/components/InlineEditType/index.js +4 -6
  242. package/es/modules/corporate/company/components/InlineEditType/index.js.map +1 -1
  243. package/es/modules/corporate/company/components/SharesCapitalCard/index.js +10 -7
  244. package/es/modules/corporate/company/components/SharesCapitalCard/index.js.map +1 -1
  245. package/es/modules/corporate/company/components/SharesCapitalCard/state.js +69 -49
  246. package/es/modules/corporate/company/components/SharesCapitalCard/state.js.map +1 -1
  247. package/es/modules/corporate/company/components/SharesCard/Capital.js +4 -1
  248. package/es/modules/corporate/company/components/SharesCard/Capital.js.map +1 -1
  249. package/es/modules/corporate/company/components/SharesCard/index.js +18 -15
  250. package/es/modules/corporate/company/components/SharesCard/index.js.map +1 -1
  251. package/es/modules/corporate/company/components/SharesCard/state.js +48 -33
  252. package/es/modules/corporate/company/components/SharesCard/state.js.map +1 -1
  253. package/es/modules/corporate/company/components/SharesCard2/state.js +69 -49
  254. package/es/modules/corporate/company/components/SharesCard2/state.js.map +1 -1
  255. package/es/modules/corporate/company/controller-register/components/ControllerHead/index.js +12 -9
  256. package/es/modules/corporate/company/controller-register/components/ControllerHead/index.js.map +1 -1
  257. package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js +7 -7
  258. package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js.map +1 -1
  259. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +19 -16
  260. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -1
  261. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +11 -9
  262. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -1
  263. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +3 -3
  264. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
  265. package/es/modules/corporate/company/controller-register/components/ControllerTableList/state.js +37 -27
  266. package/es/modules/corporate/company/controller-register/components/ControllerTableList/state.js.map +1 -1
  267. package/es/modules/corporate/company/controller-register/components/ControllerTabs/index.js +6 -2
  268. package/es/modules/corporate/company/controller-register/components/ControllerTabs/index.js.map +1 -1
  269. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js +2 -1
  270. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js.map +1 -1
  271. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.js +4 -3
  272. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.js.map +1 -1
  273. package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.js +2 -2
  274. package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.js.map +1 -1
  275. package/es/modules/corporate/company/controller-register/components/SelectControllerList/state.js +85 -66
  276. package/es/modules/corporate/company/controller-register/components/SelectControllerList/state.js.map +1 -1
  277. package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/index.js +15 -8
  278. package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/index.js.map +1 -1
  279. package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/state.js +49 -29
  280. package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/state.js.map +1 -1
  281. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js +67 -56
  282. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js.map +1 -1
  283. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js +1 -1
  284. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js.map +1 -1
  285. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.js +9 -6
  286. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.js.map +1 -1
  287. package/es/modules/corporate/company/controller-register/page/ControllerRegisterPrintView/index.js +25 -22
  288. package/es/modules/corporate/company/controller-register/page/ControllerRegisterPrintView/index.js.map +1 -1
  289. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js +5 -4
  290. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js.map +1 -1
  291. package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/ChangeContact.js +2 -1
  292. package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/ChangeContact.js.map +1 -1
  293. package/es/modules/corporate/company/controls/CorporateMenu/items/Disabled.js +1 -1
  294. package/es/modules/corporate/company/controls/CorporateMenu/items/Disabled.js.map +1 -1
  295. package/es/modules/corporate/company/controls/CorporateStatusFilter/state.js +62 -51
  296. package/es/modules/corporate/company/controls/CorporateStatusFilter/state.js.map +1 -1
  297. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step1.js +1 -1
  298. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step1.js.map +1 -1
  299. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step4.js +28 -24
  300. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step4.js.map +1 -1
  301. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.js +1 -1
  302. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.js.map +1 -1
  303. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/state.js +128 -105
  304. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/state.js.map +1 -1
  305. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page1.js +1 -1
  306. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page1.js.map +1 -1
  307. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page5.js +28 -24
  308. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page5.js.map +1 -1
  309. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.js +1 -1
  310. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.js.map +1 -1
  311. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/state.js +152 -125
  312. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/state.js.map +1 -1
  313. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.js +9 -3
  314. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.js.map +1 -1
  315. package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.js +16 -13
  316. package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.js.map +1 -1
  317. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +17 -14
  318. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -1
  319. package/es/modules/corporate/company/member-register/components/CompanyMemberTabs/index.js +4 -1
  320. package/es/modules/corporate/company/member-register/components/CompanyMemberTabs/index.js.map +1 -1
  321. package/es/modules/corporate/company/member-register/components/DetailsObsolete/index.js +4 -4
  322. package/es/modules/corporate/company/member-register/components/DetailsObsolete/index.js.map +1 -1
  323. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/MemberItem/index.js +11 -5
  324. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/MemberItem/index.js.map +1 -1
  325. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.js +4 -1
  326. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.js.map +1 -1
  327. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.js +18 -14
  328. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.js.map +1 -1
  329. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/state.js +38 -33
  330. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/state.js.map +1 -1
  331. package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js +12 -10
  332. package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js.map +1 -1
  333. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +2 -2
  334. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -1
  335. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js +2 -2
  336. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js.map +1 -1
  337. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCell.js +22 -19
  338. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCell.js.map +1 -1
  339. package/es/modules/corporate/company/member-register/components/MemberTableListCard/state.js +39 -32
  340. package/es/modules/corporate/company/member-register/components/MemberTableListCard/state.js.map +1 -1
  341. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberItem/index.js +4 -3
  342. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberItem/index.js.map +1 -1
  343. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberList/index.js +2 -2
  344. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberList/index.js.map +1 -1
  345. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberList/state.js +76 -57
  346. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberList/state.js.map +1 -1
  347. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/index.js +15 -8
  348. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/index.js.map +1 -1
  349. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/state.js +49 -29
  350. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/state.js.map +1 -1
  351. package/es/modules/corporate/company/member-register/controls/MemberStatusFilter/state.js +63 -52
  352. package/es/modules/corporate/company/member-register/controls/MemberStatusFilter/state.js.map +1 -1
  353. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js +1 -1
  354. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js.map +1 -1
  355. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.js +14 -11
  356. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.js.map +1 -1
  357. package/es/modules/corporate/company/member-register/page/MemberRegisterPrintView/index.js +25 -22
  358. package/es/modules/corporate/company/member-register/page/MemberRegisterPrintView/index.js.map +1 -1
  359. package/es/modules/corporate/company/officer-register/components/OfficerHead/index.js +18 -15
  360. package/es/modules/corporate/company/officer-register/components/OfficerHead/index.js.map +1 -1
  361. package/es/modules/corporate/company/officer-register/components/OfficerInformation/index.js +6 -6
  362. package/es/modules/corporate/company/officer-register/components/OfficerInformation/index.js.map +1 -1
  363. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/OfficerItem/index.js +17 -11
  364. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/OfficerItem/index.js.map +1 -1
  365. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/index.js +4 -1
  366. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/index.js.map +1 -1
  367. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +19 -16
  368. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -1
  369. package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js +10 -8
  370. package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js.map +1 -1
  371. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +2 -2
  372. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
  373. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js +2 -2
  374. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js.map +1 -1
  375. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCell.js +14 -11
  376. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCell.js.map +1 -1
  377. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/state.js +54 -41
  378. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/state.js.map +1 -1
  379. package/es/modules/corporate/company/officer-register/components/OfficerTabs/index.js +6 -2
  380. package/es/modules/corporate/company/officer-register/components/OfficerTabs/index.js.map +1 -1
  381. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.js +15 -8
  382. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.js.map +1 -1
  383. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/state.js +49 -29
  384. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/state.js.map +1 -1
  385. package/es/modules/corporate/company/officer-register/components/SelectOfficerItem/index.js +4 -3
  386. package/es/modules/corporate/company/officer-register/components/SelectOfficerItem/index.js.map +1 -1
  387. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/index.js +2 -2
  388. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/index.js.map +1 -1
  389. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/state.js +76 -57
  390. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/state.js.map +1 -1
  391. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/state.js +67 -56
  392. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/state.js.map +1 -1
  393. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js +1 -1
  394. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js.map +1 -1
  395. package/es/modules/corporate/company/officer-register/page/OfficeRegisterPrintView/index.js +25 -22
  396. package/es/modules/corporate/company/officer-register/page/OfficeRegisterPrintView/index.js.map +1 -1
  397. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.js +16 -13
  398. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.js.map +1 -1
  399. package/es/modules/corporate/company/pages/CorporateListPage/index.js +25 -22
  400. package/es/modules/corporate/company/pages/CorporateListPage/index.js.map +1 -1
  401. package/es/modules/corporate/company/pages/CorporateListPage/state.js +124 -100
  402. package/es/modules/corporate/company/pages/CorporateListPage/state.js.map +1 -1
  403. package/es/modules/corporate/company/pages/RegisterTablePage/index.js +48 -45
  404. package/es/modules/corporate/company/pages/RegisterTablePage/index.js.map +1 -1
  405. package/es/modules/corporate/company/share-transaction-convert/ShareTransactionConvertStore.js +13 -4
  406. package/es/modules/corporate/company/share-transaction-convert/ShareTransactionConvertStore.js.map +1 -1
  407. package/es/modules/corporate/company/share-transaction-convert/ShareTransactionConvertTable.js +2 -1
  408. package/es/modules/corporate/company/share-transaction-convert/ShareTransactionConvertTable.js.map +1 -1
  409. package/es/modules/corporate/company/share-transaction-convert/index.js +9 -6
  410. package/es/modules/corporate/company/share-transaction-convert/index.js.map +1 -1
  411. package/es/modules/corporate/company/share-transaction-convert/state.js +45 -36
  412. package/es/modules/corporate/company/share-transaction-convert/state.js.map +1 -1
  413. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/Step1.js +7 -5
  414. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/Step1.js.map +1 -1
  415. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/Step2.js +36 -33
  416. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/Step2.js.map +1 -1
  417. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/state.js +22 -18
  418. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/state.js.map +1 -1
  419. package/es/modules/corporate/company/share-transactions-register/components/ClassSelect/index.js +2 -1
  420. package/es/modules/corporate/company/share-transactions-register/components/ClassSelect/index.js.map +1 -1
  421. package/es/modules/corporate/company/share-transactions-register/components/OfficialClassSelect/index.js +2 -1
  422. package/es/modules/corporate/company/share-transactions-register/components/OfficialClassSelect/index.js.map +1 -1
  423. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.js +1 -1
  424. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.js.map +1 -1
  425. package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.js +1 -1
  426. package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.js.map +1 -1
  427. package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreviewPopover/index.js +5 -2
  428. package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreviewPopover/index.js.map +1 -1
  429. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionCard/index.js +17 -14
  430. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionCard/index.js.map +1 -1
  431. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +65 -48
  432. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js.map +1 -1
  433. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/state.js +1 -1
  434. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/state.js.map +1 -1
  435. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js +1 -1
  436. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -1
  437. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/state.js +40 -29
  438. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/state.js.map +1 -1
  439. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +5 -4
  440. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
  441. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/state.js +56 -44
  442. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/state.js.map +1 -1
  443. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/ItemHeader.js +14 -11
  444. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/ItemHeader.js.map +1 -1
  445. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js +1 -1
  446. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js.map +1 -1
  447. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js +5 -2
  448. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js.map +1 -1
  449. package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/state.js +26 -21
  450. package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/state.js.map +1 -1
  451. package/es/modules/corporate/company/share-transactions-register/components/VerifyConfirm/index.js +4 -1
  452. package/es/modules/corporate/company/share-transactions-register/components/VerifyConfirm/index.js.map +1 -1
  453. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/state.js +39 -35
  454. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/state.js.map +1 -1
  455. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js +1 -1
  456. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js.map +1 -1
  457. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js +2 -2
  458. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js.map +1 -1
  459. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterPrintView/index.js +1 -1
  460. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterPrintView/index.js.map +1 -1
  461. package/es/modules/corporate/components/CorporateSelect/index.js +2 -2
  462. package/es/modules/corporate/components/CorporateSelect/index.js.map +1 -1
  463. package/es/modules/corporate/filing-record/components/AnnualFilings/index.js +2 -2
  464. package/es/modules/corporate/filing-record/components/AnnualFilings/index.js.map +1 -1
  465. package/es/modules/corporate/filing-record/components/FilingList/index.js +4 -3
  466. package/es/modules/corporate/filing-record/components/FilingList/index.js.map +1 -1
  467. package/es/modules/corporate/filing-record/components/FilingOverview/index.js +3 -2
  468. package/es/modules/corporate/filing-record/components/FilingOverview/index.js.map +1 -1
  469. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.js +23 -20
  470. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.js.map +1 -1
  471. package/es/modules/corporate/filing-record/components/FilingRecordList/index.js +9 -3
  472. package/es/modules/corporate/filing-record/components/FilingRecordList/index.js.map +1 -1
  473. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +22 -18
  474. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -1
  475. package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.js +4 -1
  476. package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.js.map +1 -1
  477. package/es/modules/corporate/filing-record/components/FilingRecordTimeLine/index.js +34 -28
  478. package/es/modules/corporate/filing-record/components/FilingRecordTimeLine/index.js.map +1 -1
  479. package/es/modules/corporate/filing-record/components/FilingTimeLineCard/state.js +20 -3
  480. package/es/modules/corporate/filing-record/components/FilingTimeLineCard/state.js.map +1 -1
  481. package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js +5 -3
  482. package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js.map +1 -1
  483. package/es/modules/corporate/filing-record/components/SendMessageDialog/index.js +11 -6
  484. package/es/modules/corporate/filing-record/components/SendMessageDialog/index.js.map +1 -1
  485. package/es/modules/corporate/filing-record/controls/FilingRecordMenu/index.js +2 -1
  486. package/es/modules/corporate/filing-record/controls/FilingRecordMenu/index.js.map +1 -1
  487. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeItem/index.js +3 -3
  488. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeItem/index.js.map +1 -1
  489. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js +4 -3
  490. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js.map +1 -1
  491. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js +2 -2
  492. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js.map +1 -1
  493. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderScheduleList/index.js +20 -15
  494. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderScheduleList/index.js.map +1 -1
  495. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderTab/index.js +4 -2
  496. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderTab/index.js.map +1 -1
  497. package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js +4 -2
  498. package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js.map +1 -1
  499. package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/state.js +20 -3
  500. package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/state.js.map +1 -1
  501. package/es/modules/corporate/filing-record/filing-type/components/ReminderActionForm/index.js +6 -4
  502. package/es/modules/corporate/filing-record/filing-type/components/ReminderActionForm/index.js.map +1 -1
  503. package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.js +2 -1
  504. package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.js.map +1 -1
  505. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/Table.js +1 -1
  506. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/Table.js.map +1 -1
  507. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.js +5 -4
  508. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.js.map +1 -1
  509. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js +1 -1
  510. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js.map +1 -1
  511. package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.js +1 -1
  512. package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.js.map +1 -1
  513. package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js +2 -2
  514. package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js.map +1 -1
  515. package/es/modules/corporate/filing-record/filing-year/components/FilingYearSelect/index.js +3 -2
  516. package/es/modules/corporate/filing-record/filing-year/components/FilingYearSelect/index.js.map +1 -1
  517. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTabs/index.js +6 -3
  518. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTabs/index.js.map +1 -1
  519. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/FilingItem.js +6 -5
  520. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/FilingItem.js.map +1 -1
  521. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/FilingYearItem.js +1 -1
  522. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/FilingYearItem.js.map +1 -1
  523. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.js +13 -7
  524. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.js.map +1 -1
  525. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.js +6 -5
  526. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.js.map +1 -1
  527. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/index.js +2 -2
  528. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/index.js.map +1 -1
  529. package/es/modules/corporate/filing-record/filing-year/components/NewFilingYearDialog/index.js +3 -2
  530. package/es/modules/corporate/filing-record/filing-year/components/NewFilingYearDialog/index.js.map +1 -1
  531. package/es/modules/corporate/filing-record/filing-year/controls/FilingYearMenu/index.js +2 -1
  532. package/es/modules/corporate/filing-record/filing-year/controls/FilingYearMenu/index.js.map +1 -1
  533. package/es/modules/corporate/filing-record/pages/FilingListPage/index.js +22 -19
  534. package/es/modules/corporate/filing-record/pages/FilingListPage/index.js.map +1 -1
  535. package/es/modules/corporate/filing-record/pages/FilingListPage/state.js +42 -14
  536. package/es/modules/corporate/filing-record/pages/FilingListPage/state.js.map +1 -1
  537. package/es/modules/corporate/filing-record/tools/index.js +1 -1
  538. package/es/modules/corporate/filing-record/tools/index.js.map +1 -1
  539. package/es/modules/corporate/legal-generation/components/Footer/index.js +1 -1
  540. package/es/modules/corporate/legal-generation/components/Footer/index.js.map +1 -1
  541. package/es/modules/corporate/legal-generation/components/SettingDialog/index.js +3 -3
  542. package/es/modules/corporate/legal-generation/components/SettingDialog/index.js.map +1 -1
  543. package/es/modules/corporate/legal-generation/components/SubmitButton/index.js +1 -1
  544. package/es/modules/corporate/legal-generation/components/SubmitButton/index.js.map +1 -1
  545. package/es/modules/corporate/legal-generation/fields/StrikeOffFields.js +4 -2
  546. package/es/modules/corporate/legal-generation/fields/StrikeOffFields.js.map +1 -1
  547. package/es/modules/corporate/service/components/NewServiceDialog/index.js +4 -4
  548. package/es/modules/corporate/service/components/NewServiceDialog/index.js.map +1 -1
  549. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.js +75 -66
  550. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.js.map +1 -1
  551. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/state.js +47 -39
  552. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/state.js.map +1 -1
  553. package/es/modules/corporate/service-type/components/ServiceTypeSelect/index.js +1 -1
  554. package/es/modules/corporate/service-type/components/ServiceTypeSelect/index.js.map +1 -1
  555. package/es/modules/corporate/service-type/pages/ServiceTypeDefaultView/index.js +1 -1
  556. package/es/modules/corporate/service-type/pages/ServiceTypeDefaultView/index.js.map +1 -1
  557. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +79 -70
  558. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
  559. package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js +5 -3
  560. package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js.map +1 -1
  561. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +12 -9
  562. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
  563. package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js +7 -5
  564. package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js.map +1 -1
  565. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js +2 -1
  566. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js.map +1 -1
  567. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Cancel.js +1 -1
  568. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Cancel.js.map +1 -1
  569. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee1.js +23 -16
  570. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee1.js.map +1 -1
  571. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee2.js +23 -16
  572. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee2.js.map +1 -1
  573. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RevokePhysical.js +1 -1
  574. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RevokePhysical.js.map +1 -1
  575. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/UndoCancel.js +1 -1
  576. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/UndoCancel.js.map +1 -1
  577. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/state.js +56 -44
  578. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/state.js.map +1 -1
  579. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js +65 -54
  580. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js.map +1 -1
  581. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js +62 -51
  582. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js.map +1 -1
  583. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js +37 -33
  584. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map +1 -1
  585. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/state.js +36 -23
  586. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/state.js.map +1 -1
  587. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js +2 -2
  588. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
  589. package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.js +4 -2
  590. package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.js.map +1 -1
  591. package/es/modules/corporate/share-class/components/NewShareClassForm/state.js +21 -17
  592. package/es/modules/corporate/share-class/components/NewShareClassForm/state.js.map +1 -1
  593. package/es/modules/corporate/share-class/components/ShareClassItemCard/index.js +2 -1
  594. package/es/modules/corporate/share-class/components/ShareClassItemCard/index.js.map +1 -1
  595. package/es/modules/corporate/share-class/components/ShareClassProperties/index.js +3 -3
  596. package/es/modules/corporate/share-class/components/ShareClassProperties/index.js.map +1 -1
  597. package/es/modules/corporate/share-class/components/ShareClassProperties/state.js +16 -13
  598. package/es/modules/corporate/share-class/components/ShareClassProperties/state.js.map +1 -1
  599. package/es/modules/corporate/share-class/components/ShareClassSelect/ShareClassSelectDialog.js +2 -1
  600. package/es/modules/corporate/share-class/components/ShareClassSelect/ShareClassSelectDialog.js.map +1 -1
  601. package/es/modules/corporate/share-class/components/ShareClassSelect/index.js +7 -4
  602. package/es/modules/corporate/share-class/components/ShareClassSelect/index.js.map +1 -1
  603. package/es/modules/corporate/share-class/components/ShareClassSelect/state.js +28 -15
  604. package/es/modules/corporate/share-class/components/ShareClassSelect/state.js.map +1 -1
  605. package/es/modules/corporate/share-class/components/ShareClassShareholders/index.js +23 -19
  606. package/es/modules/corporate/share-class/components/ShareClassShareholders/index.js.map +1 -1
  607. package/es/modules/corporate/share-class/components/ShareClassShareholders/useShareClassShareholders.js +2 -1
  608. package/es/modules/corporate/share-class/components/ShareClassShareholders/useShareClassShareholders.js.map +1 -1
  609. package/es/modules/corporate/share-class/components/ShareClassTabs/index.js +4 -1
  610. package/es/modules/corporate/share-class/components/ShareClassTabs/index.js.map +1 -1
  611. package/es/modules/corporate/share-class/controls/ShareClassMenu/index.js +2 -1
  612. package/es/modules/corporate/share-class/controls/ShareClassMenu/index.js.map +1 -1
  613. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.js +2 -2
  614. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.js.map +1 -1
  615. package/es/modules/corporate/share-options-register/components/ShareOptionItems/TableDataContext.js +69 -49
  616. package/es/modules/corporate/share-options-register/components/ShareOptionItems/TableDataContext.js.map +1 -1
  617. package/es/modules/corporate/share-options-register/components/ShareOptionItems/index.js +30 -27
  618. package/es/modules/corporate/share-options-register/components/ShareOptionItems/index.js.map +1 -1
  619. package/es/modules/corporate/share-options-register/components/ShareOptionList/state.js +40 -29
  620. package/es/modules/corporate/share-options-register/components/ShareOptionList/state.js.map +1 -1
  621. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/Content.js +1 -1
  622. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/Content.js.map +1 -1
  623. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.js +3 -3
  624. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.js.map +1 -1
  625. package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js +5 -3
  626. package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js.map +1 -1
  627. package/es/modules/corporate/virtual-address/components/VirtualAddressItem/index.js +19 -16
  628. package/es/modules/corporate/virtual-address/components/VirtualAddressItem/index.js.map +1 -1
  629. package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js +2 -2
  630. package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js.map +1 -1
  631. package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js +10 -9
  632. package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js.map +1 -1
  633. package/es/modules/corporate/virtual-address/components/VirtualAddressTabs/index.js +4 -1
  634. package/es/modules/corporate/virtual-address/components/VirtualAddressTabs/index.js.map +1 -1
  635. package/es/modules/corporate/virtual-address/controls/VirtualAddressMenu/index.js +2 -1
  636. package/es/modules/corporate/virtual-address/controls/VirtualAddressMenu/index.js.map +1 -1
  637. package/es/modules/corporate/virtual-address/pages/VirtualAddressDefaultView/index.js +1 -1
  638. package/es/modules/corporate/virtual-address/pages/VirtualAddressDefaultView/index.js.map +1 -1
  639. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsItem/index.js +26 -23
  640. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsItem/index.js.map +1 -1
  641. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsList/index.js +6 -4
  642. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsList/index.js.map +1 -1
  643. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/index.js +6 -4
  644. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/index.js.map +1 -1
  645. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/state.js +3 -2
  646. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/state.js.map +1 -1
  647. package/es/modules/corporate/virtual-address-mail/components/ConfirmCollectionDialog/index.js +2 -1
  648. package/es/modules/corporate/virtual-address-mail/components/ConfirmCollectionDialog/index.js.map +1 -1
  649. package/es/modules/corporate/virtual-address-mail/components/ConfirmForwardDialog/index.js +2 -1
  650. package/es/modules/corporate/virtual-address-mail/components/ConfirmForwardDialog/index.js.map +1 -1
  651. package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/Item.js +1 -1
  652. package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/Item.js.map +1 -1
  653. package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.js +1 -1
  654. package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.js.map +1 -1
  655. package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js +4 -2
  656. package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js.map +1 -1
  657. package/es/modules/corporate/virtual-address-mail/components/SenderSelect/index.js +1 -1
  658. package/es/modules/corporate/virtual-address-mail/components/SenderSelect/index.js.map +1 -1
  659. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.js +21 -18
  660. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.js.map +1 -1
  661. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js +4 -4
  662. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js.map +1 -1
  663. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailOverview/index.js +3 -2
  664. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailOverview/index.js.map +1 -1
  665. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js +5 -4
  666. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js.map +1 -1
  667. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailTabs/index.js +4 -1
  668. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailTabs/index.js.map +1 -1
  669. package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/index.js +2 -1
  670. package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/index.js.map +1 -1
  671. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailDefaultView/index.js +1 -1
  672. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailDefaultView/index.js.map +1 -1
  673. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/index.js +23 -20
  674. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/index.js.map +1 -1
  675. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/state.js +42 -14
  676. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/state.js.map +1 -1
  677. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.js +29 -26
  678. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.js.map +1 -1
  679. package/es/modules/self-registration/clda-form/Download/index.js +31 -28
  680. package/es/modules/self-registration/clda-form/Download/index.js.map +1 -1
  681. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.js +2 -2
  682. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.js.map +1 -1
  683. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js +159 -134
  684. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js.map +1 -1
  685. package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js +98 -93
  686. package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js.map +1 -1
  687. package/es/modules/self-registration/clda-form/components/CLDAFormConfirmationDialog/index.js +3 -2
  688. package/es/modules/self-registration/clda-form/components/CLDAFormConfirmationDialog/index.js.map +1 -1
  689. package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js +4 -3
  690. package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js.map +1 -1
  691. package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.js +10 -7
  692. package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.js.map +1 -1
  693. package/es/modules/self-registration/clda-form/components/ChiefExecutiveOfficerList/index.d.ts +9 -0
  694. package/es/modules/self-registration/clda-form/components/ChiefExecutiveOfficerList/index.js +67 -0
  695. package/es/modules/self-registration/clda-form/components/ChiefExecutiveOfficerList/index.js.map +1 -0
  696. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +99 -90
  697. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
  698. package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/NewDPODialog/index.js +18 -13
  699. package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/NewDPODialog/index.js.map +1 -1
  700. package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/index.js +24 -20
  701. package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/index.js.map +1 -1
  702. package/es/modules/self-registration/clda-form/components/InternalUse/index.js +17 -14
  703. package/es/modules/self-registration/clda-form/components/InternalUse/index.js.map +1 -1
  704. package/es/modules/self-registration/clda-form/components/InternalUse/state.js +28 -20
  705. package/es/modules/self-registration/clda-form/components/InternalUse/state.js.map +1 -1
  706. package/es/modules/self-registration/clda-form/components/MemberInfo/index.js +94 -89
  707. package/es/modules/self-registration/clda-form/components/MemberInfo/index.js.map +1 -1
  708. package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js +24 -18
  709. package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js.map +1 -1
  710. package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.d.ts +1 -1
  711. package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js +30 -23
  712. package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js.map +1 -1
  713. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js +28 -21
  714. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js.map +1 -1
  715. package/es/modules/self-registration/clda-form/components/OfficerList/index.js +23 -16
  716. package/es/modules/self-registration/clda-form/components/OfficerList/index.js.map +1 -1
  717. package/es/modules/self-registration/clda-form/components/OfficerList/state.js +28 -20
  718. package/es/modules/self-registration/clda-form/components/OfficerList/state.js.map +1 -1
  719. package/es/modules/self-registration/clda-form/components/SecretaryList/index.js +1 -1
  720. package/es/modules/self-registration/clda-form/components/SecretaryList/index.js.map +1 -1
  721. package/es/modules/self-registration/clda-form/components/SecretaryList/state.js +35 -26
  722. package/es/modules/self-registration/clda-form/components/SecretaryList/state.js.map +1 -1
  723. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +81 -70
  724. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
  725. package/es/modules/self-registration/clda-form/components/ShareholderList/index.js +22 -15
  726. package/es/modules/self-registration/clda-form/components/ShareholderList/index.js.map +1 -1
  727. package/es/modules/self-registration/clda-form/components/ShareholderList/state.js +28 -20
  728. package/es/modules/self-registration/clda-form/components/ShareholderList/state.js.map +1 -1
  729. package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/index.js +6 -3
  730. package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/index.js.map +1 -1
  731. package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/state.js +31 -22
  732. package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/state.js.map +1 -1
  733. package/es/modules/self-registration/clda-form/incorporation/agm/components/ContactSelect/index.js +6 -3
  734. package/es/modules/self-registration/clda-form/incorporation/agm/components/ContactSelect/index.js.map +1 -1
  735. package/es/modules/self-registration/clda-form/incorporation/agm/components/ContactSelect/state.js +55 -35
  736. package/es/modules/self-registration/clda-form/incorporation/agm/components/ContactSelect/state.js.map +1 -1
  737. package/es/modules/self-registration/clda-form/incorporation/agm/index.js +238 -207
  738. package/es/modules/self-registration/clda-form/incorporation/agm/index.js.map +1 -1
  739. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js +72 -69
  740. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js.map +1 -1
  741. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/state.js +29 -20
  742. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/state.js.map +1 -1
  743. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.js +2 -2
  744. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.js.map +1 -1
  745. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js +71 -60
  746. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js.map +1 -1
  747. package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralContext.js +51 -41
  748. package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralContext.js.map +1 -1
  749. package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js +123 -109
  750. package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js.map +1 -1
  751. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js +45 -36
  752. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js.map +1 -1
  753. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.js +43 -32
  754. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.js.map +1 -1
  755. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.js +32 -26
  756. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.js.map +1 -1
  757. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/state.js +37 -27
  758. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/state.js.map +1 -1
  759. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js +9 -7
  760. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js.map +1 -1
  761. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/state.js +41 -27
  762. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/state.js.map +1 -1
  763. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.js +51 -44
  764. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.js.map +1 -1
  765. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.js +10 -8
  766. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.js.map +1 -1
  767. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/state.js +32 -23
  768. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/state.js.map +1 -1
  769. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.js +51 -44
  770. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.js.map +1 -1
  771. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js +38 -29
  772. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js.map +1 -1
  773. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/state.js +43 -32
  774. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/state.js.map +1 -1
  775. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js +11 -9
  776. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js.map +1 -1
  777. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js +19 -12
  778. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js.map +1 -1
  779. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.js +4 -2
  780. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.js.map +1 -1
  781. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.js +7 -5
  782. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.js.map +1 -1
  783. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.js +18 -8
  784. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.js.map +1 -1
  785. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/state.js +42 -31
  786. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/state.js.map +1 -1
  787. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/index.js +12 -8
  788. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/index.js.map +1 -1
  789. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/state.js +44 -29
  790. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/state.js.map +1 -1
  791. package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeAddress/index.js +17 -16
  792. package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeAddress/index.js.map +1 -1
  793. package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeIndexAddress/index.js +17 -16
  794. package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeIndexAddress/index.js.map +1 -1
  795. package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.js +5 -4
  796. package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.js.map +1 -1
  797. package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnList/index.js +11 -5
  798. package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnList/index.js.map +1 -1
  799. package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.js +8 -3
  800. package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.js.map +1 -1
  801. package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js +10 -7
  802. package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js.map +1 -1
  803. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.js +6 -5
  804. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.js.map +1 -1
  805. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.js +11 -5
  806. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.js.map +1 -1
  807. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.js +8 -3
  808. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.js.map +1 -1
  809. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js +13 -11
  810. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js.map +1 -1
  811. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js +14 -8
  812. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js.map +1 -1
  813. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js +47 -37
  814. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js.map +1 -1
  815. package/es/modules/self-registration/clda-form/incorporation/context.js +16 -13
  816. package/es/modules/self-registration/clda-form/incorporation/context.js.map +1 -1
  817. package/es/modules/self-registration/clda-form/incorporation/switch-to-us/index.js +22 -19
  818. package/es/modules/self-registration/clda-form/incorporation/switch-to-us/index.js.map +1 -1
  819. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/Content.js +5 -2
  820. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/Content.js.map +1 -1
  821. package/es/modules/self-registration/components/MemberCard/index.js +1 -1
  822. package/es/modules/self-registration/components/MemberCard/index.js.map +1 -1
  823. package/es/modules/self-registration/components/StripeForm/index.js +3 -2
  824. package/es/modules/self-registration/components/StripeForm/index.js.map +1 -1
  825. package/es/modules/self-registration/components/StripeForm/state.js +55 -38
  826. package/es/modules/self-registration/components/StripeForm/state.js.map +1 -1
  827. package/es/modules/self-registration/controls/BusinessActivityInput/index.js +1 -1
  828. package/es/modules/self-registration/controls/BusinessActivityInput/index.js.map +1 -1
  829. package/es/modules/self-registration/controls/BusinessActivityInput/state.js +35 -29
  830. package/es/modules/self-registration/controls/BusinessActivityInput/state.js.map +1 -1
  831. package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.js +2 -1
  832. package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.js.map +1 -1
  833. package/es/modules/self-registration/controls/BusinessNameInputFormItem/state.js +20 -17
  834. package/es/modules/self-registration/controls/BusinessNameInputFormItem/state.js.map +1 -1
  835. package/es/modules/self-registration/controls/FlexPopover/index.js +1 -1
  836. package/es/modules/self-registration/controls/FlexPopover/index.js.map +1 -1
  837. package/es/modules/self-registration/incorporation-clda/components/CLDATabs/index.js +25 -22
  838. package/es/modules/self-registration/incorporation-clda/components/CLDATabs/index.js.map +1 -1
  839. package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.js +27 -24
  840. package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.js.map +1 -1
  841. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js +6 -3
  842. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js.map +1 -1
  843. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/state.js +60 -34
  844. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/state.js.map +1 -1
  845. package/es/modules/self-registration/incorporation-clda/components/StartStep/index.js +11 -8
  846. package/es/modules/self-registration/incorporation-clda/components/StartStep/index.js.map +1 -1
  847. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/IncorporationCLDAClientContext.js +28 -23
  848. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/IncorporationCLDAClientContext.js.map +1 -1
  849. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/state.js +38 -25
  850. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/state.js.map +1 -1
  851. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.js +13 -10
  852. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.js.map +1 -1
  853. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.js +30 -27
  854. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.js.map +1 -1
  855. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js +1 -1
  856. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js.map +1 -1
  857. package/es/modules/self-registration/shopping-cart/CartState.js +199 -176
  858. package/es/modules/self-registration/shopping-cart/CartState.js.map +1 -1
  859. package/es/modules/self-registration/shopping-cart/components/Incorporation.js +2 -2
  860. package/es/modules/self-registration/shopping-cart/components/Incorporation.js.map +1 -1
  861. package/es/modules/self-registration/shopping-cart/components/NameAndActivities.js +19 -16
  862. package/es/modules/self-registration/shopping-cart/components/NameAndActivities.js.map +1 -1
  863. package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.js +41 -35
  864. package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.js.map +1 -1
  865. package/es/modules/self-registration/shopping-cart/components/ShareHolders/state.js +35 -29
  866. package/es/modules/self-registration/shopping-cart/components/ShareHolders/state.js.map +1 -1
  867. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.js +28 -24
  868. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.js.map +1 -1
  869. package/es/obsolete/FilingRecordQuickView/index.js +3 -3
  870. package/es/obsolete/FilingRecordQuickView/index.js.map +1 -1
  871. package/es/obsolete/FilingYearTimeLine/index.js +1 -1
  872. package/es/obsolete/FilingYearTimeLine/index.js.map +1 -1
  873. package/es/obsolete/controller-register/components/ControllerInformation/index.js +6 -6
  874. package/es/obsolete/controller-register/components/ControllerInformation/index.js.map +1 -1
  875. package/es/obsolete/controller-register/components/ControllerList/state.js +37 -27
  876. package/es/obsolete/controller-register/components/ControllerList/state.js.map +1 -1
  877. package/es/obsolete/controllerRegister/ControllerStore.js +22 -8
  878. package/es/obsolete/controllerRegister/ControllerStore.js.map +1 -1
  879. package/es/obsolete/corporate-page/CompanyDefaultView/state.js +44 -37
  880. package/es/obsolete/corporate-page/CompanyDefaultView/state.js.map +1 -1
  881. package/es/obsolete/corporate-page/CompanyMemberItem/index.js +7 -5
  882. package/es/obsolete/corporate-page/CompanyMemberItem/index.js.map +1 -1
  883. package/es/obsolete/corporate-page/CompanyMemberList/index.js +4 -3
  884. package/es/obsolete/corporate-page/CompanyMemberList/index.js.map +1 -1
  885. package/es/obsolete/corporate-page/ControllerItem/index.js +5 -4
  886. package/es/obsolete/corporate-page/ControllerItem/index.js.map +1 -1
  887. package/es/obsolete/corporate-page/ControllerList/index.js +6 -3
  888. package/es/obsolete/corporate-page/ControllerList/index.js.map +1 -1
  889. package/es/obsolete/corporate-page/OfficerItem/index.js +7 -5
  890. package/es/obsolete/corporate-page/OfficerItem/index.js.map +1 -1
  891. package/es/obsolete/corporate-page/OfficerList/index.js +8 -4
  892. package/es/obsolete/corporate-page/OfficerList/index.js.map +1 -1
  893. package/es/obsolete/corporate-page/ShareClassList/index.js +3 -3
  894. package/es/obsolete/corporate-page/ShareClassList/index.js.map +1 -1
  895. package/es/obsolete/filing-folder/store.js +13 -4
  896. package/es/obsolete/filing-folder/store.js.map +1 -1
  897. package/es/obsolete/order/components/OrderItems/DragTableCell.js +6 -3
  898. package/es/obsolete/order/components/OrderItems/DragTableCell.js.map +1 -1
  899. package/es/obsolete/order/components/OrderItems/index.js +18 -15
  900. package/es/obsolete/order/components/OrderItems/index.js.map +1 -1
  901. package/es/obsolete/order/components/OrderItems/state.js +72 -53
  902. package/es/obsolete/order/components/OrderItems/state.js.map +1 -1
  903. package/es/obsolete/order/context/OrderContext.js +71 -56
  904. package/es/obsolete/order/context/OrderContext.js.map +1 -1
  905. package/es/obsolete/order/controls/OrderLabel/state.js +29 -24
  906. package/es/obsolete/order/controls/OrderLabel/state.js.map +1 -1
  907. package/es/obsolete/order/controls/filters/IncorporationStatusFilter/state.js +51 -47
  908. package/es/obsolete/order/controls/filters/IncorporationStatusFilter/state.js.map +1 -1
  909. package/es/obsolete/shareCertificate/store.js +20 -6
  910. package/es/obsolete/shareCertificate/store.js.map +1 -1
  911. package/es/services/CLDAActivityLogRenderer.js +6 -2
  912. package/es/services/CLDAActivityLogRenderer.js.map +1 -1
  913. package/package.json +3 -3
  914. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.d.ts +0 -5
  915. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js +0 -44
  916. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js.map +0 -1
  917. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.d.ts +0 -10
  918. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.js +0 -42
  919. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.js.map +0 -1
@@ -18,41 +18,48 @@ const AddTransferDialog = (props) => {
18
18
  const incorporation = useCLDAForm(id);
19
19
  const [state] = useState(new State());
20
20
  let [formData] = Form.useForm();
21
- useAutorunEffect(() => incorporation.content?.contacts?.map((item) => item.idType === "ExistingContactId" && state.ExistingContactList.push(item)));
22
- return observe(() => (React.createElement(Modal, { open: true, width: 500, title: "Add Transfer", okText: "Add", onOk: onAdd, confirmLoading: loading, wrapClassName: "add-transfer-dialog", onCancel: onCancel },
23
- React.createElement(Form, { labelCol: { span: 6 }, labelAlign: "left", form: formData, initialValues: {} },
24
- React.createElement(Form.Item, { label: "Transferor", name: "TransforId", rules: [{ required: true, message: "Transferor can not be empty" }] },
25
- React.createElement(Select, { showSearch: { optionFilterProp: "label" }, placeholder: "Select a contact", onChange: (transforId) => { state.params.TransforId = transforId; }, classNames: { popup: { root: "add-transfer-select-contact" } }, options: state.ExistingContactList?.map((item) => {
26
- return { value: item.id, label: item.name };
27
- }) })),
28
- React.createElement(Form.Item, { label: "Transferee", name: "TransfeeId", rules: [{ required: true, message: "Transferee can not be empty" }] },
29
- React.createElement(Select, { showSearch: { optionFilterProp: "label" }, placeholder: "Select or create a contact", onChange: onChangeTransferee, classNames: { popup: { root: "add-transfer-select-contact" } }, options: [
30
- { value: "new", label: "New Contact" },
31
- ...(incorporation.content?.contacts ?? []).map((item) => {
21
+ useAutorunEffect(() => {
22
+ var _a, _b;
23
+ return (_b = (_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.contacts) === null || _b === void 0 ? void 0 : _b.map((item) => item.idType === "ExistingContactId" && state.ExistingContactList.push(item));
24
+ });
25
+ return observe(() => {
26
+ var _a, _b, _c;
27
+ return (React.createElement(Modal, { open: true, width: 500, title: "Add Transfer", okText: "Add", onOk: onAdd, confirmLoading: loading, wrapClassName: "add-transfer-dialog", onCancel: onCancel },
28
+ React.createElement(Form, { labelCol: { span: 6 }, labelAlign: "left", form: formData, initialValues: {} },
29
+ React.createElement(Form.Item, { label: "Transferor", name: "TransforId", rules: [{ required: true, message: "Transferor can not be empty" }] },
30
+ React.createElement(Select, { showSearch: { optionFilterProp: "label" }, placeholder: "Select a contact", onChange: (transforId) => { state.params.TransforId = transforId; }, classNames: { popup: { root: "add-transfer-select-contact" } }, options: (_a = state.ExistingContactList) === null || _a === void 0 ? void 0 : _a.map((item) => {
32
31
  return { value: item.id, label: item.name };
33
- }),
34
- ] })),
35
- React.createElement(Form.Item, { label: "Class", name: "ShareClass", rules: [{ required: true, message: "Class can not be empty" }] },
36
- React.createElement(Select, { placeholder: "Select Share Class", onChange: (value) => { state.params.ShareClass = value ?? ""; }, options: [
37
- { value: "Ordinary", label: "Ordinary" },
38
- { value: "Preference", label: "Preference" },
39
- ] })),
40
- React.createElement(Form.Item, { label: "Share", name: "Shares", rules: [{ required: true, message: "Share can not be empty" }] },
41
- React.createElement(InputNumber, { placeholder: "please input Share", onChange: (value) => { state.params.Shares = value ?? 0; } })),
42
- React.createElement(Form.Item, { label: "Consideration", name: "Consideration", rules: [{ required: true, message: "Consideration can not be empty" }] },
43
- React.createElement(InputNumber, { placeholder: "please input Consideration", onChange: (value) => { state.params.Consideration = value ?? 0; } }))),
44
- state.newLegalContactVisible && (React.createElement(NewLegalContactDialog, { visible: true, updateVisible: onSave })))));
32
+ }) })),
33
+ React.createElement(Form.Item, { label: "Transferee", name: "TransfeeId", rules: [{ required: true, message: "Transferee can not be empty" }] },
34
+ React.createElement(Select, { showSearch: { optionFilterProp: "label" }, placeholder: "Select or create a contact", onChange: onChangeTransferee, classNames: { popup: { root: "add-transfer-select-contact" } }, options: [
35
+ { value: "new", label: "New Contact" },
36
+ ...((_c = (_b = incorporation.content) === null || _b === void 0 ? void 0 : _b.contacts) !== null && _c !== void 0 ? _c : []).map((item) => {
37
+ return { value: item.id, label: item.name };
38
+ }),
39
+ ] })),
40
+ React.createElement(Form.Item, { label: "Class", name: "ShareClass", rules: [{ required: true, message: "Class can not be empty" }] },
41
+ React.createElement(Select, { placeholder: "Select Share Class", onChange: (value) => { state.params.ShareClass = value !== null && value !== void 0 ? value : ""; }, options: [
42
+ { value: "Ordinary", label: "Ordinary" },
43
+ { value: "Preference", label: "Preference" },
44
+ ] })),
45
+ React.createElement(Form.Item, { label: "Share", name: "Shares", rules: [{ required: true, message: "Share can not be empty" }] },
46
+ React.createElement(InputNumber, { placeholder: "please input Share", onChange: (value) => { state.params.Shares = value !== null && value !== void 0 ? value : 0; } })),
47
+ React.createElement(Form.Item, { label: "Consideration", name: "Consideration", rules: [{ required: true, message: "Consideration can not be empty" }] },
48
+ React.createElement(InputNumber, { placeholder: "please input Consideration", onChange: (value) => { state.params.Consideration = value !== null && value !== void 0 ? value : 0; } }))),
49
+ state.newLegalContactVisible && (React.createElement(NewLegalContactDialog, { visible: true, updateVisible: onSave }))));
50
+ });
45
51
  function onChangeTransferee(value) {
46
- state.params.TransfeeId = value ?? "";
52
+ state.params.TransfeeId = value !== null && value !== void 0 ? value : "";
47
53
  if (value === "new") {
48
54
  state.newLegalContactVisible = true;
49
55
  }
50
56
  }
51
57
  /** 新增shareholder Item */
52
58
  async function onSave(info) {
59
+ var _a;
53
60
  /** SelectLegalContactDialog 选择/新增有identity信息的unit */
54
61
  if (info) {
55
- const data = cloneDeep(incorporation.content?.contacts);
62
+ const data = cloneDeep((_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.contacts);
56
63
  const officer = {
57
64
  id: uuid(),
58
65
  name: info.FullName,
@@ -77,6 +84,7 @@ const AddTransferDialog = (props) => {
77
84
  state.newLegalContactVisible = false;
78
85
  }
79
86
  async function onAdd() {
87
+ var _a, _b;
80
88
  try {
81
89
  await formData.validateFields(); // Form表单组件rules手动校验
82
90
  if (state.params.TransfeeId === "new") {
@@ -84,13 +92,13 @@ const AddTransferDialog = (props) => {
84
92
  return;
85
93
  }
86
94
  setLoading(true);
87
- let transfers = incorporation.content?.transferDetails?.transfers;
88
- if (transfers?.length)
95
+ let transfers = (_b = (_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.transferDetails) === null || _b === void 0 ? void 0 : _b.transfers;
96
+ if (transfers === null || transfers === void 0 ? void 0 : transfers.length)
89
97
  transfers = CapitalizeFirstLetter(transfers);
90
98
  await store.edit(id, {
91
99
  data: {
92
100
  TransferDetails: {
93
- Transfers: transfers?.length
101
+ Transfers: (transfers === null || transfers === void 0 ? void 0 : transfers.length)
94
102
  ? [...transfers, state.params]
95
103
  : [state.params],
96
104
  },
@@ -103,9 +111,10 @@ const AddTransferDialog = (props) => {
103
111
  catch (error) { }
104
112
  }
105
113
  function onCancel() {
114
+ var _a;
106
115
  formData.resetFields();
107
116
  state.params = state.Params;
108
- props.onCancel?.();
117
+ (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
109
118
  }
110
119
  };
111
120
  export default AddTransferDialog;
@@ -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,EAAY,MAAM,qCAAqC,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,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,aAAa,CAAC;AAErB,0GAA0G;AAC1G,sHAAsH;AACtH,+EAA+E;AAC/E,MAAM,iBAAiB,GAAG,CAAC,KAA4C,EAAE,EAAE;IAC1E,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,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,CACrB,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,CACnC,CAAC,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AE,MAAM;4BAC3B,CAAC,CAAE,CAAC,GAAG,SAAS,EAAE,KAAK,CAAC,MAAM,CAAgB;4BAC9C,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC;qBACjB;iBACD;gBACD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YACH,UAAU,CAAC,KAAK,CAAC,CAAC;YAClB,QAAQ,EAAE,CAAC;QACZ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC,CAAA,CAAC;IACnB,CAAC;IAED,SAAS,QAAQ;QAChB,QAAQ,CAAC,WAAW,EAAE,CAAC;QACvB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAE5B,KAAK,CAAC,QAAQ,EAAE,EAAE,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAY,MAAM,qCAAqC,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,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,aAAa,CAAC;AAErB,0GAA0G;AAC1G,sHAAsH;AACt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AK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,7 +1,8 @@
1
- import { __esDecorate, __runInitializers } from "tslib";
1
+ import { __classPrivateFieldGet, __classPrivateFieldSet, __esDecorate, __runInitializers } from "tslib";
2
2
  import { observable } from "mobx";
3
3
  // spec:2099 — CSP: Add Transfer restricts Transferor to existing contacts only
4
4
  let State = (() => {
5
+ var _a, _State_params_accessor_storage, _State_loading_accessor_storage, _State_newLegalContactVisible_accessor_storage, _State_ExistingContactList_accessor_storage;
5
6
  let _params_decorators;
6
7
  let _params_initializers = [];
7
8
  let _params_extraInitializers = [];
@@ -14,42 +15,52 @@ let State = (() => {
14
15
  let _ExistingContactList_decorators;
15
16
  let _ExistingContactList_initializers = [];
16
17
  let _ExistingContactList_extraInitializers = [];
17
- return class State {
18
- static {
18
+ return _a = class State {
19
+ get params() { return __classPrivateFieldGet(this, _State_params_accessor_storage, "f"); }
20
+ set params(value) { __classPrivateFieldSet(this, _State_params_accessor_storage, value, "f"); }
21
+ get loading() { return __classPrivateFieldGet(this, _State_loading_accessor_storage, "f"); }
22
+ set loading(value) { __classPrivateFieldSet(this, _State_loading_accessor_storage, value, "f"); }
23
+ get newLegalContactVisible() { return __classPrivateFieldGet(this, _State_newLegalContactVisible_accessor_storage, "f"); }
24
+ set newLegalContactVisible(value) { __classPrivateFieldSet(this, _State_newLegalContactVisible_accessor_storage, value, "f"); }
25
+ get ExistingContactList() { return __classPrivateFieldGet(this, _State_ExistingContactList_accessor_storage, "f"); }
26
+ set ExistingContactList(value) { __classPrivateFieldSet(this, _State_ExistingContactList_accessor_storage, value, "f"); }
27
+ constructor() {
28
+ Object.defineProperty(this, "Params", {
29
+ enumerable: true,
30
+ configurable: true,
31
+ writable: true,
32
+ value: {
33
+ TransforId: "",
34
+ TransfeeId: "",
35
+ ShareClass: "",
36
+ Shares: 0,
37
+ Consideration: 0,
38
+ }
39
+ });
40
+ _State_params_accessor_storage.set(this, __runInitializers(this, _params_initializers, this.Params));
41
+ _State_loading_accessor_storage.set(this, (__runInitializers(this, _params_extraInitializers), __runInitializers(this, _loading_initializers, false)));
42
+ _State_newLegalContactVisible_accessor_storage.set(this, (__runInitializers(this, _loading_extraInitializers), __runInitializers(this, _newLegalContactVisible_initializers, false)));
43
+ _State_ExistingContactList_accessor_storage.set(this, (__runInitializers(this, _newLegalContactVisible_extraInitializers), __runInitializers(this, _ExistingContactList_initializers, [])));
44
+ __runInitializers(this, _ExistingContactList_extraInitializers);
45
+ }
46
+ },
47
+ _State_params_accessor_storage = new WeakMap(),
48
+ _State_loading_accessor_storage = new WeakMap(),
49
+ _State_newLegalContactVisible_accessor_storage = new WeakMap(),
50
+ _State_ExistingContactList_accessor_storage = new WeakMap(),
51
+ (() => {
19
52
  const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
20
53
  _params_decorators = [observable];
21
54
  _loading_decorators = [observable];
22
55
  _newLegalContactVisible_decorators = [observable];
23
56
  _ExistingContactList_decorators = [observable];
24
- __esDecorate(this, null, _params_decorators, { kind: "accessor", name: "params", static: false, private: false, access: { has: obj => "params" in obj, get: obj => obj.params, set: (obj, value) => { obj.params = value; } }, metadata: _metadata }, _params_initializers, _params_extraInitializers);
25
- __esDecorate(this, null, _loading_decorators, { kind: "accessor", name: "loading", static: false, private: false, access: { has: obj => "loading" in obj, get: obj => obj.loading, set: (obj, value) => { obj.loading = value; } }, metadata: _metadata }, _loading_initializers, _loading_extraInitializers);
26
- __esDecorate(this, null, _newLegalContactVisible_decorators, { kind: "accessor", name: "newLegalContactVisible", static: false, private: false, access: { has: obj => "newLegalContactVisible" in obj, get: obj => obj.newLegalContactVisible, set: (obj, value) => { obj.newLegalContactVisible = value; } }, metadata: _metadata }, _newLegalContactVisible_initializers, _newLegalContactVisible_extraInitializers);
27
- __esDecorate(this, null, _ExistingContactList_decorators, { kind: "accessor", name: "ExistingContactList", static: false, private: false, access: { has: obj => "ExistingContactList" in obj, get: obj => obj.ExistingContactList, set: (obj, value) => { obj.ExistingContactList = value; } }, metadata: _metadata }, _ExistingContactList_initializers, _ExistingContactList_extraInitializers);
28
- if (_metadata) Object.defineProperty(this, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
29
- }
30
- Params = {
31
- TransforId: "",
32
- TransfeeId: "",
33
- ShareClass: "",
34
- Shares: 0,
35
- Consideration: 0,
36
- };
37
- #params_accessor_storage = __runInitializers(this, _params_initializers, this.Params);
38
- get params() { return this.#params_accessor_storage; }
39
- set params(value) { this.#params_accessor_storage = value; }
40
- #loading_accessor_storage = (__runInitializers(this, _params_extraInitializers), __runInitializers(this, _loading_initializers, false));
41
- get loading() { return this.#loading_accessor_storage; }
42
- set loading(value) { this.#loading_accessor_storage = value; }
43
- #newLegalContactVisible_accessor_storage = (__runInitializers(this, _loading_extraInitializers), __runInitializers(this, _newLegalContactVisible_initializers, false));
44
- get newLegalContactVisible() { return this.#newLegalContactVisible_accessor_storage; }
45
- set newLegalContactVisible(value) { this.#newLegalContactVisible_accessor_storage = value; }
46
- #ExistingContactList_accessor_storage = (__runInitializers(this, _newLegalContactVisible_extraInitializers), __runInitializers(this, _ExistingContactList_initializers, []));
47
- get ExistingContactList() { return this.#ExistingContactList_accessor_storage; }
48
- set ExistingContactList(value) { this.#ExistingContactList_accessor_storage = value; }
49
- constructor() {
50
- __runInitializers(this, _ExistingContactList_extraInitializers);
51
- }
52
- };
57
+ __esDecorate(_a, null, _params_decorators, { kind: "accessor", name: "params", static: false, private: false, access: { has: obj => "params" in obj, get: obj => obj.params, set: (obj, value) => { obj.params = value; } }, metadata: _metadata }, _params_initializers, _params_extraInitializers);
58
+ __esDecorate(_a, null, _loading_decorators, { kind: "accessor", name: "loading", static: false, private: false, access: { has: obj => "loading" in obj, get: obj => obj.loading, set: (obj, value) => { obj.loading = value; } }, metadata: _metadata }, _loading_initializers, _loading_extraInitializers);
59
+ __esDecorate(_a, null, _newLegalContactVisible_decorators, { kind: "accessor", name: "newLegalContactVisible", static: false, private: false, access: { has: obj => "newLegalContactVisible" in obj, get: obj => obj.newLegalContactVisible, set: (obj, value) => { obj.newLegalContactVisible = value; } }, metadata: _metadata }, _newLegalContactVisible_initializers, _newLegalContactVisible_extraInitializers);
60
+ __esDecorate(_a, null, _ExistingContactList_decorators, { kind: "accessor", name: "ExistingContactList", static: false, private: false, access: { has: obj => "ExistingContactList" in obj, get: obj => obj.ExistingContactList, set: (obj, value) => { obj.ExistingContactList = value; } }, metadata: _metadata }, _ExistingContactList_initializers, _ExistingContactList_extraInitializers);
61
+ if (_metadata) Object.defineProperty(_a, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
62
+ })(),
63
+ _a;
53
64
  })();
54
65
  export { State };
55
66
  //# sourceMappingURL=state.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlC,+EAA+E;IAClE,KAAK;;;;;;;;;;;;;iBAAL,KAAK;;;kCAShB,UAAU;mCACV,UAAU;kDACV,UAAU;+CACV,UAAU;YAHC,uKAAgB,MAAM,6BAAN,MAAM,uFAAe;YACrC,0KAAgB,OAAO,6BAAP,OAAO,yFAAS;YAChC,uNAAgB,sBAAsB,6BAAtB,sBAAsB,uHAAS;YAC/C,8MAAgB,mBAAmB,6BAAnB,mBAAmB,iHAA4B;;;QAXpE,MAAM,GAAG;YACf,UAAU,EAAE,EAAE;YACd,UAAU,EAAE,EAAE;YACd,UAAU,EAAE,EAAE;YACd,MAAM,EAAE,CAAC;YACT,aAAa,EAAE,CAAC;SAChB,CAAC;QAEU,yEAAyB,IAAI,CAAC,MAAM,EAAC;QAArC,IAAgB,MAAM,4CAAe;QAArC,IAAgB,MAAM,kDAAe;QACrC,gIAA0B,KAAK,GAAC;QAAhC,IAAgB,OAAO,6CAAS;QAAhC,IAAgB,OAAO,mDAAS;QAChC,+JAAyC,KAAK,GAAC;QAA/C,IAAgB,sBAAsB,4DAAS;QAA/C,IAAgB,sBAAsB,kEAAS;QAC/C,wKAA4D,EAAE,GAAC;QAA/D,IAAgB,mBAAmB,yDAA4B;QAA/D,IAAgB,mBAAmB,+DAA4B;;;;;;SAZ/D,KAAK"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlC,+EAA+E;IAClE,KAAK;;;;;;;;;;;;;;sBAAL,KAAK;YASL,IAAgB,MAAM,gFAAe;YAArC,IAAgB,MAAM,qFAAe;YACrC,IAAgB,OAAO,iFAAS;YAAhC,IAAgB,OAAO,sFAAS;YAChC,IAAgB,sBAAsB,gGAAS;YAA/C,IAAgB,sBAAsB,qGAAS;YAC/C,IAAgB,mBAAmB,6FAA4B;YAA/D,IAAgB,mBAAmB,kGAA4B;;gBAXpE;;;;2BAAS;wBACf,UAAU,EAAE,EAAE;wBACd,UAAU,EAAE,EAAE;wBACd,UAAU,EAAE,EAAE;wBACd,MAAM,EAAE,CAAC;wBACT,aAAa,EAAE,CAAC;qBAChB;mBAAC;gBAE0B,uFAAS,IAAI,CAAC,MAAM,GAAC;gBACrB,8IAAU,KAAK,IAAC;gBAChB,6KAAyB,KAAK,IAAC;gBAC/B,sLAA4C,EAAE,IAAC;;;;;;;;;;kCAH1E,UAAU;mCACV,UAAU;kDACV,UAAU;+CACV,UAAU;YAHC,qKAAgB,MAAM,6BAAN,MAAM,uFAAe;YACrC,wKAAgB,OAAO,6BAAP,OAAO,yFAAS;YAChC,qNAAgB,sBAAsB,6BAAtB,sBAAsB,uHAAS;YAC/C,4MAAgB,mBAAmB,6BAAnB,mBAAmB,iHAA4B;;;;;SAZ/D,KAAK"}
@@ -20,11 +20,12 @@ const AllotmentItem = (props) => {
20
20
  // 用于保存修改之后的contact数据
21
21
  let contactDate;
22
22
  return observe(() => {
23
+ var _a, _b;
23
24
  return (React.createElement(React.Fragment, null,
24
25
  React.createElement("div", { className: "company-general-allotment-info" },
25
26
  React.createElement("div", { className: "company-general-allotment-header" },
26
27
  React.createElement("div", { className: "company-general-allotment-title" },
27
- React.createElement(UnitNameNoteAlert, { id: contact.id, name: contact.name ?? "" })),
28
+ React.createElement(UnitNameNoteAlert, { id: contact.id, name: (_a = contact.name) !== null && _a !== void 0 ? _a : "" })),
28
29
  (context ? context.editable : true) && (React.createElement("div", { className: "action-button" },
29
30
  React.createElement("span", { className: "edit-icon", onClick: () => setEditable(!editable) },
30
31
  React.createElement(FontAwesomeIcon, { icon: faPenToSquareRegular })),
@@ -32,17 +33,17 @@ const AllotmentItem = (props) => {
32
33
  React.createElement(FontAwesomeIcon, { icon: faTrashAltRegular }))))),
33
34
  React.createElement("div", { className: "company-general-allotment-content" },
34
35
  React.createElement(ColumnItem, { className: "allotment-column-item" },
35
- React.createElement(ColumnItemCol, { span: 8, label: "Shareholder" }, editable ? (React.createElement(Select, { showSearch: { optionFilterProp: "label" }, style: { width: "100%" }, defaultValue: contact.name, placeholder: "Select a contact", onChange: (shareholder) => { allotment.shareholderId = shareholder; }, classNames: { popup: { root: "add-allotment-select-contact" } }, options: contacts?.map((item) => {
36
+ React.createElement(ColumnItemCol, { span: 8, label: "Shareholder" }, editable ? (React.createElement(Select, { showSearch: { optionFilterProp: "label" }, style: { width: "100%" }, defaultValue: contact.name, placeholder: "Select a contact", onChange: (shareholder) => { allotment.shareholderId = shareholder; }, classNames: { popup: { root: "add-allotment-select-contact" } }, options: contacts === null || contacts === void 0 ? void 0 : contacts.map((item) => {
36
37
  return { value: item.id, label: item.name };
37
- }) })) : (React.createElement(UnitNameNoteAlert, { id: contact.id, name: contact.name ?? "" }))),
38
- React.createElement(ColumnItemCol, { span: 4, label: "Currency" }, editable ? (React.createElement(CurrencySelect, { placeholder: "Select Share Currency", currency: allotment.currency, onChange: (value) => { allotment.currency = value ?? ""; } })) : (React.createElement("span", null, allotment.currency))),
39
- React.createElement(ColumnItemCol, { span: 4, label: "Class" }, editable ? (React.createElement(Select, { placeholder: "Select Share Class", style: { width: "100%" }, value: allotment.shareClass, onChange: (value) => { allotment.shareClass = value ?? ""; }, options: [
38
+ }) })) : (React.createElement(UnitNameNoteAlert, { id: contact.id, name: (_b = contact.name) !== null && _b !== void 0 ? _b : "" }))),
39
+ React.createElement(ColumnItemCol, { span: 4, label: "Currency" }, editable ? (React.createElement(CurrencySelect, { placeholder: "Select Share Currency", currency: allotment.currency, onChange: (value) => { allotment.currency = value !== null && value !== void 0 ? value : ""; } })) : (React.createElement("span", null, allotment.currency))),
40
+ React.createElement(ColumnItemCol, { span: 4, label: "Class" }, editable ? (React.createElement(Select, { placeholder: "Select Share Class", style: { width: "100%" }, value: allotment.shareClass, onChange: (value) => { allotment.shareClass = value !== null && value !== void 0 ? value : ""; }, options: [
40
41
  { value: "Ordinary", label: "Ordinary" },
41
42
  { value: "Preference", label: "Preference" },
42
43
  ] })) : (React.createElement("span", null, allotment.shareClass))),
43
- React.createElement(ColumnItemCol, { span: 4, label: "Shares" }, editable ? (React.createElement(InputNumber, { placeholder: "please input Share", value: allotment.shares, style: { width: "100%" }, onChange: (value) => { allotment.shares = value ?? 0; } })) : (React.createElement("span", null, allotment.shares))),
44
- React.createElement(ColumnItemCol, { span: 4, label: "Considersion" }, editable ? (React.createElement(InputNumber, { placeholder: "please input Considersion", style: { width: "100%" }, value: allotment.consideration, onChange: (value) => { allotment.consideration = value ?? 0; } })) : (React.createElement("span", null, allotment.consideration))))),
45
- contact?.idType === "NewId" && (React.createElement(FormContactEditor, { header: false, editable: editable, contact: contact, isOnlyInternalUse: companyGeneralContext.isOnlyInternalUse, onChange: (c) => { contactDate = c; } })),
44
+ React.createElement(ColumnItemCol, { span: 4, label: "Shares" }, editable ? (React.createElement(InputNumber, { placeholder: "please input Share", value: allotment.shares, style: { width: "100%" }, onChange: (value) => { allotment.shares = value !== null && value !== void 0 ? value : 0; } })) : (React.createElement("span", null, allotment.shares))),
45
+ React.createElement(ColumnItemCol, { span: 4, label: "Considersion" }, editable ? (React.createElement(InputNumber, { placeholder: "please input Considersion", style: { width: "100%" }, value: allotment.consideration, onChange: (value) => { allotment.consideration = value !== null && value !== void 0 ? value : 0; } })) : (React.createElement("span", null, allotment.consideration))))),
46
+ (contact === null || contact === void 0 ? void 0 : contact.idType) === "NewId" && (React.createElement(FormContactEditor, { header: false, editable: editable, contact: contact, isOnlyInternalUse: companyGeneralContext.isOnlyInternalUse, onChange: (c) => { contactDate = c; } })),
46
47
  editable && (React.createElement(Row, { justify: "end" },
47
48
  React.createElement(Button, { onClick: () => {
48
49
  setEditable(false);
@@ -58,8 +59,9 @@ const AllotmentItem = (props) => {
58
59
  }, 100);
59
60
  }
60
61
  async function onSave() {
62
+ var _a;
61
63
  setEditable(false);
62
- props.onSave?.(allotment, contactDate);
64
+ (_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props, allotment, contactDate);
63
65
  }
64
66
  };
65
67
  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,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,GACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,2B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C;IAED,KAAK,UAAU,MAAM;QACpB,WAAW,CAAC,KAAK,CAAC,CAAC;QAEnB,KAAK,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
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,EACN,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,GACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,aAAa,CAAC;AAErB,oHAAoH;AACpH,0GAA0G;AAC1G,oHAAoH;AACpH,MAAM,aAAa,GAAG,CAAC,KAOtB,EAAE,EAAE;IACJ,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE/C,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,MAAM,OAAO,GAAG,2BAA2B,EAAE,CAAC;IAC9C,MAAM,qBAAqB,GAAG,wBAAwB,EAAE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ACb,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,iBAAiB,EAAE,qBAAqB,CAAC,iBAAiB,EAC1D,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC,GACpC,CACF;gBAEA,QAAQ,IAAI,CACZ,oBAAC,GAAG,IAAC,OAAO,EAAC,KAAK;oBACjB,oBAAC,MAAM,IACN,OAAO,EAAE,GAAG,EAAE;4BACb,WAAW,CAAC,KAAK,CAAC,CAAC;4BACnB,QAAQ,EAAE,CAAC;wBACZ,CAAC,aAGO;oBACT,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,WAE5D,CACJ,CACN;gBACA,KAAK,CAAC,eAAgB,GAAG,CAAC,IAAI,oBAAC,OAAO,IAAC,SAAS,EAAC,aAAa,GAAG,CAC7D,CACU,CACjB,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,QAAQ;QAChB,qBAAqB,CAAC,aAAa,GAAG,KAAK,CAAC;QAC5C,UAAU,CAAC,GAAG,EAAE;YACf,qBAAqB,CAAC,aAAa,GAAG,IAAI,CAAC;QAC5C,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,KAAK,UAAU,MAAM;;QACpB,WAAW,CAAC,KAAK,CAAC,CAAC;QAEnB,MAAA,KAAK,CAAC,MAAM,sDAAG,SAAS,EAAE,WAAW,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -8,25 +8,31 @@ import AllotmentItem from "../AllotmentItem";
8
8
  // spec:2103 — CSP: List items confirm deletion via Modal.confirm before saving truncated array
9
9
  // spec:2104 — CSP: List item save persists nested edits and merges Contact updates atomically when contact is NewId
10
10
  const AllotmentList = (props) => {
11
+ var _a, _b;
11
12
  const store = useCLDAFormStore();
12
13
  const incorporation = useCLDAForm(props.id, { reload: true });
13
- const effectiveDate = incorporation.content?.issueShareDetails?.effectiveDate;
14
+ const effectiveDate = (_b = (_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.issueShareDetails) === null || _b === void 0 ? void 0 : _b.effectiveDate;
14
15
  return observe(() => {
15
- return (React.createElement("div", null, incorporation.content.issueShareDetails?.allotments?.length
16
- ? incorporation.content.issueShareDetails?.allotments.map((a, i) => (React.createElement(AllotmentItem, { key: a.key, allotment: a, contact: incorporation.content.contacts?.filter((c) => c.id === a.shareholderId)[0], contacts: incorporation.content.contacts, allotmentLength: incorporation.content.issueShareDetails?.allotments?.length, onSave: onSave, onDeleteClick: () => deleteTransfer(i) })))
16
+ var _a, _b, _c;
17
+ return (React.createElement("div", null, ((_b = (_a = incorporation.content.issueShareDetails) === null || _a === void 0 ? void 0 : _a.allotments) === null || _b === void 0 ? void 0 : _b.length)
18
+ ? (_c = incorporation.content.issueShareDetails) === null || _c === void 0 ? void 0 : _c.allotments.map((a, i) => {
19
+ var _a, _b, _c;
20
+ return (React.createElement(AllotmentItem, { key: a.key, allotment: a, contact: (_a = incorporation.content.contacts) === null || _a === void 0 ? void 0 : _a.filter((c) => c.id === a.shareholderId)[0], contacts: incorporation.content.contacts, allotmentLength: (_c = (_b = incorporation.content.issueShareDetails) === null || _b === void 0 ? void 0 : _b.allotments) === null || _c === void 0 ? void 0 : _c.length, onSave: onSave, onDeleteClick: () => deleteTransfer(i) }));
21
+ })
17
22
  : null));
18
23
  });
19
24
  function deleteTransfer(index) {
20
25
  return Modal.confirm({
21
26
  title: "Do you want to delete this item?",
22
27
  async onOk() {
23
- let allotments = cloneDeep(incorporation.content.issueShareDetails?.allotments);
28
+ var _a;
29
+ let allotments = cloneDeep((_a = incorporation.content.issueShareDetails) === null || _a === void 0 ? void 0 : _a.allotments);
24
30
  allotments.splice(index, 1);
25
31
  await store.edit(props.id, {
26
32
  data: {
27
33
  IssueShareDetails: {
28
34
  Allotments: CapitalizeFirstLetter(allotments),
29
- EffectiveDate: effectiveDate ?? "",
35
+ EffectiveDate: effectiveDate !== null && effectiveDate !== void 0 ? effectiveDate : "",
30
36
  },
31
37
  },
32
38
  error: "message",
@@ -35,19 +41,20 @@ const AllotmentList = (props) => {
35
41
  });
36
42
  }
37
43
  async function onSave(allotment, contact) {
38
- const allotments = cloneDeep(incorporation.content.issueShareDetails?.allotments) ?? [];
39
- const no = allotments?.findIndex((i) => i.key === allotment.key);
44
+ var _a, _b, _c, _d;
45
+ const allotments = (_b = cloneDeep((_a = incorporation.content.issueShareDetails) === null || _a === void 0 ? void 0 : _a.allotments)) !== null && _b !== void 0 ? _b : [];
46
+ const no = allotments === null || allotments === void 0 ? void 0 : allotments.findIndex((i) => i.key === allotment.key);
40
47
  allotments[no] = allotment;
41
- if (contact && contact?.idType === "NewId") {
42
- const allotmentContacts = cloneDeep(incorporation.content?.contacts) ?? [];
43
- const index = allotmentContacts.findIndex((i) => i.id === contact?.id);
48
+ if (contact && (contact === null || contact === void 0 ? void 0 : contact.idType) === "NewId") {
49
+ const allotmentContacts = (_d = cloneDeep((_c = incorporation.content) === null || _c === void 0 ? void 0 : _c.contacts)) !== null && _d !== void 0 ? _d : [];
50
+ const index = allotmentContacts.findIndex((i) => i.id === (contact === null || contact === void 0 ? void 0 : contact.id));
44
51
  allotmentContacts[index] = contact;
45
52
  await store.edit(props.id, {
46
53
  data: {
47
54
  Contacts: CapitalizeFirstLetter(allotmentContacts),
48
55
  IssueShareDetails: {
49
56
  Allotments: CapitalizeFirstLetter(allotments),
50
- EffectiveDate: effectiveDate ?? "",
57
+ EffectiveDate: effectiveDate !== null && effectiveDate !== void 0 ? effectiveDate : "",
51
58
  },
52
59
  },
53
60
  error: "message",
@@ -58,7 +65,7 @@ const AllotmentList = (props) => {
58
65
  data: {
59
66
  IssueShareDetails: {
60
67
  Allotments: CapitalizeFirstLetter(allotments),
61
- EffectiveDate: effectiveDate ?? "",
68
+ EffectiveDate: effectiveDate !== null && effectiveDate !== void 0 ? effectiveDate : "",
62
69
  },
63
70
  },
64
71
  error: "message",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EACN,WAAW,EACX,gBAAgB,GAGhB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAG7C,+FAA+F;AAC/F,oHAAoH;AACpH,MAAM,aAAa,GAAG,CAAC,KAGtB,EAAE,EAAE;IACJ,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,aAAa,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IAE9D,MAAM,aAAa,GAAG,aAAa,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,CAAC;IAE9E,OAAO,OAAO,CAAC,GAAG,EAAE;QACnB,OAAO,CACN,iCACE,aAAa,CAAC,OAAO,CAAC,iBAAiB,EAAE,UAAU,EAAE,MAAM;YAC3D,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,iBAAiB,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAClE,oBAAC,aAAa,IACb,GAAG,EAAE,CAAC,CAAC,GAAG,EACV,SAAS,EAAE,CAAC,EACZ,OAAO,EACN,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,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,GAAG,SAAS,CAAC;QAE3B,IAAI,OAAO,IAAI,OAAO,EAAE,MAAM,KAAK,OAAO,EAAE,CAAC;YAC5C,MAAM,iBAAiB,GAAG,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;YAC3E,MAAM,KAAK,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,OAAO,EAAE,EAAE,CAAC,CAAC;YACvE,iBAAiB,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC;YAEnC,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;gBAC1B,IAAI,EAAE;oBACL,QAAQ,EAAE,qBAAqB,CAAC,iBAAiB,CAAC;oBAClD,iBAAiB,EAAE;wBAClB,UAAU,EAAE,qBAAqB,CAAC,UAAU,CAAC;wBAC7C,aAAa,EAAE,aAAa,IAAI,EAAE;qBAClC;iBACD;gBACD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;QACJ,CAAC;aAAM,CAAC;YACP,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;gBAC1B,IAAI,EAAE;oBACL,iBAAiB,EAAE;wBAClB,UAAU,EAAE,qBAAqB,CAAC,UAAU,CAAC;wBAC7C,aAAa,EAAE,aAAa,IAAI,EAAE;qBAClC;iBACD;gBACD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAA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AAC,MAAA,aAAa,CAAC,OAAO,0CAAE,QAAQ,CAAC,mCAAI,EAAE,CAAC;YAC3E,MAAM,KAAK,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,MAAK,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,EAAE,CAAA,CAAC,CAAC;YACvE,iBAAiB,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC;YAEnC,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;gBAC1B,IAAI,EAAE;oBACL,QAAQ,EAAE,qBAAqB,CAAC,iBAAiB,CAAC;oBAClD,iBAAiB,EAAE;wBAClB,UAAU,EAAE,qBAAqB,CAAC,UAAU,CAAC;wBAC7C,aAAa,EAAE,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,EAAE;qBAClC;iBACD;gBACD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;QACJ,CAAC;aAAM,CAAC;YACP,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;gBAC1B,IAAI,EAAE;oBACL,iBAAiB,EAAE;wBAClB,UAAU,EAAE,qBAAqB,CAAC,UAAU,CAAC;wBAC7C,aAAa,EAAE,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,EAAE;qBAClC;iBACD;gBACD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -21,14 +21,16 @@ const BankOpeningContactItem = (props) => {
21
21
  React.createElement(FormContactEditor, { editable: editable, contact: contact, isOnlyInternalUse: companyGeneralContext.isOnlyInternalUse, onChange: (c) => (contactDate = c) }),
22
22
  editable && (React.createElement(Row, { justify: "end" },
23
23
  React.createElement(Button, { onClick: () => {
24
+ var _a;
24
25
  setEditable(false);
25
- props.onReload?.();
26
+ (_a = props.onReload) === null || _a === void 0 ? void 0 : _a.call(props);
26
27
  } }, "Cancel"),
27
28
  React.createElement(Button, { type: "primary", style: { marginLeft: "1rem" }, onClick: onSave }, "Save"))),
28
29
  props.contactLength > 1 && React.createElement(Divider, { className: "halvingline" })))));
29
30
  async function onSave() {
31
+ var _a;
30
32
  setEditable(false);
31
- props.onSave?.(contactDate);
33
+ (_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props, contactDate);
32
34
  }
33
35
  };
34
36
  export default BankOpeningContactItem;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAErF,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,aAAa,CAAC;AAErB,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,MAAM,OAAO,GAAG,2BAA2B,EAAE,CAAC;IAC9C,MAAM,qBAAqB,GAAG,wBAAwB,EAAE,CAAC;IAEzD,qBAAqB;IACrB,IAAI,WAA+B,CAAC;IAEpC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,CAAC,Q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ot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAErF,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,aAAa,CAAC;AAErB,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,MAAM,OAAO,GAAG,2BAA2B,EAAE,CAAC;IAC9C,MAAM,qBAAqB,GAAG,wBAAwB,EAAE,CAAC;IAEzD,qBAAqB;IACrB,IAAI,WAA+B,CAAC;IAEpC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,CAAC,QAAQ;QACd,6BAAK,SAAS,EAAE,2BAA2B;YAC1C,6BAAK,SAAS,EAAC,qBAAqB,IAClC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CACvC,6BAAK,SAAS,EAAC,eAAe;gBAC7B,8BAAM,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC;oBAChE,oBAAC,eAAe,IAAC,IAAI,EAAE,oBAAoB,GAAI,CACzC,CACF,CACN,CACI;YAEN,oBAAC,iBAAiB,IACjB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,iBAAiB,EAAE,qBAAqB,CAAC,iBAAiB,EAC1D,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC,GACjC;YAED,QAAQ,IAAI,CACZ,oBAAC,GAAG,IAAC,OAAO,EAAC,KAAK;gBACjB,oBAAC,MAAM,IACN,OAAO,EAAE,GAAG,EAAE;;wBACb,WAAW,CAAC,KAAK,CAAC,CAAC;wBACnB,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;oBACpB,CAAC,aAGO;gBACT,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,WAE5D,CACJ,CACN;YACA,KAAK,CAAC,aAAc,GAAG,CAAC,IAAI,oBAAC,OAAO,IAAC,SAAS,EAAC,aAAa,GAAG,CAC3D,CACU,CACjB,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM;;QACpB,WAAW,CAAC,KAAK,CAAC,CAAC;QACnB,MAAA,KAAK,CAAC,MAAM,sDAAG,WAAW,CAAC,CAAC;IAC7B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -8,8 +8,9 @@ import "./index.css";
8
8
  const BankOpeningColumnItem = (props) => {
9
9
  const { bankOpening } = props;
10
10
  const [editable, setEditable] = useState(false);
11
- const authorisedSignatory = props.contacts.filter((c) => bankOpening.authorisedSignatoryId?.some((b) => c.id === b));
11
+ const authorisedSignatory = props.contacts.filter((c) => { var _a; return (_a = bankOpening.authorisedSignatoryId) === null || _a === void 0 ? void 0 : _a.some((b) => c.id === b); });
12
12
  return observe(() => {
13
+ var _a, _b;
13
14
  return (React.createElement("div", { className: "bank-opening-column-item" },
14
15
  React.createElement("div", { className: "bank-opening-column-item-header" },
15
16
  React.createElement("div", { className: "action-button" },
@@ -19,14 +20,14 @@ const BankOpeningColumnItem = (props) => {
19
20
  React.createElement(FontAwesomeIcon, { icon: faTrashAltRegular })))),
20
21
  React.createElement("div", { className: "bank-opening-column-item-content" },
21
22
  React.createElement(ColumnItem, { className: "bankOpening-column-item" },
22
- React.createElement(ColumnItemCol, { span: 7, label: "Authorised Signatory" }, editable ? (React.createElement(Select, { showSearch: { optionFilterProp: "label" }, mode: "multiple", placeholder: "Select contact", style: { width: "100%" }, defaultValue: bankOpening.authorisedSignatoryId, onChange: (value) => (bankOpening.authorisedSignatoryId = value), classNames: { popup: { root: "add-bank-opening-select-contact" } }, options: props.contacts?.map((item) => {
23
+ React.createElement(ColumnItemCol, { span: 7, label: "Authorised Signatory" }, editable ? (React.createElement(Select, { showSearch: { optionFilterProp: "label" }, mode: "multiple", placeholder: "Select contact", style: { width: "100%" }, defaultValue: bankOpening.authorisedSignatoryId, onChange: (value) => (bankOpening.authorisedSignatoryId = value), classNames: { popup: { root: "add-bank-opening-select-contact" } }, options: (_a = props.contacts) === null || _a === void 0 ? void 0 : _a.map((item) => {
23
24
  return { value: item.id, label: item.name };
24
- }) })) : (authorisedSignatory?.map((a) => React.createElement("span", { className: "margin-right-5" }, a.name)))),
25
+ }) })) : (authorisedSignatory === null || authorisedSignatory === void 0 ? void 0 : authorisedSignatory.map((a) => React.createElement("span", { className: "margin-right-5" }, a.name)))),
25
26
  React.createElement(ColumnItemCol, { span: 7, label: "Bank" }, editable ? (React.createElement(Input, { placeholder: "please input Bank", style: { width: "100%" }, defaultValue: bankOpening.bank, onChange: (e) => (bankOpening.bank = e.target.value) })) : (React.createElement("div", { className: "column-item-value" }, bankOpening.bank))),
26
27
  React.createElement(ColumnItemCol, { span: 8, label: "Account Types" }, editable ? (React.createElement(Select, { mode: "tags", placeholder: "Select Account Type", style: { width: "100%" }, defaultValue: bankOpening.accountTypes, onChange: (value) => (bankOpening.accountTypes = value), options: [
27
28
  { value: "Current Account", label: "Current Account" },
28
29
  { value: "Saving Account", label: "Saving Account" },
29
- ] })) : (bankOpening.accountTypes?.map((t) => React.createElement("span", { className: "margin-right-5" }, t)))),
30
+ ] })) : ((_b = bankOpening.accountTypes) === null || _b === void 0 ? void 0 : _b.map((t) => React.createElement("span", { className: "margin-right-5" }, t)))),
30
31
  React.createElement(ColumnItemCol, { span: 2, label: "Currency" }, editable ? (React.createElement(CurrencySelect, { placeholder: "Select Share Currency", currency: bankOpening.currency, onChange: (value) => (bankOpening.currency = value) })) : (React.createElement("div", { className: "column-item-value" }, bankOpening.currency))))),
31
32
  editable && (React.createElement(Row, { justify: "end", style: { marginTop: "10px" } },
32
33
  React.createElement(Button, { onClick: () => setEditable(false) }, "Cancel"),
@@ -34,8 +35,9 @@ const BankOpeningColumnItem = (props) => {
34
35
  props.bankOpeningLength > 1 && React.createElement(Divider, null)));
35
36
  });
36
37
  async function onSave() {
38
+ var _a;
37
39
  setEditable(false);
38
- props.onSave?.(bankOpening);
40
+ (_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props, bankOpening);
39
41
  }
40
42
  };
41
43
  export default BankOpeningColumnItem;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/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,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EACN,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,GACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,cAAc,MAAM,8CAA8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CACvC,CACN,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM;QACpB,WAAW,CAAC,KAAK,CAAC,CAAC;QAEnB,KAAK,CAAC,MAAM,EAAE,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/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,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EACN,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,GACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,aAAa,CAAC;AAErB,MAAM,qBAAqB,GAAG,CAAC,KAM9B,EAAE,EAAE;IACJ,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC9B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,MAAM,mBAAmB,GAAyB,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,WAC7E,OAAA,MAAA,WAAW,CAAC,qBAAqB,0CAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAA,EAAA,CAC1D,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE;;QACnB,OAAO,CACN,6BAAK,SAAS,EA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