@voplus/morpho-csp 1.2.24 → 1.2.27

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 (408) hide show
  1. package/es/Modules.js.map +1 -1
  2. package/es/components/CurrencyView/state.d.ts +3 -3
  3. package/es/components/CurrencyView/state.js +3 -3
  4. package/es/components/CurrencyView/state.js.map +1 -1
  5. package/es/components/DragTableRow/FormRowContext.d.ts +4 -0
  6. package/es/components/DragTableRow/FormRowContext.js +5 -0
  7. package/es/components/DragTableRow/FormRowContext.js.map +1 -0
  8. package/es/components/DragTableRow/index.d.ts +3 -0
  9. package/es/components/DragTableRow/index.js +41 -0
  10. package/es/components/DragTableRow/index.js.map +1 -0
  11. package/es/components/LegalContactSelect/index.js +4 -2
  12. package/es/components/LegalContactSelect/index.js.map +1 -1
  13. package/es/data/account/hooks.d.ts +2 -2
  14. package/es/data/account/hooks.js +2 -2
  15. package/es/data/cart/hooks.d.ts +7 -0
  16. package/es/data/cart/hooks.js +14 -0
  17. package/es/data/cart/hooks.js.map +1 -0
  18. package/es/data/cart/index.d.ts +4 -0
  19. package/es/data/cart/index.js +5 -0
  20. package/es/data/cart/index.js.map +1 -0
  21. package/es/data/cart/interfaces.d.ts +58 -0
  22. package/es/data/cart/interfaces.js +2 -0
  23. package/es/data/cart/interfaces.js.map +1 -0
  24. package/es/data/cart/store.d.ts +22 -0
  25. package/es/data/cart/store.js +65 -0
  26. package/es/data/cart/store.js.map +1 -0
  27. package/es/data/cart/types.d.ts +29 -0
  28. package/es/data/cart/types.js +2 -0
  29. package/es/data/cart/types.js.map +1 -0
  30. package/es/data/corporate/hooks.d.ts +2 -2
  31. package/es/data/corporate/hooks.js +2 -2
  32. package/es/data/corporate/types.d.ts +1 -0
  33. package/es/data/entity/EntityStore.d.ts +17 -0
  34. package/es/data/entity/EntityStore.js +43 -0
  35. package/es/data/entity/EntityStore.js.map +1 -0
  36. package/es/data/entity/hooks.d.ts +7 -0
  37. package/es/data/entity/hooks.js +14 -0
  38. package/es/data/entity/hooks.js.map +1 -0
  39. package/es/data/entity/index.d.ts +3 -0
  40. package/es/data/entity/index.js +4 -0
  41. package/es/data/entity/index.js.map +1 -0
  42. package/es/data/entity/interface.d.ts +26 -0
  43. package/es/data/entity/interface.js +2 -0
  44. package/es/data/entity/interface.js.map +1 -0
  45. package/es/data/entity/types.d.ts +26 -0
  46. package/es/data/entity/types.js +2 -0
  47. package/es/data/entity/types.js.map +1 -0
  48. package/es/data/identity/types.d.ts +17 -0
  49. package/es/data/incorporation-clda/hooks.d.ts +9 -0
  50. package/es/data/incorporation-clda/hooks.js +20 -0
  51. package/es/data/incorporation-clda/hooks.js.map +1 -0
  52. package/es/data/incorporation-clda/index.d.ts +4 -0
  53. package/es/data/incorporation-clda/index.js +5 -0
  54. package/es/data/incorporation-clda/index.js.map +1 -0
  55. package/es/data/incorporation-clda/interfaces.d.ts +30 -0
  56. package/es/data/incorporation-clda/interfaces.js +2 -0
  57. package/es/data/incorporation-clda/interfaces.js.map +1 -0
  58. package/es/data/incorporation-clda/store.d.ts +13 -0
  59. package/es/data/incorporation-clda/store.js +28 -0
  60. package/es/data/incorporation-clda/store.js.map +1 -0
  61. package/es/data/incorporation-clda/types.d.ts +14 -0
  62. package/es/data/incorporation-clda/types.js +2 -0
  63. package/es/data/incorporation-clda/types.js.map +1 -0
  64. package/es/data/incorporation-form/hooks.d.ts +9 -0
  65. package/es/data/incorporation-form/hooks.js +20 -0
  66. package/es/data/incorporation-form/hooks.js.map +1 -0
  67. package/es/data/incorporation-form/index.d.ts +4 -0
  68. package/es/data/incorporation-form/index.js +5 -0
  69. package/es/data/incorporation-form/index.js.map +1 -0
  70. package/es/data/incorporation-form/interfaces.d.ts +31 -0
  71. package/es/data/incorporation-form/interfaces.js +2 -0
  72. package/es/data/incorporation-form/interfaces.js.map +1 -0
  73. package/es/data/incorporation-form/store.d.ts +13 -0
  74. package/es/data/incorporation-form/store.js +28 -0
  75. package/es/data/incorporation-form/store.js.map +1 -0
  76. package/es/data/incorporation-form/types.d.ts +32 -0
  77. package/es/data/incorporation-form/types.js +2 -0
  78. package/es/data/incorporation-form/types.js.map +1 -0
  79. package/es/data/member/hooks.d.ts +2 -2
  80. package/es/data/member/hooks.js +2 -2
  81. package/es/data/member/interfaces.d.ts +12 -0
  82. package/es/data/officer/hooks.d.ts +2 -2
  83. package/es/data/officer/hooks.js +2 -2
  84. package/es/data/order/OrderStore.d.ts +12 -0
  85. package/es/data/order/OrderStore.js +27 -0
  86. package/es/data/order/OrderStore.js.map +1 -0
  87. package/es/data/order/hooks.d.ts +13 -0
  88. package/es/data/order/hooks.js +24 -0
  89. package/es/data/order/hooks.js.map +1 -0
  90. package/es/data/order/index.d.ts +4 -0
  91. package/es/data/order/index.js +5 -0
  92. package/es/data/order/index.js.map +1 -0
  93. package/es/data/order/interfaces.d.ts +25 -0
  94. package/es/data/order/interfaces.js +2 -0
  95. package/es/data/order/interfaces.js.map +1 -0
  96. package/es/data/order/types.d.ts +17 -0
  97. package/es/data/order/types.js +2 -0
  98. package/es/data/order/types.js.map +1 -0
  99. package/es/data/service/hooks.d.ts +2 -2
  100. package/es/data/service/hooks.js +2 -2
  101. package/es/data/shareCertificate/hooks.d.ts +1 -1
  102. package/es/data/shareCertificate/hooks.js +1 -1
  103. package/es/data/shareOptionsRegister/hooks.d.ts +2 -2
  104. package/es/data/shareOptionsRegister/hooks.js +2 -2
  105. package/es/data/shareTransaction/hooks.d.ts +2 -2
  106. package/es/data/shareTransaction/hooks.js +2 -2
  107. package/es/data/shareTransaction/interfaces/IShareTransaction.d.ts +3 -3
  108. package/es/modules/account/AccountDefaultView/index.less +0 -18
  109. package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.js +2 -1
  110. package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.js.map +1 -1
  111. package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.js +11 -8
  112. package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.js.map +1 -1
  113. package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.js +13 -10
  114. package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.js.map +1 -1
  115. package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.js +13 -10
  116. package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.js.map +1 -1
  117. package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.js +29 -23
  118. package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.js.map +1 -1
  119. package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.js +13 -10
  120. package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.js.map +1 -1
  121. package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.js +1 -1
  122. package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.js.map +1 -1
  123. package/es/modules/corporate/CLDA/CLDAClientView/index.d.ts +9 -1
  124. package/es/modules/corporate/CLDA/CLDAClientView/index.js +21 -12
  125. package/es/modules/corporate/CLDA/CLDAClientView/index.js.map +1 -1
  126. package/es/modules/corporate/CLDA/CLDAClientView/index.less +10 -12
  127. package/es/modules/corporate/CLDA/CLDADefaultView/index.js.map +1 -1
  128. package/es/modules/corporate/CLDA/ChangeAddress2021/index.less +13 -18
  129. package/es/modules/corporate/LegalGeneration/index.less +0 -6
  130. package/es/modules/corporate/company/CompanyDefaultView/index.js +1 -1
  131. package/es/modules/corporate/company/CompanyDefaultView/index.js.map +1 -1
  132. package/es/modules/corporate/company/CompanyDetailsView/index.js +44 -42
  133. package/es/modules/corporate/company/CompanyDetailsView/index.js.map +1 -1
  134. package/es/modules/corporate/company/Identity/IdentifyDetail/index.js +13 -5
  135. package/es/modules/corporate/company/Identity/IdentifyDetail/index.js.map +1 -1
  136. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.js +4 -2
  137. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.js.map +1 -1
  138. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.d.ts +1 -1
  139. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.less +1 -2
  140. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.d.ts +1 -1
  141. package/es/modules/order/OrderDefaultView/index.d.ts +4 -0
  142. package/es/modules/order/OrderDefaultView/index.js +52 -0
  143. package/es/modules/order/OrderDefaultView/index.js.map +1 -0
  144. package/es/modules/order/OrderDefaultView/index.less +13 -0
  145. package/es/modules/order/OrderItem/index.d.ts +6 -0
  146. package/es/modules/order/OrderItem/index.js +13 -0
  147. package/es/modules/order/OrderItem/index.js.map +1 -0
  148. package/es/modules/order/OrderItem/index.less +21 -0
  149. package/es/modules/order/OrderItems/DragTableCell.d.ts +3 -0
  150. package/es/modules/order/OrderItems/DragTableCell.js +75 -0
  151. package/es/modules/order/OrderItems/DragTableCell.js.map +1 -0
  152. package/es/modules/order/OrderItems/index.d.ts +4 -0
  153. package/es/modules/order/OrderItems/index.js +160 -0
  154. package/es/modules/order/OrderItems/index.js.map +1 -0
  155. package/es/modules/order/OrderItems/index.less +48 -0
  156. package/es/modules/order/OrderItems/state.d.ts +29 -0
  157. package/es/modules/order/OrderItems/state.js +89 -0
  158. package/es/modules/order/OrderItems/state.js.map +1 -0
  159. package/es/modules/order/OrderLabel/index.d.ts +6 -0
  160. package/es/modules/order/OrderLabel/index.js +40 -0
  161. package/es/modules/order/OrderLabel/index.js.map +1 -0
  162. package/es/modules/order/OrderLabel/index.less +21 -0
  163. package/es/modules/order/OrderLabel/state.d.ts +10 -0
  164. package/es/modules/order/OrderLabel/state.js +218 -0
  165. package/es/modules/order/OrderLabel/state.js.map +1 -0
  166. package/es/modules/order/OrderListView/index.d.ts +5 -0
  167. package/es/modules/order/OrderListView/index.js +47 -0
  168. package/es/modules/order/OrderListView/index.js.map +1 -0
  169. package/es/modules/order/OrderPropertiesView/index.d.ts +6 -0
  170. package/es/modules/order/OrderPropertiesView/index.js +39 -0
  171. package/es/modules/order/OrderPropertiesView/index.js.map +1 -0
  172. package/es/modules/order/OrderPropertiesView/index.less +13 -0
  173. package/es/modules/order/context/OrderContext.d.ts +31 -0
  174. package/es/modules/order/context/OrderContext.js +92 -0
  175. package/es/modules/order/context/OrderContext.js.map +1 -0
  176. package/es/modules/order/controls/IncorporationStatusLabel/index.d.ts +10 -0
  177. package/es/modules/order/controls/IncorporationStatusLabel/index.js +16 -0
  178. package/es/modules/order/controls/IncorporationStatusLabel/index.js.map +1 -0
  179. package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -0
  180. package/es/modules/order/controls/filters/IncorporationStatusFilter/index.d.ts +3 -0
  181. package/es/modules/order/controls/filters/IncorporationStatusFilter/index.js +21 -0
  182. package/es/modules/order/controls/filters/IncorporationStatusFilter/index.js.map +1 -0
  183. package/es/modules/order/controls/filters/IncorporationStatusFilter/state.d.ts +17 -0
  184. package/es/modules/order/controls/filters/IncorporationStatusFilter/state.js +48 -0
  185. package/es/modules/order/controls/filters/IncorporationStatusFilter/state.js.map +1 -0
  186. package/es/modules/self-registration/components/Card/index.d.ts +16 -0
  187. package/es/modules/self-registration/components/Card/index.js +20 -0
  188. package/es/modules/self-registration/components/Card/index.js.map +1 -0
  189. package/es/modules/self-registration/components/Card/index.less +52 -0
  190. package/es/modules/self-registration/components/CheckSection/index.d.ts +7 -0
  191. package/es/modules/self-registration/components/CheckSection/index.js +15 -0
  192. package/es/modules/self-registration/components/CheckSection/index.js.map +1 -0
  193. package/es/modules/self-registration/components/CheckSection/index.less +20 -0
  194. package/es/modules/self-registration/components/MemberCard/index.d.ts +11 -0
  195. package/es/modules/self-registration/components/MemberCard/index.js +58 -0
  196. package/es/modules/self-registration/components/MemberCard/index.js.map +1 -0
  197. package/es/modules/self-registration/components/MemberCard/index.less +53 -0
  198. package/es/modules/self-registration/components/StripeForm/index.d.ts +11 -0
  199. package/es/modules/self-registration/components/StripeForm/index.js +61 -0
  200. package/es/modules/self-registration/components/StripeForm/index.js.map +1 -0
  201. package/es/modules/self-registration/components/StripeForm/index.less +36 -0
  202. package/es/modules/self-registration/components/StripeForm/state.d.ts +11 -0
  203. package/es/modules/self-registration/components/StripeForm/state.js +81 -0
  204. package/es/modules/self-registration/components/StripeForm/state.js.map +1 -0
  205. package/es/modules/self-registration/components/index.d.ts +1 -0
  206. package/es/modules/self-registration/components/index.js +2 -0
  207. package/es/modules/self-registration/components/index.js.map +1 -0
  208. package/es/modules/self-registration/controls/Blink/index.d.ts +13 -0
  209. package/es/modules/self-registration/controls/Blink/index.js +13 -0
  210. package/es/modules/self-registration/controls/Blink/index.js.map +1 -0
  211. package/es/modules/self-registration/controls/Blink/index.less +27 -0
  212. package/es/modules/self-registration/controls/BusinessActivityInput/index.d.ts +9 -0
  213. package/es/modules/self-registration/controls/BusinessActivityInput/index.js +42 -0
  214. package/es/modules/self-registration/controls/BusinessActivityInput/index.js.map +1 -0
  215. package/es/modules/self-registration/controls/BusinessActivityInput/state.d.ts +17 -0
  216. package/es/modules/self-registration/controls/BusinessActivityInput/state.js +48 -0
  217. package/es/modules/self-registration/controls/BusinessActivityInput/state.js.map +1 -0
  218. package/es/modules/self-registration/controls/BusinessNameInput/index.d.ts +30 -0
  219. package/es/modules/self-registration/controls/BusinessNameInput/index.js +115 -0
  220. package/es/modules/self-registration/controls/BusinessNameInput/index.js.map +1 -0
  221. package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.d.ts +11 -0
  222. package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.js +19 -0
  223. package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.js.map +1 -0
  224. package/es/modules/self-registration/controls/BusinessNameInputFormItem/state.d.ts +6 -0
  225. package/es/modules/self-registration/controls/BusinessNameInputFormItem/state.js +23 -0
  226. package/es/modules/self-registration/controls/BusinessNameInputFormItem/state.js.map +1 -0
  227. package/es/modules/self-registration/controls/Section/index.d.ts +13 -0
  228. package/es/modules/self-registration/controls/Section/index.js +15 -0
  229. package/es/modules/self-registration/controls/Section/index.js.map +1 -0
  230. package/es/modules/self-registration/controls/Section/index.less +79 -0
  231. package/es/modules/self-registration/controls/Tips/BusinessActivityTip.d.ts +3 -0
  232. package/es/modules/self-registration/controls/Tips/BusinessActivityTip.js +30 -0
  233. package/es/modules/self-registration/controls/Tips/BusinessActivityTip.js.map +1 -0
  234. package/es/modules/self-registration/controls/Tips/BusinessNameTip.d.ts +3 -0
  235. package/es/modules/self-registration/controls/Tips/BusinessNameTip.js +13 -0
  236. package/es/modules/self-registration/controls/Tips/BusinessNameTip.js.map +1 -0
  237. package/es/modules/self-registration/controls/Tips/CapitalTip.d.ts +3 -0
  238. package/es/modules/self-registration/controls/Tips/CapitalTip.js +11 -0
  239. package/es/modules/self-registration/controls/Tips/CapitalTip.js.map +1 -0
  240. package/es/modules/self-registration/controls/Tips/DirectorTip.d.ts +5 -0
  241. package/es/modules/self-registration/controls/Tips/DirectorTip.js +25 -0
  242. package/es/modules/self-registration/controls/Tips/DirectorTip.js.map +1 -0
  243. package/es/modules/self-registration/controls/Tips/FYETip.d.ts +3 -0
  244. package/es/modules/self-registration/controls/Tips/FYETip.js +13 -0
  245. package/es/modules/self-registration/controls/Tips/FYETip.js.map +1 -0
  246. package/es/modules/self-registration/controls/Tips/IncorporationTip.d.ts +3 -0
  247. package/es/modules/self-registration/controls/Tips/IncorporationTip.js +9 -0
  248. package/es/modules/self-registration/controls/Tips/IncorporationTip.js.map +1 -0
  249. package/es/modules/self-registration/controls/Tips/RegisteredAddressTip.d.ts +3 -0
  250. package/es/modules/self-registration/controls/Tips/RegisteredAddressTip.js +13 -0
  251. package/es/modules/self-registration/controls/Tips/RegisteredAddressTip.js.map +1 -0
  252. package/es/modules/self-registration/controls/Tips/SecretaryTip.d.ts +3 -0
  253. package/es/modules/self-registration/controls/Tips/SecretaryTip.js +15 -0
  254. package/es/modules/self-registration/controls/Tips/SecretaryTip.js.map +1 -0
  255. package/es/modules/self-registration/controls/Tips/ShareholderTip.d.ts +3 -0
  256. package/es/modules/self-registration/controls/Tips/ShareholderTip.js +11 -0
  257. package/es/modules/self-registration/controls/Tips/ShareholderTip.js.map +1 -0
  258. package/es/modules/self-registration/controls/Tips/SharesTip.d.ts +3 -0
  259. package/es/modules/self-registration/controls/Tips/SharesTip.js +9 -0
  260. package/es/modules/self-registration/controls/Tips/SharesTip.js.map +1 -0
  261. package/es/modules/self-registration/controls/Tips/Tip.d.ts +5 -0
  262. package/es/modules/self-registration/controls/Tips/Tip.js +10 -0
  263. package/es/modules/self-registration/controls/Tips/Tip.js.map +1 -0
  264. package/es/modules/self-registration/controls/Tips/index.d.ts +10 -0
  265. package/es/modules/self-registration/controls/Tips/index.js +11 -0
  266. package/es/modules/self-registration/controls/Tips/index.js.map +1 -0
  267. package/es/modules/self-registration/controls/index.d.ts +1 -0
  268. package/es/modules/self-registration/controls/index.js +2 -0
  269. package/es/modules/self-registration/controls/index.js.map +1 -0
  270. package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/IncorporationCLDAClientContext.d.ts +12 -0
  271. package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/IncorporationCLDAClientContext.js +42 -0
  272. package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/IncorporationCLDAClientContext.js.map +1 -0
  273. package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/index.d.ts +3 -0
  274. package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/index.js +44 -0
  275. package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/index.js.map +1 -0
  276. package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/index.less +9 -0
  277. package/es/modules/self-registration/incorporation-clda/IncorporationDefaultView/index.d.ts +6 -0
  278. package/es/modules/self-registration/incorporation-clda/IncorporationDefaultView/index.js +25 -0
  279. package/es/modules/self-registration/incorporation-clda/IncorporationDefaultView/index.js.map +1 -0
  280. package/es/modules/self-registration/incorporation-clda/IncorporationDefaultView/index.less +18 -0
  281. package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.d.ts +3 -0
  282. package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.js +33 -0
  283. package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.js.map +1 -0
  284. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.d.ts +5 -0
  285. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.js +30 -0
  286. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.js.map +1 -0
  287. package/es/modules/self-registration/incorporation-clda/components/StartStep/index.d.ts +3 -0
  288. package/es/modules/self-registration/incorporation-clda/components/StartStep/index.js +16 -0
  289. package/es/modules/self-registration/incorporation-clda/components/StartStep/index.js.map +1 -0
  290. package/es/modules/self-registration/incorporation-form/ApplicationProcessing/index.d.ts +5 -0
  291. package/es/modules/self-registration/incorporation-form/ApplicationProcessing/index.js +54 -0
  292. package/es/modules/self-registration/incorporation-form/ApplicationProcessing/index.js.map +1 -0
  293. package/es/modules/self-registration/incorporation-form/ApplicationProcessing/index.less +37 -0
  294. package/es/modules/self-registration/incorporation-form/CLDAIncorporationDefaultView/index.d.ts +4 -0
  295. package/es/modules/self-registration/incorporation-form/CLDAIncorporationDefaultView/index.js +85 -0
  296. package/es/modules/self-registration/incorporation-form/CLDAIncorporationDefaultView/index.js.map +1 -0
  297. package/es/modules/self-registration/incorporation-form/CLDAIncorporationDefaultView/index.less +26 -0
  298. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/CompanyInfo/index.d.ts +5 -0
  299. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/CompanyInfo/index.js +91 -0
  300. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/CompanyInfo/index.js.map +1 -0
  301. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/CompanyInfo/index.less +7 -0
  302. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/index.d.ts +6 -0
  303. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/index.js +92 -0
  304. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/index.js.map +1 -0
  305. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/state.d.ts +11 -0
  306. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/state.js +45 -0
  307. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/state.js.map +1 -0
  308. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareCapital/index.d.ts +6 -0
  309. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareCapital/index.js +74 -0
  310. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareCapital/index.js.map +1 -0
  311. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareCapital/index.less +28 -0
  312. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/index.d.ts +6 -0
  313. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/index.js +106 -0
  314. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/index.js.map +1 -0
  315. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/state.d.ts +11 -0
  316. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/state.js +45 -0
  317. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/state.js.map +1 -0
  318. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/index.d.ts +12 -0
  319. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/index.js +63 -0
  320. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/index.js.map +1 -0
  321. package/es/modules/self-registration/incorporation-form/CompanyInfoForm/index.less +25 -0
  322. package/es/modules/self-registration/incorporation-form/Download/index.d.ts +5 -0
  323. package/es/modules/self-registration/incorporation-form/Download/index.js +71 -0
  324. package/es/modules/self-registration/incorporation-form/Download/index.js.map +1 -0
  325. package/es/modules/self-registration/incorporation-form/Download/index.less +41 -0
  326. package/es/modules/self-registration/incorporation-form/IncorporationFormRoutes.d.ts +19 -0
  327. package/es/modules/self-registration/incorporation-form/IncorporationFormRoutes.js +33 -0
  328. package/es/modules/self-registration/incorporation-form/IncorporationFormRoutes.js.map +1 -0
  329. package/es/modules/self-registration/incorporation-form/Upload/index.d.ts +5 -0
  330. package/es/modules/self-registration/incorporation-form/Upload/index.js +48 -0
  331. package/es/modules/self-registration/incorporation-form/Upload/index.js.map +1 -0
  332. package/es/modules/self-registration/incorporation-form/Upload/index.less +15 -0
  333. package/es/modules/self-registration/incorporation-form/components/IncorporationFromProperties/index.d.ts +5 -0
  334. package/es/modules/self-registration/incorporation-form/components/IncorporationFromProperties/index.js +32 -0
  335. package/es/modules/self-registration/incorporation-form/components/IncorporationFromProperties/index.js.map +1 -0
  336. package/es/modules/self-registration/incorporation-form/components/IncorporationFromReview/index.d.ts +5 -0
  337. package/es/modules/self-registration/incorporation-form/components/IncorporationFromReview/index.js +55 -0
  338. package/es/modules/self-registration/incorporation-form/components/IncorporationFromReview/index.js.map +1 -0
  339. package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.d.ts +11 -0
  340. package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.js +75 -0
  341. package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.js.map +1 -0
  342. package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.less +74 -0
  343. package/es/modules/self-registration/incorporation-form/controls/IncorpoationFormMenu/index.d.ts +6 -0
  344. package/es/modules/self-registration/incorporation-form/controls/IncorpoationFormMenu/index.js +16 -0
  345. package/es/modules/self-registration/incorporation-form/controls/IncorpoationFormMenu/index.js.map +1 -0
  346. package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/index.d.ts +3 -0
  347. package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/index.js +11 -0
  348. package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/index.js.map +1 -0
  349. package/es/modules/self-registration/incorporation-form/pages/IncorporationFromDefaultView/index.d.ts +5 -0
  350. package/es/modules/self-registration/incorporation-form/pages/IncorporationFromDefaultView/index.js +23 -0
  351. package/es/modules/self-registration/incorporation-form/pages/IncorporationFromDefaultView/index.js.map +1 -0
  352. package/es/modules/self-registration/incorporation-form/pages/IncorporationFromDefaultView/index.less +28 -0
  353. package/es/modules/self-registration/shopping-cart/CartState.d.ts +55 -0
  354. package/es/modules/self-registration/shopping-cart/CartState.js +245 -0
  355. package/es/modules/self-registration/shopping-cart/CartState.js.map +1 -0
  356. package/es/modules/self-registration/shopping-cart/ChooseService/index.d.ts +5 -0
  357. package/es/modules/self-registration/shopping-cart/ChooseService/index.js +79 -0
  358. package/es/modules/self-registration/shopping-cart/ChooseService/index.js.map +1 -0
  359. package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -0
  360. package/es/modules/self-registration/shopping-cart/Paid.d.ts +5 -0
  361. package/es/modules/self-registration/shopping-cart/Paid.js +31 -0
  362. package/es/modules/self-registration/shopping-cart/Paid.js.map +1 -0
  363. package/es/modules/self-registration/shopping-cart/Payment/index.d.ts +5 -0
  364. package/es/modules/self-registration/shopping-cart/Payment/index.js +30 -0
  365. package/es/modules/self-registration/shopping-cart/Payment/index.js.map +1 -0
  366. package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -0
  367. package/es/modules/self-registration/shopping-cart/components/Arrangement.d.ts +5 -0
  368. package/es/modules/self-registration/shopping-cart/components/Arrangement.js +16 -0
  369. package/es/modules/self-registration/shopping-cart/components/Arrangement.js.map +1 -0
  370. package/es/modules/self-registration/shopping-cart/components/Incorporation.d.ts +3 -0
  371. package/es/modules/self-registration/shopping-cart/components/Incorporation.js +35 -0
  372. package/es/modules/self-registration/shopping-cart/components/Incorporation.js.map +1 -0
  373. package/es/modules/self-registration/shopping-cart/components/NameAndActivities.d.ts +3 -0
  374. package/es/modules/self-registration/shopping-cart/components/NameAndActivities.js +37 -0
  375. package/es/modules/self-registration/shopping-cart/components/NameAndActivities.js.map +1 -0
  376. package/es/modules/self-registration/shopping-cart/components/Pay/index.d.ts +3 -0
  377. package/es/modules/self-registration/shopping-cart/components/Pay/index.js +28 -0
  378. package/es/modules/self-registration/shopping-cart/components/Pay/index.js.map +1 -0
  379. package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -0
  380. package/es/modules/self-registration/shopping-cart/components/Register.d.ts +3 -0
  381. package/es/modules/self-registration/shopping-cart/components/Register.js +76 -0
  382. package/es/modules/self-registration/shopping-cart/components/Register.js.map +1 -0
  383. package/es/modules/self-registration/shopping-cart/components/Secretary.d.ts +3 -0
  384. package/es/modules/self-registration/shopping-cart/components/Secretary.js +63 -0
  385. package/es/modules/self-registration/shopping-cart/components/Secretary.js.map +1 -0
  386. package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.d.ts +3 -0
  387. package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.js +137 -0
  388. package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.js.map +1 -0
  389. package/es/modules/self-registration/shopping-cart/components/ShareHolders/state.d.ts +12 -0
  390. package/es/modules/self-registration/shopping-cart/components/ShareHolders/state.js +48 -0
  391. package/es/modules/self-registration/shopping-cart/components/ShareHolders/state.js.map +1 -0
  392. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.d.ts +11 -0
  393. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.js +56 -0
  394. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.js.map +1 -0
  395. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -0
  396. package/es/modules/self-registration/shopping-cart/components/index.d.ts +8 -0
  397. package/es/modules/self-registration/shopping-cart/components/index.js +9 -0
  398. package/es/modules/self-registration/shopping-cart/components/index.js.map +1 -0
  399. package/es/modules/self-registration/shopping-cart/components/styles.less +23 -0
  400. package/es/modules/self-registration/shopping-cart/index.d.ts +3 -0
  401. package/es/modules/self-registration/shopping-cart/index.js +4 -0
  402. package/es/modules/self-registration/shopping-cart/index.js.map +1 -0
  403. package/es/modules/self-registration/shopping-cart/pages.less +6 -0
  404. package/es/routes.d.ts +51 -1
  405. package/es/routes.js +81 -1
  406. package/es/routes.js.map +1 -1
  407. package/es/style/common.less +14 -1
  408. package/package.json +6 -3
@@ -0,0 +1,26 @@
1
+ import { IAddress } from "@voplus/morpho-org/es/data/interfaces/IAddress";
2
+ import { IBusiness } from "./interface";
3
+ import { IMember } from "../member";
4
+ export declare type LoadEntityOptions = {
5
+ reload: boolean;
6
+ };
7
+ export declare type EditEntityOptions = {
8
+ name?: string /**企业名称 */;
9
+ address?: IAddress /**注册地址 */;
10
+ jurisdiction?: string /**司法管辖区类型"HK" | "SG" | "BVI" */;
11
+ registrationDate?: Date;
12
+ newOfficers?: Partial<IMember>[];
13
+ editOfficers?: Partial<IMember>[];
14
+ removeOfficers?: Partial<IMember>[];
15
+ } & Partial<IBusiness>;
16
+ export declare type CreatEntityOptions = {
17
+ Name: string /**企业名称 */;
18
+ address?: IAddress /**注册地址 */;
19
+ jurisdiction?: string /**司法管辖区类型"HK" | "SG" | "BVI" */;
20
+ registrationDate?: Date /**注册时间 */;
21
+ };
22
+ /**经营业务详情 */
23
+ export interface Activity {
24
+ code?: string /**业务代码 */;
25
+ description?: string /**业务描述 */;
26
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/entity/types.ts"],"names":[],"mappings":""}
@@ -24,6 +24,23 @@ export declare type IdentityCreateDataOptions = {
24
24
  /** Address of the unit */
25
25
  Address?: IAddress;
26
26
  };
27
+ export declare type IdentityEditDataOptions = {
28
+ /** full name of the identity */
29
+ fullName?: string;
30
+ /** alias of the identity */
31
+ alias?: string;
32
+ /** type of the identity */
33
+ type?: string;
34
+ /** number of the identity */
35
+ number?: number;
36
+ /** country of issued of the identity */
37
+ country?: string;
38
+ /** expiry date of the identity */
39
+ expiryDate?: Date;
40
+ };
27
41
  export declare type IdentityCreateOptions = {
28
42
  data: IdentityCreateDataOptions;
29
43
  } & StoreActionOptions;
44
+ export declare type IdentityEditOptions = {
45
+ data: IdentityEditDataOptions;
46
+ } & StoreActionOptions;
@@ -0,0 +1,9 @@
1
+ import { LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
2
+ import { IIncorporationCLDA } from "./interfaces";
3
+ import { ListDataContextState } from "@voplus/morpho-ui/es/data";
4
+ /** React hook to retrieve a Incorporation CLDA
5
+ * @param {string} id - id of the Incorporation CLDA
6
+ * @param {LoadIncorporationCLDAOptions} options - options
7
+ */
8
+ export declare const useIncorporationCLDA: (id: string, options?: LoadDocumentOptions | undefined) => IIncorporationCLDA;
9
+ export declare const useIncorporationCLDAListEffect: (list: ListDataContextState<IIncorporationCLDA> | null, effect: (list: IIncorporationCLDA[], total?: number | undefined) => void, options?: LoadDocumentListOptions | undefined) => void;
@@ -0,0 +1,20 @@
1
+ import { useDocumentListLoaderEffect, useDocumentStore, } from "@voplus/morpho-document-core";
2
+ import { useIncorporationCLDAStore } from "./store";
3
+ import { useLoadCountedMapItem } from "@voplus/morpho-data";
4
+ /** React hook to retrieve a Incorporation CLDA
5
+ * @param {string} id - id of the Incorporation CLDA
6
+ * @param {LoadIncorporationCLDAOptions} options - options
7
+ */
8
+ export const useIncorporationCLDA = (id, options) => {
9
+ options = options ? options : {};
10
+ const store = useIncorporationCLDAStore();
11
+ const documents = useDocumentStore();
12
+ return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
13
+ };
14
+ export const useIncorporationCLDAListEffect = (list, effect, options) => {
15
+ const deps = options ? options : {};
16
+ const legacy = useIncorporationCLDAStore();
17
+ // Call useDocumentListEffect and ensure won't load twice for same loading options.
18
+ return useDocumentListLoaderEffect(list, effect, () => legacy.loadList(options), [deps]);
19
+ };
20
+ //# sourceMappingURL=hooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/incorporation-clda/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACjF,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,yBAAyB,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,SAAS,CAAC,KAAK,EACf,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACe,CAAC;AACzB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC7C,IAAqD,EACrD,MAAwE,EACxE,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,MAAM,GAAG,yBAAyB,EAAE,CAAC;IAE3C,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1F,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./interfaces";
2
+ export * from "./store";
3
+ export * from "./hooks";
4
+ export * from "./types";
@@ -0,0 +1,5 @@
1
+ export * from "./interfaces";
2
+ export * from "./store";
3
+ export * from "./hooks";
4
+ export * from "./types";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/incorporation-clda/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { AssistantStatus } from "../CLDA";
2
+ import { IDocument } from "@voplus/morpho-document-core";
3
+ export interface IIncorporationCLDA extends IDocument {
4
+ /** incorporation form */
5
+ incorporationFormId?: string;
6
+ /** kyc form id */
7
+ kycFormId?: string;
8
+ /** quotation id */
9
+ quotationId?: string;
10
+ /** corporate of the CLDA */
11
+ corporate: {
12
+ id: string;
13
+ contact: {
14
+ id: string;
15
+ name: string;
16
+ };
17
+ mainContact: {
18
+ id: string;
19
+ name: string;
20
+ };
21
+ };
22
+ /** Effective Date DateTime of the CLDA */
23
+ effectiveDate: string;
24
+ /** signing mode of the CLDA */
25
+ signingMode?: "Physical" | "Digital";
26
+ /** status of the CLDA */
27
+ assistantStatus?: AssistantStatus;
28
+ /** id of envelope of the signingMode = 'Digital' */
29
+ envelopeId?: string;
30
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/incorporation-clda/interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { CreateIncorporationCLDAOptions, EditIncorporationCLDAOptions } from "./types";
2
+ import { DocumentStore, DocumentTypeStore, LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
3
+ import { ApiEndPoint } from "@voplus/api";
4
+ import { IIncorporationCLDA } from "./interfaces";
5
+ /** Corporate store supply backend functions. */
6
+ export declare class IncorporationCLDAStore extends DocumentTypeStore<IIncorporationCLDA, LoadDocumentOptions, LoadDocumentListOptions, CreateIncorporationCLDAOptions, EditIncorporationCLDAOptions, any> {
7
+ readonly endpoint: ApiEndPoint;
8
+ /** Name of the store */
9
+ readonly name: string;
10
+ constructor(endpoint: ApiEndPoint, documents: DocumentStore);
11
+ }
12
+ /** 响应钩子检索 ServiceStore */
13
+ export declare const useIncorporationCLDAStore: () => IncorporationCLDAStore;
@@ -0,0 +1,28 @@
1
+ import { DocumentTypeStore, useDocumentStore, } from "@voplus/morpho-document-core";
2
+ import { useService } from "@voplus/morpho-data";
3
+ const StoreName = "IncorporationCLDAStore";
4
+ /** Corporate store supply backend functions. */
5
+ export class IncorporationCLDAStore extends DocumentTypeStore {
6
+ constructor(endpoint, documents) {
7
+ super(endpoint, "/api/document-assistants/incorporation", documents);
8
+ Object.defineProperty(this, "endpoint", {
9
+ enumerable: true,
10
+ configurable: true,
11
+ writable: true,
12
+ value: endpoint
13
+ });
14
+ /** Name of the store */
15
+ Object.defineProperty(this, "name", {
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true,
19
+ value: StoreName
20
+ });
21
+ }
22
+ }
23
+ /** 响应钩子检索 ServiceStore */
24
+ export const useIncorporationCLDAStore = () => {
25
+ const documents = useDocumentStore();
26
+ return useService(StoreName, (context) => new IncorporationCLDAStore(context.api.currentEndPoint, documents));
27
+ };
28
+ //# sourceMappingURL=store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/data/incorporation-clda/store.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,MAAM,SAAS,GAAG,wBAAwB,CAAC;AAE3C,gDAAgD;AAChD,MAAM,OAAO,sBAAuB,SAAQ,iBAO3C;IAIA,YAAmC,QAAqB,EAAE,SAAwB;QACjF,KAAK,CAAC,QAAQ,EAAE,wCAAwC,EAAE,SAAS,CAAC,CAAC;;;;;mBADnC;;QAHnC,wBAAwB;QACxB;;;;mBAA+B,SAAS;WAAC;IAIzC,CAAC;CACD;AAED,0BAA0B;AAC1B,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC7C,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,UAAU,CAChB,SAAS,EACT,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,sBAAsB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAC/E,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { IIncorporationCLDA } from "./interfaces";
2
+ import { LoadOptions } from "@voplus/morpho-data";
3
+ /** Custom load contact options type */
4
+ export declare type LoadIncorporationCLDAOptions = {
5
+ /** Comma separated include options e.g. path */
6
+ includes?: string;
7
+ } & LoadOptions<IIncorporationCLDA>;
8
+ export declare type CreateIncorporationCLDAOptions = {
9
+ /** Name of the new Incorporation CLDA. */
10
+ Name: string;
11
+ /** The parent id of the new Incorporation CLDA to be created in. */
12
+ ParentId: string;
13
+ };
14
+ export declare type EditIncorporationCLDAOptions = {};
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/incorporation-clda/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
2
+ import { IIncorporationForm } from "./interfaces";
3
+ import { ListDataContextState } from "@voplus/morpho-ui/es/data";
4
+ /** React hook to retrieve a Incorporation Form
5
+ * @param {string} id - id of the Incorporation Form
6
+ * @param {LoadIncorporationFormOptions} options - options
7
+ */
8
+ export declare const useIncorporationForm: (id: string, options?: LoadDocumentOptions | undefined) => IIncorporationForm;
9
+ export declare const useIncorporationFormListEffect: (list: ListDataContextState<IIncorporationForm> | null, effect: (list: IIncorporationForm[], total?: number | undefined) => void, options?: LoadDocumentListOptions | undefined) => void;
@@ -0,0 +1,20 @@
1
+ import { useDocumentListLoaderEffect, useDocumentStore, } from "@voplus/morpho-document-core";
2
+ import { useIncorporationFormStore } from "./store";
3
+ import { useLoadCountedMapItem } from "@voplus/morpho-data";
4
+ /** React hook to retrieve a Incorporation Form
5
+ * @param {string} id - id of the Incorporation Form
6
+ * @param {LoadIncorporationFormOptions} options - options
7
+ */
8
+ export const useIncorporationForm = (id, options) => {
9
+ options = options ? options : {};
10
+ const store = useIncorporationFormStore();
11
+ const documents = useDocumentStore();
12
+ return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
13
+ };
14
+ export const useIncorporationFormListEffect = (list, effect, options) => {
15
+ const deps = options ? options : {};
16
+ const legacy = useIncorporationFormStore();
17
+ // Call useDocumentListEffect and ensure won't load twice for same loading options.
18
+ return useDocumentListLoaderEffect(list, effect, () => legacy.loadList(options), [deps]);
19
+ };
20
+ //# sourceMappingURL=hooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/incorporation-form/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACjF,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,yBAAyB,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,SAAS,CAAC,KAAK,EACf,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACe,CAAC;AACzB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC7C,IAAqD,EACrD,MAAwE,EACxE,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,MAAM,GAAG,yBAAyB,EAAE,CAAC;IAE3C,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1F,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./interfaces";
2
+ export * from "./store";
3
+ export * from "./hooks";
4
+ export * from "./types";
@@ -0,0 +1,5 @@
1
+ export * from "./interfaces";
2
+ export * from "./store";
3
+ export * from "./hooks";
4
+ export * from "./types";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/incorporation-form/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { IAddress } from "@voplus/morpho-org/es/data/interfaces/IAddress";
2
+ import { IDocument } from "@voplus/morpho-document-core";
3
+ import { IdentityEditDataOptions } from "../identity";
4
+ export interface IFormPeopleOptions {
5
+ name?: string;
6
+ email?: string;
7
+ phone?: string;
8
+ address?: IAddress;
9
+ identity?: IdentityEditDataOptions;
10
+ }
11
+ export interface IFormContent {
12
+ /** name of the entity user going to incorporate 实体用户的名称 */
13
+ legalEntityName: string;
14
+ /** business activities of the company 公司经营活动 */
15
+ businessActivities: string[];
16
+ /** capital currency 资本的货币 */
17
+ currency: string;
18
+ /** paid up capital 支付资金 */
19
+ capital: number;
20
+ /** total number of shares 股份总数 */
21
+ shares: number;
22
+ /** list of members */
23
+ officers: IFormPeopleOptions[];
24
+ /** list of members */
25
+ members: IFormPeopleOptions[];
26
+ /** registered address of the company 公司注册地址 */
27
+ address: IAddress | null;
28
+ }
29
+ export interface IIncorporationForm extends IDocument {
30
+ content: IFormContent;
31
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/incorporation-form/interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { CreateIncorporationFormOptions, EditIncorporationFormOptions } from "./types";
2
+ import { DocumentStore, DocumentTypeStore, LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
3
+ import { ApiEndPoint } from "@voplus/api";
4
+ import { IIncorporationForm } from "./interfaces";
5
+ /** Corporate store supply backend functions. */
6
+ export declare class IncorporationFormStore extends DocumentTypeStore<IIncorporationForm, LoadDocumentOptions, LoadDocumentListOptions, CreateIncorporationFormOptions, EditIncorporationFormOptions, any> {
7
+ readonly endpoint: ApiEndPoint;
8
+ /** Name of the store */
9
+ readonly name: string;
10
+ constructor(endpoint: ApiEndPoint, documents: DocumentStore);
11
+ }
12
+ /** 响应钩子检索 ServiceStore */
13
+ export declare const useIncorporationFormStore: () => IncorporationFormStore;
@@ -0,0 +1,28 @@
1
+ import { DocumentTypeStore, useDocumentStore, } from "@voplus/morpho-document-core";
2
+ import { useService } from "@voplus/morpho-data";
3
+ const StoreName = "IncorporationFormStore";
4
+ /** Corporate store supply backend functions. */
5
+ export class IncorporationFormStore extends DocumentTypeStore {
6
+ constructor(endpoint, documents) {
7
+ super(endpoint, "/api/document-assistants/incorporation/form", documents);
8
+ Object.defineProperty(this, "endpoint", {
9
+ enumerable: true,
10
+ configurable: true,
11
+ writable: true,
12
+ value: endpoint
13
+ });
14
+ /** Name of the store */
15
+ Object.defineProperty(this, "name", {
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true,
19
+ value: StoreName
20
+ });
21
+ }
22
+ }
23
+ /** 响应钩子检索 ServiceStore */
24
+ export const useIncorporationFormStore = () => {
25
+ const documents = useDocumentStore();
26
+ return useService(StoreName, (context) => new IncorporationFormStore(context.api.currentEndPoint, documents));
27
+ };
28
+ //# sourceMappingURL=store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/data/incorporation-form/store.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,MAAM,SAAS,GAAG,wBAAwB,CAAC;AAE3C,gDAAgD;AAChD,MAAM,OAAO,sBAAuB,SAAQ,iBAO3C;IAIA,YAAmC,QAAqB,EAAE,SAAwB;QACjF,KAAK,CAAC,QAAQ,EAAE,6CAA6C,EAAE,SAAS,CAAC,CAAC;;;;;mBADxC;;QAHnC,wBAAwB;QACxB;;;;mBAA+B,SAAS;WAAC;IAIzC,CAAC;CACD;AAED,0BAA0B;AAC1B,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC7C,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,UAAU,CAChB,SAAS,EACT,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,sBAAsB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAC/E,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { IFormPeopleOptions, IIncorporationForm } from "./interfaces";
2
+ import { IAddress } from "@voplus/morpho-org/es/data/interfaces/IAddress";
3
+ import { LoadOptions } from "@voplus/morpho-data";
4
+ /** Custom load contact options type */
5
+ export declare type LoadIncorporationFormOptions = {
6
+ /** Comma separated include options e.g. path */
7
+ includes?: string;
8
+ } & LoadOptions<IIncorporationForm>;
9
+ export declare type CreateIncorporationFormOptions = {
10
+ /** Name of the new Incorporation Form. */
11
+ Name: string;
12
+ /** The parent id of the new Incorporation Form to be created in. */
13
+ ParentId: string;
14
+ };
15
+ export declare type EditIncorporationFormOptions = {
16
+ /** name of the entity user going to incorporate 实体用户的名称 */
17
+ legalEntityName?: string;
18
+ /** business activities of the company 公司经营活动 */
19
+ businessActivities?: string[];
20
+ /** capital currency 资本的货币 */
21
+ currency?: string;
22
+ /** paid up capital 支付资金 */
23
+ capital?: number;
24
+ /** total number of shares 股份总数 */
25
+ shares?: number;
26
+ /** list of members */
27
+ officers?: IFormPeopleOptions[];
28
+ /** list of members */
29
+ members?: IFormPeopleOptions[];
30
+ /** registered address of the company 公司注册地址 */
31
+ address?: IAddress | null;
32
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/incorporation-form/types.ts"],"names":[],"mappings":""}
@@ -1,8 +1,8 @@
1
1
  import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
2
2
  import { ListDataContextState } from "@voplus/morpho-ui/es/data";
3
3
  import { LoadCompanyMemberOptions } from ".";
4
- /** React hook to retrieve a quotation
5
- * @param {string} id - id of the quotation
4
+ /** React hook to retrieve a member
5
+ * @param {string} id - id of the member
6
6
  * @param {LoadDocumentOptions} options - options
7
7
  */
8
8
  export declare const useMember: (id: string, options?: LoadCompanyMemberOptions | undefined) => import("./interfaces").ICompanyMember;
@@ -1,8 +1,8 @@
1
1
  import { useDocumentListLoaderEffect, } from "@voplus/morpho-document-core";
2
2
  import { useLoadCountedMapItem } from "@voplus/morpho-data";
3
3
  import { useMemberStore } from "./MemberStore";
4
- /** React hook to retrieve a quotation
5
- * @param {string} id - id of the quotation
4
+ /** React hook to retrieve a member
5
+ * @param {string} id - id of the member
6
6
  * @param {LoadDocumentOptions} options - options
7
7
  */
8
8
  export const useMember = (id, options) => {
@@ -1,5 +1,17 @@
1
1
  import { ILoadable } from "@voplus/morpho-data";
2
2
  import { IShareCertificate } from "../shareCertificate/interfaces";
3
+ import { IUnit } from "@voplus/morpho-org";
4
+ /**
5
+ * (董事秘书股东)成员信息
6
+ */
7
+ export declare type MemberRole = "Shareholder" | "Director" | "Secretary" | "Nominee Director" | "UBO" | "PEP";
8
+ export interface IMember extends Partial<IUnit> {
9
+ name: string;
10
+ roles: MemberRole[];
11
+ shares?: number;
12
+ capital?: number;
13
+ currency?: string;
14
+ }
3
15
  export interface ICompanyMember extends ILoadable {
4
16
  /** 企业member id */
5
17
  id: string;
@@ -2,8 +2,8 @@ import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
2
2
  import { IOfficer } from "./interfaces";
3
3
  import { ListDataContextState } from "@voplus/morpho-ui/es/data";
4
4
  import { LoadOfficerOptions } from ".";
5
- /** React hook to retrieve a quotation
6
- * @param {string} id - id of the quotation
5
+ /** React hook to retrieve a officer
6
+ * @param {string} id - id of the officer
7
7
  * @param {LoadDocumentOptions} options - options
8
8
  */
9
9
  export declare const useOfficer: (id: string, options?: LoadOfficerOptions | undefined) => IOfficer;
@@ -1,8 +1,8 @@
1
1
  import { useDocumentListLoaderEffect, } from "@voplus/morpho-document-core";
2
2
  import { useLoadCountedMapItem } from "@voplus/morpho-data";
3
3
  import { useOfficerStore } from "./OfficerStore";
4
- /** React hook to retrieve a quotation
5
- * @param {string} id - id of the quotation
4
+ /** React hook to retrieve a officer
5
+ * @param {string} id - id of the officer
6
6
  * @param {LoadDocumentOptions} options - options
7
7
  */
8
8
  export const useOfficer = (id, options) => {
@@ -0,0 +1,12 @@
1
+ import { CreateOrderOptions, EditOrderOptions } from "./types";
2
+ import { DocumentStore, DocumentTypeStore, LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
3
+ import { ApiEndPoint } from "@voplus/api";
4
+ import { IOrder } from "./interfaces";
5
+ declare class OrderStore extends DocumentTypeStore<IOrder, LoadDocumentOptions, LoadDocumentListOptions, CreateOrderOptions, EditOrderOptions, any> {
6
+ readonly endpoint: ApiEndPoint;
7
+ readonly name: string;
8
+ constructor(endpoint: ApiEndPoint, documents: DocumentStore);
9
+ }
10
+ export default OrderStore;
11
+ /** React hook to retrieve EntityStore */
12
+ export declare const useOrderStore: () => OrderStore;
@@ -0,0 +1,27 @@
1
+ import { useService } from "@voplus/morpho-data";
2
+ import { DocumentTypeStore, useDocumentStore, } from "@voplus/morpho-document-core";
3
+ const StoreName = "OrderStore";
4
+ class OrderStore extends DocumentTypeStore {
5
+ constructor(endpoint, documents) {
6
+ super(endpoint, "/api/orders", documents);
7
+ Object.defineProperty(this, "endpoint", {
8
+ enumerable: true,
9
+ configurable: true,
10
+ writable: true,
11
+ value: endpoint
12
+ });
13
+ Object.defineProperty(this, "name", {
14
+ enumerable: true,
15
+ configurable: true,
16
+ writable: true,
17
+ value: StoreName
18
+ });
19
+ }
20
+ }
21
+ export default OrderStore;
22
+ /** React hook to retrieve EntityStore */
23
+ export const useOrderStore = () => {
24
+ const documents = useDocumentStore();
25
+ return useService(StoreName, (context) => new OrderStore(context.api.currentEndPoint, documents));
26
+ };
27
+ //# sourceMappingURL=OrderStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrderStore.js","sourceRoot":"","sources":["../../../src/data/order/OrderStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAEN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAKtC,MAAM,SAAS,GAAG,YAAY,CAAC;AAE/B,MAAM,UAAW,SAAQ,iBAOxB;IAGA,YAAmC,QAAqB,EAAE,SAAwB;QACjF,KAAK,CAAC,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC;;;;;mBADR;;QAFnC;;;;mBAA+B,SAAS;WAAC;IAIzC,CAAC;CACD;AAED,eAAe,UAAU,CAAC;AAE1B,yCAAyC;AACzC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE;IACjC,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IACrC,OAAO,UAAU,CAChB,SAAS,EACT,CAAC,OAAmB,EAAE,EAAE,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAC/E,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
2
+ import { IOrder } from "./interfaces";
3
+ import { ListDataContextState } from "@voplus/morpho-ui/es/data";
4
+ /** React hook to retrieve a entity
5
+ * @param {string} id - id of the entity
6
+ * @param {LoadDocumentOptions} options - options
7
+ */
8
+ export declare const useOrder: (id: string, options?: LoadDocumentOptions | undefined) => IOrder;
9
+ /** React hook to retrieve a list of orders.
10
+ * @param effect - Effect callback to be ran after successful retrieved the list.
11
+ * @param options - Optional list loading options.
12
+ */
13
+ export declare const useOrderListEffect: (list: ListDataContextState<IOrder> | null, effect: (list: IOrder[], total?: number | undefined) => void, options?: LoadDocumentListOptions | undefined) => void;
@@ -0,0 +1,24 @@
1
+ import { useDocumentListLoaderEffect, useDocumentStore, } from "@voplus/morpho-document-core";
2
+ import { useLoadCountedMapItem } from "@voplus/morpho-data";
3
+ import { useOrderStore } from "./OrderStore";
4
+ /** React hook to retrieve a entity
5
+ * @param {string} id - id of the entity
6
+ * @param {LoadDocumentOptions} options - options
7
+ */
8
+ export const useOrder = (id, options) => {
9
+ options = options ? options : {};
10
+ const store = useOrderStore();
11
+ const documents = useDocumentStore();
12
+ return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
13
+ };
14
+ /** React hook to retrieve a list of orders.
15
+ * @param effect - Effect callback to be ran after successful retrieved the list.
16
+ * @param options - Optional list loading options.
17
+ */
18
+ export const useOrderListEffect = (list, effect, options) => {
19
+ const deps = options ? options : {};
20
+ const store = useOrderStore();
21
+ // Call useDocumentListEffect and ensure won't load twice for same loading options.
22
+ return useDocumentListLoaderEffect(list, effect, () => store.loadList(options), [deps]);
23
+ };
24
+ //# sourceMappingURL=hooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/order/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACrE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,aAAa,EAAE,CAAC;IAC9B,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,SAAS,CAAC,KAAK,EACf,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACG,CAAC;AACb,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CACjC,IAAyC,EACzC,MAA4D,EAC5D,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,aAAa,EAAE,CAAC;IAE9B,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AACzF,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./interfaces";
2
+ export * from "./OrderStore";
3
+ export * from "./hooks";
4
+ export * from "./types";
@@ -0,0 +1,5 @@
1
+ export * from "./interfaces";
2
+ export * from "./OrderStore";
3
+ export * from "./hooks";
4
+ export * from "./types";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/order/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { IDocument } from "@voplus/morpho-document-core";
2
+ export interface IOrderLine {
3
+ /** the name of the order item */
4
+ description: string;
5
+ /** the total price of the item */
6
+ price: number;
7
+ /** the quantity of the item */
8
+ qty: number;
9
+ /** the discount of the quotation line */
10
+ discount: number;
11
+ /** the sub items of the order item e.g. an order item "Organge/Apple Package"
12
+ * may have following items ["orange", "Apple"]. */
13
+ items?: string[];
14
+ /** the additional note related to the item */
15
+ notes?: string;
16
+ }
17
+ export interface IOrder extends IDocument {
18
+ currency: string;
19
+ /** From , 创建order的人,一般为客户 */
20
+ from: {
21
+ id: string;
22
+ name: string;
23
+ };
24
+ lines: IOrderLine[];
25
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/order/interfaces.ts"],"names":[],"mappings":""}