@voplus/morpho-csp 1.0.0-dev003 → 1.0.0-dev006

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 (752) hide show
  1. package/es/Modules.js +9 -1
  2. package/es/Modules.js.map +1 -1
  3. package/es/components/CompanyMemberSelect/index.d.ts +17 -0
  4. package/es/components/CompanyMemberSelect/index.js +35 -0
  5. package/es/components/CompanyMemberSelect/index.js.map +1 -0
  6. package/es/components/CurrencyView/index.d.ts +16 -8
  7. package/es/components/CurrencyView/index.js +6 -3
  8. package/es/components/CurrencyView/index.js.map +1 -1
  9. package/es/components/CurrencyView/state.js +1 -1
  10. package/es/components/Header/index.d.ts +7 -0
  11. package/es/components/Header/index.js +10 -0
  12. package/es/components/Header/index.js.map +1 -0
  13. package/es/components/Header/index.less +16 -0
  14. package/es/components/LegalContactSelect/index.d.ts +6 -0
  15. package/es/components/LegalContactSelect/index.js +25 -0
  16. package/es/components/LegalContactSelect/index.js.map +1 -0
  17. package/es/components/LegalContactSelect/state.d.ts +9 -0
  18. package/es/components/LegalContactSelect/state.js +22 -0
  19. package/es/components/LegalContactSelect/state.js.map +1 -0
  20. package/es/components/NewTypeDropdown/index.d.ts +7 -0
  21. package/es/components/NewTypeDropdown/index.js +18 -0
  22. package/es/components/NewTypeDropdown/index.js.map +1 -0
  23. package/es/components/ShareTransactionPropertiesView/Content.d.ts +6 -0
  24. package/es/components/ShareTransactionPropertiesView/Content.js +49 -0
  25. package/es/components/ShareTransactionPropertiesView/Content.js.map +1 -0
  26. package/es/components/ShareTransactionPropertiesView/index.d.ts +12 -0
  27. package/es/components/ShareTransactionPropertiesView/index.js +15 -0
  28. package/es/components/ShareTransactionPropertiesView/index.js.map +1 -0
  29. package/es/components/ShareTransactionPropertiesView/index.less +89 -0
  30. package/es/components/TableDragRow/index.js +6 -6
  31. package/es/components/TableDragRow/index.js.map +1 -1
  32. package/es/components/VerificationInformation/VerificationStore.d.ts +33 -0
  33. package/es/components/VerificationInformation/VerificationStore.js +40 -0
  34. package/es/components/VerificationInformation/VerificationStore.js.map +1 -0
  35. package/es/components/VerificationInformation/index.d.ts +5 -0
  36. package/es/components/VerificationInformation/index.js +71 -0
  37. package/es/components/VerificationInformation/index.js.map +1 -0
  38. package/es/components/VerificationInformation/state.d.ts +11 -0
  39. package/es/components/VerificationInformation/state.js +25 -0
  40. package/es/components/VerificationInformation/state.js.map +1 -0
  41. package/es/data/CLDA/hooks.d.ts +10 -0
  42. package/es/data/CLDA/hooks.js +26 -0
  43. package/es/data/CLDA/hooks.js.map +1 -0
  44. package/es/data/CLDA/index.d.ts +4 -0
  45. package/es/data/CLDA/index.js +5 -0
  46. package/es/data/CLDA/index.js.map +1 -0
  47. package/es/data/CLDA/interfaces.d.ts +32 -0
  48. package/es/data/CLDA/interfaces.js +2 -0
  49. package/es/data/CLDA/interfaces.js.map +1 -0
  50. package/es/data/CLDA/store.d.ts +20 -0
  51. package/es/data/CLDA/store.js +36 -0
  52. package/es/data/CLDA/store.js.map +1 -0
  53. package/es/data/CLDA/types.d.ts +26 -0
  54. package/es/data/CLDA/types.js +2 -0
  55. package/es/data/CLDA/types.js.map +1 -0
  56. package/es/data/account/AccountStore.d.ts +17 -0
  57. package/es/data/account/AccountStore.js +43 -0
  58. package/es/data/account/AccountStore.js.map +1 -0
  59. package/es/data/account/hooks.d.ts +9 -0
  60. package/es/data/account/hooks.js +19 -0
  61. package/es/data/account/hooks.js.map +1 -0
  62. package/es/data/account/interfaces.d.ts +15 -0
  63. package/es/data/account/interfaces.js +2 -0
  64. package/es/data/account/interfaces.js.map +1 -0
  65. package/es/data/corporate/CorporateStore.d.ts +28 -0
  66. package/es/data/corporate/CorporateStore.js +61 -0
  67. package/es/data/corporate/CorporateStore.js.map +1 -0
  68. package/es/data/corporate/hooks.d.ts +10 -0
  69. package/es/data/corporate/hooks.js +19 -0
  70. package/es/data/corporate/hooks.js.map +1 -0
  71. package/es/data/corporate/index.d.ts +4 -0
  72. package/es/data/corporate/index.js +5 -0
  73. package/es/data/corporate/index.js.map +1 -0
  74. package/es/data/corporate/interfaces.d.ts +31 -0
  75. package/es/data/corporate/interfaces.js +2 -0
  76. package/es/data/corporate/interfaces.js.map +1 -0
  77. package/es/data/corporate/types.d.ts +27 -0
  78. package/es/data/corporate/types.js +2 -0
  79. package/es/data/corporate/types.js.map +1 -0
  80. package/es/data/filingRecord/hooks.d.ts +9 -0
  81. package/es/data/filingRecord/hooks.js +20 -0
  82. package/es/data/filingRecord/hooks.js.map +1 -0
  83. package/es/data/filingRecord/interfaces.d.ts +9 -0
  84. package/es/data/filingRecord/interfaces.js +2 -0
  85. package/es/data/filingRecord/interfaces.js.map +1 -0
  86. package/es/data/filingRecord/store.d.ts +13 -0
  87. package/es/data/filingRecord/store.js +23 -0
  88. package/es/data/filingRecord/store.js.map +1 -0
  89. package/es/data/filingRecord/types.d.ts +18 -0
  90. package/es/data/filingRecord/types.js +2 -0
  91. package/es/data/filingRecord/types.js.map +1 -0
  92. package/es/data/identity/IdentityStore.d.ts +29 -0
  93. package/es/data/identity/IdentityStore.js +62 -0
  94. package/es/data/identity/IdentityStore.js.map +1 -0
  95. package/es/data/identity/hooks.d.ts +6 -0
  96. package/es/data/identity/hooks.js +15 -0
  97. package/es/data/identity/hooks.js.map +1 -0
  98. package/es/data/identity/index.d.ts +4 -0
  99. package/es/data/identity/index.js +5 -0
  100. package/es/data/identity/index.js.map +1 -0
  101. package/es/data/identity/interfaces.d.ts +22 -0
  102. package/es/data/identity/interfaces.js +2 -0
  103. package/es/data/identity/interfaces.js.map +1 -0
  104. package/es/data/identity/types.d.ts +29 -0
  105. package/es/data/identity/types.js +2 -0
  106. package/es/data/identity/types.js.map +1 -0
  107. package/es/data/member/MemberStore.d.ts +27 -0
  108. package/es/data/member/MemberStore.js +76 -0
  109. package/es/data/member/MemberStore.js.map +1 -0
  110. package/es/data/member/hooks.d.ts +9 -0
  111. package/es/data/member/hooks.js +19 -0
  112. package/es/data/member/hooks.js.map +1 -0
  113. package/es/data/member/index.d.ts +4 -0
  114. package/es/data/member/index.js +5 -0
  115. package/es/data/member/index.js.map +1 -0
  116. package/es/data/member/interfaces.d.ts +18 -0
  117. package/es/data/member/interfaces.js +2 -0
  118. package/es/data/member/interfaces.js.map +1 -0
  119. package/es/data/member/types.d.ts +25 -0
  120. package/es/data/member/types.js +2 -0
  121. package/es/data/member/types.js.map +1 -0
  122. package/es/data/officer/OfficerStore.d.ts +27 -0
  123. package/es/data/officer/OfficerStore.js +78 -0
  124. package/es/data/officer/OfficerStore.js.map +1 -0
  125. package/es/data/officer/hooks.d.ts +10 -0
  126. package/es/data/officer/hooks.js +19 -0
  127. package/es/data/officer/hooks.js.map +1 -0
  128. package/es/data/officer/index.d.ts +4 -0
  129. package/es/data/officer/index.js +5 -0
  130. package/es/data/officer/index.js.map +1 -0
  131. package/es/data/officer/interfaces.d.ts +19 -0
  132. package/es/data/officer/interfaces.js +2 -0
  133. package/es/data/officer/interfaces.js.map +1 -0
  134. package/es/data/officer/types.d.ts +35 -0
  135. package/es/data/officer/types.js +2 -0
  136. package/es/data/officer/types.js.map +1 -0
  137. package/es/data/service/hooks.d.ts +10 -0
  138. package/es/data/service/hooks.js +19 -0
  139. package/es/data/service/hooks.js.map +1 -0
  140. package/es/data/service/index.d.ts +4 -0
  141. package/es/data/service/index.js +5 -0
  142. package/es/data/service/index.js.map +1 -0
  143. package/es/data/service/interfaces.d.ts +13 -0
  144. package/es/data/service/interfaces.js +2 -0
  145. package/es/data/service/interfaces.js.map +1 -0
  146. package/es/data/service/store.d.ts +20 -0
  147. package/es/data/service/store.js +52 -0
  148. package/es/data/service/store.js.map +1 -0
  149. package/es/data/service/types.d.ts +25 -0
  150. package/es/data/service/types.js +2 -0
  151. package/es/data/service/types.js.map +1 -0
  152. package/es/data/serviceType/hooks.d.ts +10 -0
  153. package/es/data/serviceType/hooks.js +19 -0
  154. package/es/data/serviceType/hooks.js.map +1 -0
  155. package/es/data/serviceType/index.d.ts +3 -0
  156. package/es/data/serviceType/index.js +4 -0
  157. package/es/data/serviceType/index.js.map +1 -0
  158. package/es/data/serviceType/interfaces.d.ts +21 -0
  159. package/es/data/serviceType/interfaces.js +2 -0
  160. package/es/data/serviceType/interfaces.js.map +1 -0
  161. package/es/data/serviceType/store.d.ts +27 -0
  162. package/es/data/serviceType/store.js +68 -0
  163. package/es/data/serviceType/store.js.map +1 -0
  164. package/es/data/serviceType/types.d.ts +41 -0
  165. package/es/data/serviceType/types.js +2 -0
  166. package/es/data/serviceType/types.js.map +1 -0
  167. package/es/data/shareCertificate/hooks.d.ts +6 -0
  168. package/es/data/shareCertificate/hooks.js +12 -0
  169. package/es/data/shareCertificate/hooks.js.map +1 -0
  170. package/es/data/shareCertificate/index.d.ts +3 -0
  171. package/es/data/shareCertificate/index.js +4 -0
  172. package/es/data/shareCertificate/index.js.map +1 -0
  173. package/es/data/shareCertificate/interfaces.d.ts +22 -0
  174. package/es/data/shareCertificate/interfaces.js +2 -0
  175. package/es/data/shareCertificate/interfaces.js.map +1 -0
  176. package/es/data/shareCertificate/store.d.ts +15 -0
  177. package/es/data/shareCertificate/store.js +32 -0
  178. package/es/data/shareCertificate/store.js.map +1 -0
  179. package/es/data/shareTransaction/ShareTransactionStore.js +2 -2
  180. package/es/data/shareTransaction/ShareTransactionStore.js.map +1 -1
  181. package/es/data/shareTransaction/hooks.js +1 -1
  182. package/es/data/shareTransaction/hooks.js.map +1 -1
  183. package/es/data/shareTransaction/interfaces/IShareTransaction.js +1 -0
  184. package/es/data/shareTransaction/interfaces/IShareTransactionLine.js +1 -0
  185. package/es/data/shareTransaction/types/ShareLineCreateOptions.js +1 -0
  186. package/es/data/shareTransaction/types/ShareTransactionCreateOptions.js +1 -0
  187. package/es/data/shareTransaction/types/ShareTransactionEditOptions.d.ts +2 -2
  188. package/es/data/shareTransaction/types/ShareTransactionEditOptions.js +1 -0
  189. package/es/data/shareTransaction/types/ShareTransactionType.js +1 -0
  190. package/es/modules/account/AccountDefaultView/index.d.ts +4 -0
  191. package/es/modules/account/AccountDefaultView/index.js +29 -0
  192. package/es/modules/account/AccountDefaultView/index.js.map +1 -0
  193. package/es/modules/account/AccountDefaultView/index.less +26 -0
  194. package/es/modules/account/AccountOrganizations/index.d.ts +6 -0
  195. package/es/modules/account/AccountOrganizations/index.js +63 -0
  196. package/es/modules/account/AccountOrganizations/index.js.map +1 -0
  197. package/es/modules/account/AccountOrganizations/index.less +26 -0
  198. package/es/modules/account/AccountPropertiesView/index.d.ts +6 -0
  199. package/es/modules/account/AccountPropertiesView/index.js +20 -0
  200. package/es/modules/account/AccountPropertiesView/index.js.map +1 -0
  201. package/es/modules/account/AccountPropertiesView/index.less +10 -0
  202. package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.d.ts +17 -0
  203. package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.js +51 -0
  204. package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.js.map +1 -0
  205. package/es/modules/corporate/CLDA/CLDAClientView/components/CompletedStep/index.d.ts +3 -0
  206. package/es/modules/corporate/CLDA/CLDAClientView/components/CompletedStep/index.js +9 -0
  207. package/es/modules/corporate/CLDA/CLDAClientView/components/CompletedStep/index.js.map +1 -0
  208. package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.d.ts +3 -0
  209. package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.js +49 -0
  210. package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.js.map +1 -0
  211. package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalSigningStep/index.d.ts +3 -0
  212. package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalSigningStep/index.js +16 -0
  213. package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalSigningStep/index.js.map +1 -0
  214. package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.d.ts +3 -0
  215. package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.js +47 -0
  216. package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.js.map +1 -0
  217. package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.d.ts +3 -0
  218. package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.js +30 -0
  219. package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.js.map +1 -0
  220. package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.d.ts +3 -0
  221. package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.js +38 -0
  222. package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.js.map +1 -0
  223. package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.d.ts +3 -0
  224. package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.js +27 -0
  225. package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.js.map +1 -0
  226. package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.d.ts +3 -0
  227. package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.js +21 -0
  228. package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.js.map +1 -0
  229. package/es/modules/corporate/CLDA/CLDAClientView/index.d.ts +4 -0
  230. package/es/modules/corporate/CLDA/CLDAClientView/index.js +65 -0
  231. package/es/modules/corporate/CLDA/CLDAClientView/index.js.map +1 -0
  232. package/es/modules/corporate/CLDA/CLDAClientView/index.less +86 -0
  233. package/es/modules/corporate/CLDA/CLDADefaultView/index.d.ts +4 -0
  234. package/es/modules/corporate/CLDA/CLDADefaultView/index.js +61 -0
  235. package/es/modules/corporate/CLDA/CLDADefaultView/index.js.map +1 -0
  236. package/es/modules/corporate/CLDA/CLDADefaultView/index.less +14 -0
  237. package/es/modules/corporate/CLDA/CLDAListView/index.d.ts +19 -0
  238. package/es/modules/corporate/CLDA/CLDAListView/index.js +112 -0
  239. package/es/modules/corporate/CLDA/CLDAListView/index.js.map +1 -0
  240. package/es/modules/corporate/CLDA/CLDAListView/index.less +16 -0
  241. package/es/modules/corporate/CLDA/CLDAListView/state.d.ts +24 -0
  242. package/es/modules/corporate/CLDA/CLDAListView/state.js +73 -0
  243. package/es/modules/corporate/CLDA/CLDAListView/state.js.map +1 -0
  244. package/es/modules/corporate/CLDA/CLDAPropertiesView/index.d.ts +6 -0
  245. package/es/modules/corporate/CLDA/CLDAPropertiesView/index.js +20 -0
  246. package/es/modules/corporate/CLDA/CLDAPropertiesView/index.js.map +1 -0
  247. package/es/modules/corporate/CLDA/CLDAPropertiesView/index.less +10 -0
  248. package/es/modules/corporate/CLDA/ChangeAddress2021/index.d.ts +3 -0
  249. package/es/modules/corporate/CLDA/ChangeAddress2021/index.js +61 -0
  250. package/es/modules/corporate/CLDA/ChangeAddress2021/index.js.map +1 -0
  251. package/es/modules/corporate/CLDA/ChangeAddress2021/index.less +45 -0
  252. package/es/modules/corporate/CLDA/ChangeAddress2021/state.d.ts +46 -0
  253. package/es/modules/corporate/CLDA/ChangeAddress2021/state.js +204 -0
  254. package/es/modules/corporate/CLDA/ChangeAddress2021/state.js.map +1 -0
  255. package/es/modules/corporate/CLDA/components/CLDADetails/index.d.ts +6 -0
  256. package/es/modules/corporate/CLDA/components/CLDADetails/index.js +54 -0
  257. package/es/modules/corporate/CLDA/components/CLDADetails/index.js.map +1 -0
  258. package/es/modules/corporate/CLDA/components/CLDADetails/index.less +5 -0
  259. package/es/modules/corporate/CLDA/components/CLDAItem/index.d.ts +6 -0
  260. package/es/modules/corporate/CLDA/components/CLDAItem/index.js +26 -0
  261. package/es/modules/corporate/CLDA/components/CLDAItem/index.js.map +1 -0
  262. package/es/modules/corporate/CLDA/components/CLDAItem/index.less +25 -0
  263. package/es/modules/corporate/CLDA/components/NewCLDA/index.d.ts +8 -0
  264. package/es/modules/corporate/CLDA/components/NewCLDA/index.js +46 -0
  265. package/es/modules/corporate/CLDA/components/NewCLDA/index.js.map +1 -0
  266. package/es/modules/corporate/CLDA/components/index.d.ts +8 -0
  267. package/es/modules/corporate/CLDA/components/index.js +9 -0
  268. package/es/modules/corporate/CLDA/components/index.js.map +1 -0
  269. package/es/modules/corporate/CLDA/controls/DocumentStatusLabel/index.d.ts +13 -0
  270. package/es/modules/corporate/CLDA/controls/DocumentStatusLabel/index.js +53 -0
  271. package/es/modules/corporate/CLDA/controls/DocumentStatusLabel/index.js.map +1 -0
  272. package/es/modules/corporate/CLDA/controls/DocumentStatusLabel/index.less +67 -0
  273. package/es/modules/corporate/CLDA/controls/ModeIcon/index.d.ts +17 -0
  274. package/es/modules/corporate/CLDA/controls/ModeIcon/index.js +44 -0
  275. package/es/modules/corporate/CLDA/controls/ModeIcon/index.js.map +1 -0
  276. package/es/modules/corporate/CLDA/controls/ModeIcon/index.less +20 -0
  277. package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/index.d.ts +3 -0
  278. package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/index.js +21 -0
  279. package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/index.js.map +1 -0
  280. package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/state.d.ts +18 -0
  281. package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/state.js +52 -0
  282. package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/state.js.map +1 -0
  283. package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/index.d.ts +3 -0
  284. package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/index.js +21 -0
  285. package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/index.js.map +1 -0
  286. package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/state.d.ts +16 -0
  287. package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/state.js +45 -0
  288. package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/state.js.map +1 -0
  289. package/es/modules/corporate/CLDA/controls/filters/index.d.ts +2 -0
  290. package/es/modules/corporate/CLDA/controls/filters/index.js +3 -0
  291. package/es/modules/corporate/CLDA/controls/filters/index.js.map +1 -0
  292. package/es/modules/corporate/CorporateDefaultView/index.d.ts +3 -0
  293. package/es/modules/corporate/CorporateDefaultView/index.js +21 -0
  294. package/es/modules/corporate/CorporateDefaultView/index.js.map +1 -0
  295. package/es/modules/corporate/CorporateSelect/index.d.ts +18 -0
  296. package/es/modules/corporate/CorporateSelect/index.js +29 -0
  297. package/es/modules/corporate/CorporateSelect/index.js.map +1 -0
  298. package/es/modules/corporate/DocumentIconList/index.d.ts +7 -0
  299. package/es/modules/corporate/DocumentIconList/index.js +32 -0
  300. package/es/modules/corporate/DocumentIconList/index.js.map +1 -0
  301. package/es/modules/corporate/DocumentIconList/index.less +14 -0
  302. package/es/modules/corporate/FilingRecord/AnnualFilings/index.d.ts +6 -0
  303. package/es/modules/corporate/FilingRecord/AnnualFilings/index.js +52 -0
  304. package/es/modules/corporate/FilingRecord/AnnualFilings/index.js.map +1 -0
  305. package/es/modules/corporate/FilingRecord/AnnualFilings/index.less +8 -0
  306. package/es/modules/corporate/FilingRecord/FilingRecordItem/index.d.ts +6 -0
  307. package/es/modules/corporate/FilingRecord/FilingRecordItem/index.js +36 -0
  308. package/es/modules/corporate/FilingRecord/FilingRecordItem/index.js.map +1 -0
  309. package/es/modules/corporate/FilingRecord/FilingRecordItem/index.less +12 -0
  310. package/es/modules/corporate/FilingRecord/FilingRecordQuickView/index.d.ts +8 -0
  311. package/es/modules/corporate/FilingRecord/FilingRecordQuickView/index.js +49 -0
  312. package/es/modules/corporate/FilingRecord/FilingRecordQuickView/index.js.map +1 -0
  313. package/es/modules/corporate/FilingRecord/FilingRecordQuickView/index.less +56 -0
  314. package/es/modules/corporate/FilingRecord/FilingYearTimeLine/index.d.ts +7 -0
  315. package/es/modules/corporate/FilingRecord/FilingYearTimeLine/index.js +47 -0
  316. package/es/modules/corporate/FilingRecord/FilingYearTimeLine/index.js.map +1 -0
  317. package/es/modules/corporate/FilingRecord/FilingYearTimeLine/index.less +71 -0
  318. package/es/modules/corporate/FilingRecord/NewFilingYearDialog/index.d.ts +6 -0
  319. package/es/modules/corporate/FilingRecord/NewFilingYearDialog/index.js +29 -0
  320. package/es/modules/corporate/FilingRecord/NewFilingYearDialog/index.js.map +1 -0
  321. package/es/modules/corporate/LegalGeneration/components/AGM/Fields.d.ts +3 -0
  322. package/es/modules/corporate/LegalGeneration/components/AGM/Fields.js +29 -0
  323. package/es/modules/corporate/LegalGeneration/components/AGM/Fields.js.map +1 -0
  324. package/es/modules/corporate/LegalGeneration/components/AGM/Form.d.ts +3 -0
  325. package/es/modules/corporate/LegalGeneration/components/AGM/Form.js +17 -0
  326. package/es/modules/corporate/LegalGeneration/components/AGM/Form.js.map +1 -0
  327. package/es/modules/corporate/LegalGeneration/components/AGM/interface.d.ts +19 -0
  328. package/es/modules/corporate/LegalGeneration/components/AGM/interface.js +2 -0
  329. package/es/modules/corporate/LegalGeneration/components/AGM/interface.js.map +1 -0
  330. package/es/modules/corporate/LegalGeneration/components/AGMNomineeStatement.d.ts +3 -0
  331. package/es/modules/corporate/LegalGeneration/components/AGMNomineeStatement.js +10 -0
  332. package/es/modules/corporate/LegalGeneration/components/AGMNomineeStatement.js.map +1 -0
  333. package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Fields.d.ts +3 -0
  334. package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Fields.js +21 -0
  335. package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Fields.js.map +1 -0
  336. package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Form.d.ts +3 -0
  337. package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Form.js +17 -0
  338. package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Form.js.map +1 -0
  339. package/es/modules/corporate/LegalGeneration/components/AgentAppointment/interface.d.ts +11 -0
  340. package/es/modules/corporate/LegalGeneration/components/AgentAppointment/interface.js +2 -0
  341. package/es/modules/corporate/LegalGeneration/components/AgentAppointment/interface.js.map +1 -0
  342. package/es/modules/corporate/LegalGeneration/components/AppointOfficer.d.ts +3 -0
  343. package/es/modules/corporate/LegalGeneration/components/AppointOfficer.js +10 -0
  344. package/es/modules/corporate/LegalGeneration/components/AppointOfficer.js.map +1 -0
  345. package/es/modules/corporate/LegalGeneration/components/BankOpening/Fields.d.ts +3 -0
  346. package/es/modules/corporate/LegalGeneration/components/BankOpening/Fields.js +51 -0
  347. package/es/modules/corporate/LegalGeneration/components/BankOpening/Fields.js.map +1 -0
  348. package/es/modules/corporate/LegalGeneration/components/BankOpening/Form.d.ts +3 -0
  349. package/es/modules/corporate/LegalGeneration/components/BankOpening/Form.js +20 -0
  350. package/es/modules/corporate/LegalGeneration/components/BankOpening/Form.js.map +1 -0
  351. package/es/modules/corporate/LegalGeneration/components/BankOpening/interface.d.ts +27 -0
  352. package/es/modules/corporate/LegalGeneration/components/BankOpening/interface.js +2 -0
  353. package/es/modules/corporate/LegalGeneration/components/BankOpening/interface.js.map +1 -0
  354. package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Fields.d.ts +3 -0
  355. package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Fields.js +16 -0
  356. package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Fields.js.map +1 -0
  357. package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Form.d.ts +3 -0
  358. package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Form.js +17 -0
  359. package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Form.js.map +1 -0
  360. package/es/modules/corporate/LegalGeneration/components/ChangeAddress/interface.d.ts +11 -0
  361. package/es/modules/corporate/LegalGeneration/components/ChangeAddress/interface.js +2 -0
  362. package/es/modules/corporate/LegalGeneration/components/ChangeAddress/interface.js.map +1 -0
  363. package/es/modules/corporate/LegalGeneration/components/ChangeCompanyName.d.ts +3 -0
  364. package/es/modules/corporate/LegalGeneration/components/ChangeCompanyName.js +10 -0
  365. package/es/modules/corporate/LegalGeneration/components/ChangeCompanyName.js.map +1 -0
  366. package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Fields.d.ts +3 -0
  367. package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Fields.js +15 -0
  368. package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Fields.js.map +1 -0
  369. package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Form.d.ts +3 -0
  370. package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Form.js +17 -0
  371. package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Form.js.map +1 -0
  372. package/es/modules/corporate/LegalGeneration/components/ChangeFYE/interface.d.ts +11 -0
  373. package/es/modules/corporate/LegalGeneration/components/ChangeFYE/interface.js +2 -0
  374. package/es/modules/corporate/LegalGeneration/components/ChangeFYE/interface.js.map +1 -0
  375. package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Fields.d.ts +3 -0
  376. package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Fields.js +43 -0
  377. package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Fields.js.map +1 -0
  378. package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Form.d.ts +3 -0
  379. package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Form.js +17 -0
  380. package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Form.js.map +1 -0
  381. package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/interface.d.ts +19 -0
  382. package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/interface.js +2 -0
  383. package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/interface.js.map +1 -0
  384. package/es/modules/corporate/LegalGeneration/components/ContractAgreement.d.ts +3 -0
  385. package/es/modules/corporate/LegalGeneration/components/ContractAgreement.js +10 -0
  386. package/es/modules/corporate/LegalGeneration/components/ContractAgreement.js.map +1 -0
  387. package/es/modules/corporate/LegalGeneration/components/CorporateRepresentative.d.ts +3 -0
  388. package/es/modules/corporate/LegalGeneration/components/CorporateRepresentative.js +10 -0
  389. package/es/modules/corporate/LegalGeneration/components/CorporateRepresentative.js.map +1 -0
  390. package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Fields.d.ts +3 -0
  391. package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Fields.js +11 -0
  392. package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Fields.js.map +1 -0
  393. package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Form.d.ts +3 -0
  394. package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Form.js +17 -0
  395. package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Form.js.map +1 -0
  396. package/es/modules/corporate/LegalGeneration/components/DispenseAGM/interface.d.ts +7 -0
  397. package/es/modules/corporate/LegalGeneration/components/DispenseAGM/interface.js +2 -0
  398. package/es/modules/corporate/LegalGeneration/components/DispenseAGM/interface.js.map +1 -0
  399. package/es/modules/corporate/LegalGeneration/components/EmptyResolution.d.ts +3 -0
  400. package/es/modules/corporate/LegalGeneration/components/EmptyResolution.js +10 -0
  401. package/es/modules/corporate/LegalGeneration/components/EmptyResolution.js.map +1 -0
  402. package/es/modules/corporate/LegalGeneration/components/Footer/index.d.ts +5 -0
  403. package/es/modules/corporate/LegalGeneration/components/Footer/index.js +9 -0
  404. package/es/modules/corporate/LegalGeneration/components/Footer/index.js.map +1 -0
  405. package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Fields.d.ts +3 -0
  406. package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Fields.js +27 -0
  407. package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Fields.js.map +1 -0
  408. package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Form.d.ts +3 -0
  409. package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Form.js +17 -0
  410. package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Form.js.map +1 -0
  411. package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/interface.d.ts +17 -0
  412. package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/interface.js +2 -0
  413. package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/interface.js.map +1 -0
  414. package/es/modules/corporate/LegalGeneration/components/IssueShares/Fields.d.ts +3 -0
  415. package/es/modules/corporate/LegalGeneration/components/IssueShares/Fields.js +67 -0
  416. package/es/modules/corporate/LegalGeneration/components/IssueShares/Fields.js.map +1 -0
  417. package/es/modules/corporate/LegalGeneration/components/IssueShares/Form.d.ts +3 -0
  418. package/es/modules/corporate/LegalGeneration/components/IssueShares/Form.js +20 -0
  419. package/es/modules/corporate/LegalGeneration/components/IssueShares/Form.js.map +1 -0
  420. package/es/modules/corporate/LegalGeneration/components/IssueShares/interface.d.ts +40 -0
  421. package/es/modules/corporate/LegalGeneration/components/IssueShares/interface.js +2 -0
  422. package/es/modules/corporate/LegalGeneration/components/IssueShares/interface.js.map +1 -0
  423. package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Fields.d.ts +3 -0
  424. package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Fields.js +15 -0
  425. package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Fields.js.map +1 -0
  426. package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Form.d.ts +3 -0
  427. package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Form.js +17 -0
  428. package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Form.js.map +1 -0
  429. package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/interface.d.ts +11 -0
  430. package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/interface.js +2 -0
  431. package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/interface.js.map +1 -0
  432. package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Fields.d.ts +3 -0
  433. package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Fields.js +24 -0
  434. package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Fields.js.map +1 -0
  435. package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Form.d.ts +3 -0
  436. package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Form.js +17 -0
  437. package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Form.js.map +1 -0
  438. package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/interface.d.ts +11 -0
  439. package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/interface.js +2 -0
  440. package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/interface.js.map +1 -0
  441. package/es/modules/corporate/LegalGeneration/components/NoticeOfResolution.d.ts +3 -0
  442. package/es/modules/corporate/LegalGeneration/components/NoticeOfResolution.js +10 -0
  443. package/es/modules/corporate/LegalGeneration/components/NoticeOfResolution.js.map +1 -0
  444. package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Fields.d.ts +3 -0
  445. package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Fields.js +32 -0
  446. package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Fields.js.map +1 -0
  447. package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Form.d.ts +3 -0
  448. package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Form.js +17 -0
  449. package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Form.js.map +1 -0
  450. package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/interface.d.ts +21 -0
  451. package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/interface.js +2 -0
  452. package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/interface.js.map +1 -0
  453. package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Fields.d.ts +3 -0
  454. package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Fields.js +29 -0
  455. package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Fields.js.map +1 -0
  456. package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Form.d.ts +3 -0
  457. package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Form.js +17 -0
  458. package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Form.js.map +1 -0
  459. package/es/modules/corporate/LegalGeneration/components/ResignationLetter/interface.d.ts +17 -0
  460. package/es/modules/corporate/LegalGeneration/components/ResignationLetter/interface.js +2 -0
  461. package/es/modules/corporate/LegalGeneration/components/ResignationLetter/interface.js.map +1 -0
  462. package/es/modules/corporate/LegalGeneration/components/SettingDialog/index.d.ts +7 -0
  463. package/es/modules/corporate/LegalGeneration/components/SettingDialog/index.js +29 -0
  464. package/es/modules/corporate/LegalGeneration/components/SettingDialog/index.js.map +1 -0
  465. package/es/modules/corporate/LegalGeneration/components/SettingDialog/index.less +14 -0
  466. package/es/modules/corporate/LegalGeneration/components/ShareReduction/Fields.d.ts +3 -0
  467. package/es/modules/corporate/LegalGeneration/components/ShareReduction/Fields.js +28 -0
  468. package/es/modules/corporate/LegalGeneration/components/ShareReduction/Fields.js.map +1 -0
  469. package/es/modules/corporate/LegalGeneration/components/ShareReduction/Form.d.ts +3 -0
  470. package/es/modules/corporate/LegalGeneration/components/ShareReduction/Form.js +17 -0
  471. package/es/modules/corporate/LegalGeneration/components/ShareReduction/Form.js.map +1 -0
  472. package/es/modules/corporate/LegalGeneration/components/ShareReduction/interface.d.ts +17 -0
  473. package/es/modules/corporate/LegalGeneration/components/ShareReduction/interface.js +2 -0
  474. package/es/modules/corporate/LegalGeneration/components/ShareReduction/interface.js.map +1 -0
  475. package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Fields.d.ts +3 -0
  476. package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Fields.js +43 -0
  477. package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Fields.js.map +1 -0
  478. package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Form.d.ts +3 -0
  479. package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Form.js +17 -0
  480. package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Form.js.map +1 -0
  481. package/es/modules/corporate/LegalGeneration/components/ShareTransfer/interface.d.ts +29 -0
  482. package/es/modules/corporate/LegalGeneration/components/ShareTransfer/interface.js +2 -0
  483. package/es/modules/corporate/LegalGeneration/components/ShareTransfer/interface.js.map +1 -0
  484. package/es/modules/corporate/LegalGeneration/components/StrikeOff.d.ts +3 -0
  485. package/es/modules/corporate/LegalGeneration/components/StrikeOff.js +10 -0
  486. package/es/modules/corporate/LegalGeneration/components/StrikeOff.js.map +1 -0
  487. package/es/modules/corporate/LegalGeneration/components/SubmitButton.d.ts +5 -0
  488. package/es/modules/corporate/LegalGeneration/components/SubmitButton.js +9 -0
  489. package/es/modules/corporate/LegalGeneration/components/SubmitButton.js.map +1 -0
  490. package/es/modules/corporate/LegalGeneration/components/index.d.ts +11 -0
  491. package/es/modules/corporate/LegalGeneration/components/index.js +12 -0
  492. package/es/modules/corporate/LegalGeneration/components/index.js.map +1 -0
  493. package/es/modules/corporate/LegalGeneration/fields/AGMNomineeStatementFields.d.ts +3 -0
  494. package/es/modules/corporate/LegalGeneration/fields/AGMNomineeStatementFields.js +11 -0
  495. package/es/modules/corporate/LegalGeneration/fields/AGMNomineeStatementFields.js.map +1 -0
  496. package/es/modules/corporate/LegalGeneration/fields/AppointOfficerFields.d.ts +3 -0
  497. package/es/modules/corporate/LegalGeneration/fields/AppointOfficerFields.js +71 -0
  498. package/es/modules/corporate/LegalGeneration/fields/AppointOfficerFields.js.map +1 -0
  499. package/es/modules/corporate/LegalGeneration/fields/ChangeCompanyNameFields.d.ts +3 -0
  500. package/es/modules/corporate/LegalGeneration/fields/ChangeCompanyNameFields.js +16 -0
  501. package/es/modules/corporate/LegalGeneration/fields/ChangeCompanyNameFields.js.map +1 -0
  502. package/es/modules/corporate/LegalGeneration/fields/ContractAgreementFields.d.ts +3 -0
  503. package/es/modules/corporate/LegalGeneration/fields/ContractAgreementFields.js +16 -0
  504. package/es/modules/corporate/LegalGeneration/fields/ContractAgreementFields.js.map +1 -0
  505. package/es/modules/corporate/LegalGeneration/fields/CorporateRepresentativeFields.d.ts +3 -0
  506. package/es/modules/corporate/LegalGeneration/fields/CorporateRepresentativeFields.js +38 -0
  507. package/es/modules/corporate/LegalGeneration/fields/CorporateRepresentativeFields.js.map +1 -0
  508. package/es/modules/corporate/LegalGeneration/fields/EmptyResolutionFields.d.ts +3 -0
  509. package/es/modules/corporate/LegalGeneration/fields/EmptyResolutionFields.js +17 -0
  510. package/es/modules/corporate/LegalGeneration/fields/EmptyResolutionFields.js.map +1 -0
  511. package/es/modules/corporate/LegalGeneration/fields/NoticeOfResolutionFields.d.ts +3 -0
  512. package/es/modules/corporate/LegalGeneration/fields/NoticeOfResolutionFields.js +28 -0
  513. package/es/modules/corporate/LegalGeneration/fields/NoticeOfResolutionFields.js.map +1 -0
  514. package/es/modules/corporate/LegalGeneration/fields/StrikeOffFields.d.ts +3 -0
  515. package/es/modules/corporate/LegalGeneration/fields/StrikeOffFields.js +36 -0
  516. package/es/modules/corporate/LegalGeneration/fields/StrikeOffFields.js.map +1 -0
  517. package/es/modules/corporate/LegalGeneration/fields/index.d.ts +8 -0
  518. package/es/modules/corporate/LegalGeneration/fields/index.js +9 -0
  519. package/es/modules/corporate/LegalGeneration/fields/index.js.map +1 -0
  520. package/es/modules/corporate/LegalGeneration/form/AGMNomineeStatementForm.d.ts +10 -0
  521. package/es/modules/corporate/LegalGeneration/form/AGMNomineeStatementForm.js +18 -0
  522. package/es/modules/corporate/LegalGeneration/form/AGMNomineeStatementForm.js.map +1 -0
  523. package/es/modules/corporate/LegalGeneration/form/AppointOfficerForm.d.ts +31 -0
  524. package/es/modules/corporate/LegalGeneration/form/AppointOfficerForm.js +46 -0
  525. package/es/modules/corporate/LegalGeneration/form/AppointOfficerForm.js.map +1 -0
  526. package/es/modules/corporate/LegalGeneration/form/ChangeCompanyNameForm.d.ts +14 -0
  527. package/es/modules/corporate/LegalGeneration/form/ChangeCompanyNameForm.js +20 -0
  528. package/es/modules/corporate/LegalGeneration/form/ChangeCompanyNameForm.js.map +1 -0
  529. package/es/modules/corporate/LegalGeneration/form/ContractAgreementForm.d.ts +14 -0
  530. package/es/modules/corporate/LegalGeneration/form/ContractAgreementForm.js +24 -0
  531. package/es/modules/corporate/LegalGeneration/form/ContractAgreementForm.js.map +1 -0
  532. package/es/modules/corporate/LegalGeneration/form/CorporateRepresentativeForm.d.ts +26 -0
  533. package/es/modules/corporate/LegalGeneration/form/CorporateRepresentativeForm.js +40 -0
  534. package/es/modules/corporate/LegalGeneration/form/CorporateRepresentativeForm.js.map +1 -0
  535. package/es/modules/corporate/LegalGeneration/form/EmptyResolutionForm.d.ts +14 -0
  536. package/es/modules/corporate/LegalGeneration/form/EmptyResolutionForm.js +25 -0
  537. package/es/modules/corporate/LegalGeneration/form/EmptyResolutionForm.js.map +1 -0
  538. package/es/modules/corporate/LegalGeneration/form/NoticeOfResolutionForm.d.ts +21 -0
  539. package/es/modules/corporate/LegalGeneration/form/NoticeOfResolutionForm.js +29 -0
  540. package/es/modules/corporate/LegalGeneration/form/NoticeOfResolutionForm.js.map +1 -0
  541. package/es/modules/corporate/LegalGeneration/form/StrikeOffForm.d.ts +19 -0
  542. package/es/modules/corporate/LegalGeneration/form/StrikeOffForm.js +27 -0
  543. package/es/modules/corporate/LegalGeneration/form/StrikeOffForm.js.map +1 -0
  544. package/es/modules/corporate/LegalGeneration/form/index.d.ts +8 -0
  545. package/es/modules/corporate/LegalGeneration/form/index.js +9 -0
  546. package/es/modules/corporate/LegalGeneration/form/index.js.map +1 -0
  547. package/es/modules/corporate/LegalGeneration/index.d.ts +11 -0
  548. package/es/modules/corporate/LegalGeneration/index.js +157 -0
  549. package/es/modules/corporate/LegalGeneration/index.js.map +1 -0
  550. package/es/modules/corporate/LegalGeneration/index.less +73 -0
  551. package/es/modules/corporate/Service/NewServiceDialog/index.d.ts +7 -0
  552. package/es/modules/corporate/Service/NewServiceDialog/index.js +43 -0
  553. package/es/modules/corporate/Service/NewServiceDialog/index.js.map +1 -0
  554. package/es/modules/corporate/Service/NewServiceDialog/index.less +27 -0
  555. package/es/modules/corporate/Service/ServiceItem/index.d.ts +8 -0
  556. package/es/modules/corporate/Service/ServiceItem/index.js +23 -0
  557. package/es/modules/corporate/Service/ServiceItem/index.js.map +1 -0
  558. package/es/modules/corporate/Service/ServiceItem/index.less +23 -0
  559. package/es/modules/corporate/Service/ServiceList/index.d.ts +6 -0
  560. package/es/modules/corporate/Service/ServiceList/index.js +59 -0
  561. package/es/modules/corporate/Service/ServiceList/index.js.map +1 -0
  562. package/es/modules/corporate/ServiceType/ServiceTypeDefaultView/index.d.ts +3 -0
  563. package/es/modules/corporate/ServiceType/ServiceTypeDefaultView/index.js +18 -0
  564. package/es/modules/corporate/ServiceType/ServiceTypeDefaultView/index.js.map +1 -0
  565. package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/index.d.ts +6 -0
  566. package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/index.js +126 -0
  567. package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/index.js.map +1 -0
  568. package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/index.less +48 -0
  569. package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/state.d.ts +20 -0
  570. package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/state.js +37 -0
  571. package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/state.js.map +1 -0
  572. package/es/modules/corporate/ServiceType/ServiceTypeSelect/index.d.ts +7 -0
  573. package/es/modules/corporate/ServiceType/ServiceTypeSelect/index.js +18 -0
  574. package/es/modules/corporate/ServiceType/ServiceTypeSelect/index.js.map +1 -0
  575. package/es/modules/corporate/ShareCertificate/ShareCertificateDefaultView/index.d.ts +4 -0
  576. package/es/modules/corporate/ShareCertificate/ShareCertificateDefaultView/index.js +65 -0
  577. package/es/modules/corporate/ShareCertificate/ShareCertificateDefaultView/index.js.map +1 -0
  578. package/es/modules/corporate/ShareCertificate/ShareCertificateDefaultView/index.less +30 -0
  579. package/es/modules/corporate/Statement/index.d.ts +4 -0
  580. package/es/modules/corporate/Statement/index.js +51 -0
  581. package/es/modules/corporate/Statement/index.js.map +1 -0
  582. package/es/modules/corporate/Statement/index.less +16 -0
  583. package/es/modules/corporate/company/CompanyDefaultView/index.d.ts +6 -0
  584. package/es/modules/corporate/company/CompanyDefaultView/index.js +66 -0
  585. package/es/modules/corporate/company/CompanyDefaultView/index.js.map +1 -0
  586. package/es/modules/corporate/company/CompanyDefaultView/index.less +50 -0
  587. package/es/modules/corporate/company/CompanyDetailsView/index.d.ts +6 -0
  588. package/es/modules/corporate/company/CompanyDetailsView/index.js +89 -0
  589. package/es/modules/corporate/company/CompanyDetailsView/index.js.map +1 -0
  590. package/es/modules/corporate/company/CompanyDetailsView/index.less +40 -0
  591. package/es/modules/corporate/company/Identity/IdentifyDetail/index.d.ts +13 -0
  592. package/es/modules/corporate/company/Identity/IdentifyDetail/index.js +25 -0
  593. package/es/modules/corporate/company/Identity/IdentifyDetail/index.js.map +1 -0
  594. package/es/modules/corporate/company/Identity/IdentifyDetail/index.less +22 -0
  595. package/es/modules/corporate/company/Identity/IdentityInformation/index.d.ts +11 -0
  596. package/es/modules/corporate/company/Identity/IdentityInformation/index.js +68 -0
  597. package/es/modules/corporate/company/Identity/IdentityInformation/index.js.map +1 -0
  598. package/es/modules/corporate/company/Identity/IdentityInformation/state.d.ts +18 -0
  599. package/es/modules/corporate/company/Identity/IdentityInformation/state.js +41 -0
  600. package/es/modules/corporate/company/Identity/IdentityInformation/state.js.map +1 -0
  601. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.d.ts +3 -0
  602. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.js +58 -0
  603. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.js.map +1 -0
  604. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page2.d.ts +3 -0
  605. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page2.js +19 -0
  606. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page2.js.map +1 -0
  607. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page3.d.ts +3 -0
  608. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page3.js +35 -0
  609. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page3.js.map +1 -0
  610. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page4.d.ts +3 -0
  611. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page4.js +47 -0
  612. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page4.js.map +1 -0
  613. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page5.d.ts +3 -0
  614. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page5.js +61 -0
  615. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page5.js.map +1 -0
  616. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.d.ts +7 -0
  617. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.js +19 -0
  618. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.js.map +1 -0
  619. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.less +55 -0
  620. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.d.ts +53 -0
  621. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.js +125 -0
  622. package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.js.map +1 -0
  623. package/es/modules/corporate/company/InlineEditAddress/index.d.ts +14 -0
  624. package/es/modules/corporate/company/InlineEditAddress/index.js +48 -0
  625. package/es/modules/corporate/company/InlineEditAddress/index.js.map +1 -0
  626. package/es/modules/corporate/company/InlineEditAddress/index.less +16 -0
  627. package/es/modules/corporate/company/InlineEditCountry/index.d.ts +6 -0
  628. package/es/modules/corporate/company/InlineEditCountry/index.js +18 -0
  629. package/es/modules/corporate/company/InlineEditCountry/index.js.map +1 -0
  630. package/es/modules/corporate/company/InlineEditType/index.d.ts +8 -0
  631. package/es/modules/corporate/company/InlineEditType/index.js +27 -0
  632. package/es/modules/corporate/company/InlineEditType/index.js.map +1 -0
  633. package/es/modules/corporate/company/MemberRegister/CompanyMemberDefaultView/index.d.ts +4 -0
  634. package/es/modules/corporate/company/MemberRegister/CompanyMemberDefaultView/index.js +21 -0
  635. package/es/modules/corporate/company/MemberRegister/CompanyMemberDefaultView/index.js.map +1 -0
  636. package/es/modules/corporate/company/MemberRegister/CompanyMemberDefaultView/index.less +6 -0
  637. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberAvatar/index.d.ts +16 -0
  638. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberAvatar/index.js +26 -0
  639. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberAvatar/index.js.map +1 -0
  640. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberAvatar/index.less +7 -0
  641. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberItem/index.d.ts +10 -0
  642. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberItem/index.js +44 -0
  643. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberItem/index.js.map +1 -0
  644. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberItem/index.less +36 -0
  645. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.d.ts +7 -0
  646. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.js +34 -0
  647. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.js.map +1 -0
  648. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.less +12 -0
  649. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/state.d.ts +7 -0
  650. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/state.js +21 -0
  651. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/state.js.map +1 -0
  652. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.d.ts +15 -0
  653. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.js +59 -0
  654. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.js.map +1 -0
  655. package/es/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.less +39 -0
  656. package/es/modules/corporate/company/MemberRegister/components/Details/index.d.ts +7 -0
  657. package/es/modules/corporate/company/MemberRegister/components/Details/index.js +50 -0
  658. package/es/modules/corporate/company/MemberRegister/components/Details/index.js.map +1 -0
  659. package/es/modules/corporate/company/MemberRegister/components/Details/index.less +14 -0
  660. package/es/modules/corporate/company/MemberRegister/components/MemberShareTransactions/index.d.ts +11 -0
  661. package/es/modules/corporate/company/MemberRegister/components/MemberShareTransactions/index.js +46 -0
  662. package/es/modules/corporate/company/MemberRegister/components/MemberShareTransactions/index.js.map +1 -0
  663. package/es/modules/corporate/company/MemberRegister/components/MemberShareTransactions/index.less +12 -0
  664. package/es/modules/corporate/company/MemberRegister/components/ShareTransactionsDataIcon/index.d.ts +7 -0
  665. package/es/modules/corporate/company/MemberRegister/components/ShareTransactionsDataIcon/index.js +14 -0
  666. package/es/modules/corporate/company/MemberRegister/components/ShareTransactionsDataIcon/index.js.map +1 -0
  667. package/es/modules/corporate/company/MemberRegister/components/ShareTransactionsDataIcon/index.less +8 -0
  668. package/es/modules/corporate/company/Officer/ContactInformation/index.d.ts +7 -0
  669. package/es/modules/corporate/company/Officer/ContactInformation/index.js +44 -0
  670. package/es/modules/corporate/company/Officer/ContactInformation/index.js.map +1 -0
  671. package/es/modules/corporate/company/Officer/OfficerDefaultView/index.d.ts +4 -0
  672. package/es/modules/corporate/company/Officer/OfficerDefaultView/index.js +21 -0
  673. package/es/modules/corporate/company/Officer/OfficerDefaultView/index.js.map +1 -0
  674. package/es/modules/corporate/company/Officer/OfficerDefaultView/index.less +6 -0
  675. package/es/modules/corporate/company/Officer/OfficerInformation/index.d.ts +11 -0
  676. package/es/modules/corporate/company/Officer/OfficerInformation/index.js +55 -0
  677. package/es/modules/corporate/company/Officer/OfficerInformation/index.js.map +1 -0
  678. package/es/modules/corporate/company/Officer/OfficerInformation/state.d.ts +5 -0
  679. package/es/modules/corporate/company/Officer/OfficerInformation/state.js +8 -0
  680. package/es/modules/corporate/company/Officer/OfficerInformation/state.js.map +1 -0
  681. package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.d.ts +8 -0
  682. package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.js +64 -0
  683. package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.js.map +1 -0
  684. package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.less +39 -0
  685. package/es/modules/corporate/company/Officer/PositionSelect/index.d.ts +12 -0
  686. package/es/modules/corporate/company/Officer/PositionSelect/index.js +30 -0
  687. package/es/modules/corporate/company/Officer/PositionSelect/index.js.map +1 -0
  688. package/es/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.d.ts +16 -0
  689. package/es/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.js +40 -0
  690. package/es/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.js.map +1 -0
  691. package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.d.ts +14 -0
  692. package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.js +28 -0
  693. package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.js.map +1 -0
  694. package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.less +29 -0
  695. package/es/modules/corporate/company/OfficerRegister/OfficerList/index.d.ts +7 -0
  696. package/es/modules/corporate/company/OfficerRegister/OfficerList/index.js +88 -0
  697. package/es/modules/corporate/company/OfficerRegister/OfficerList/index.js.map +1 -0
  698. package/es/modules/corporate/company/OfficerRegister/OfficerList/index.less +12 -0
  699. package/es/modules/corporate/company/OfficerRegister/OfficerList/state.d.ts +7 -0
  700. package/es/modules/corporate/company/OfficerRegister/OfficerList/state.js +21 -0
  701. package/es/modules/corporate/company/OfficerRegister/OfficerList/state.js.map +1 -0
  702. package/es/modules/corporate/company/OfficerRegister/OfficerRegisterDefaultView/index.d.ts +7 -0
  703. package/es/modules/corporate/company/OfficerRegister/OfficerRegisterDefaultView/index.js +16 -0
  704. package/es/modules/corporate/company/OfficerRegister/OfficerRegisterDefaultView/index.js.map +1 -0
  705. package/es/modules/corporate/company/OfficerRegister/OfficerRegisterDefaultView/index.less +23 -0
  706. package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/index.d.ts +3 -0
  707. package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/index.js +20 -0
  708. package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/index.js.map +1 -0
  709. package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/index.less +5 -0
  710. package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/state.d.ts +10 -0
  711. package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/state.js +25 -0
  712. package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/state.js.map +1 -0
  713. package/es/modules/legalEntity/shareTransactionsRegister/ShareMovementsDataIcon/index.js +8 -7
  714. package/es/modules/legalEntity/shareTransactionsRegister/ShareMovementsDataIcon/index.js.map +1 -1
  715. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.js +26 -19
  716. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.js.map +1 -1
  717. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.less +4 -9
  718. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.d.ts +4 -0
  719. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.js +35 -16
  720. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.js.map +1 -1
  721. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.less +16 -9
  722. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDataContext.d.ts +1 -1
  723. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDataContext.js +1 -1
  724. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDragCell.js +9 -5
  725. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDragCell.js.map +1 -1
  726. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/index.js +26 -26
  727. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/index.js.map +1 -1
  728. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.d.ts +3 -0
  729. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.js +52 -45
  730. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.js.map +1 -1
  731. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.less +7 -0
  732. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.js +16 -13
  733. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.js.map +1 -1
  734. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.less +2 -6
  735. package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/index.js +9 -3
  736. package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/index.js.map +1 -1
  737. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.js +9 -15
  738. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.js.map +1 -1
  739. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/state.d.ts +10 -0
  740. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/state.js +33 -0
  741. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/state.js.map +1 -0
  742. package/es/routes.d.ts +110 -0
  743. package/es/routes.js +200 -6
  744. package/es/routes.js.map +1 -1
  745. package/es/style/common.less +30 -2
  746. package/package.json +20 -25
  747. package/es/data/metas.d.ts +0 -0
  748. package/es/data/metas.js +0 -1
  749. package/es/data/metas.js.map +0 -1
  750. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeDropdown/index.d.ts +0 -5
  751. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeDropdown/index.js +0 -28
  752. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeDropdown/index.js.map +0 -1
@@ -0,0 +1,34 @@
1
+ import "./index.less";
2
+ import { useMemberStore } from "../../../../../../data/member";
3
+ import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
4
+ import CompanyMemberItem from "../CompanyMemberItem";
5
+ import CompanyMemberPropertiesView from "../CompanyMemberPropertiesView";
6
+ import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
7
+ import React from "react";
8
+ import { useAutoUpdateListData } from "@voplus/morpho-document-core";
9
+ import { useObserver } from "mobx-react-lite";
10
+ import { useRenderOnChange } from "@voplus/morpho-ui";
11
+ import { useUnitListEffect } from "@voplus/morpho-org/es/data";
12
+ // import NewTypeDropdown from "../../../../../components/NewTypeDropdown";
13
+ // import OfficerStatusFilter from "../OfficerStatusFilter";
14
+ // import SelectLegalContactDialog from "../../Identity/SelectLegalContactDialog";
15
+ const CompanyMemberList = (props) => {
16
+ const { allowEdit } = props;
17
+ const id = "1b9bef21-526f-4ea1-8e3f-12ced14ef92c";
18
+ const memberStore = useMemberStore();
19
+ const list = useCreateListDataState({}, [id]);
20
+ useAutoUpdateListData(list, (d) => d.parentId === id);
21
+ useRenderOnChange(() => list.filters.options);
22
+ // useMemberListEffect(list, result => list.union(result), list.filters.options);
23
+ useUnitListEffect(list, (result) => list.union(result), list.filters.options);
24
+ return useObserver(() => (React.createElement(ListDataContext.Provider, { value: list },
25
+ React.createElement(ListView, { headerProps: {
26
+ filterViewProps: {
27
+ columns: [],
28
+ },
29
+ viewTitle: "Company Member List",
30
+ addAble: false,
31
+ }, renderItem: ({ item, index }) => (React.createElement(CompanyMemberItem, { key: item.id, id: item.id, index: index, className: index === 0 ? "shareTransaction-item-first" : "" })), propertiesView: (id) => React.createElement(CompanyMemberPropertiesView, { id: id, allowEdit: allowEdit }), className: "member-list-view" }))));
32
+ };
33
+ export default CompanyMemberList;
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAuC,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEpG,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AAEpG,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,2BAA2B,MAAM,gCAAgC,CAAC;AAEzE,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,2EAA2E;AAC3E,4DAA4D;AAC5D,kFAAkF;AAElF,MAAM,iBAAiB,GAAG,CAAC,KAA0C,EAAE,EAAE;IACxE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,GAAG,sCAAsC,CAAC;IAElD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IAErC,MAAM,IAAI,GAAG,sBAAsB,CAAM,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAEnD,qBAAqB,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,EAAE,CAAC,CAAC;IAEtD,iBAAiB,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAE9C,iFAAiF;IACjF,iBAAiB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAE9E,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CACxB,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QACpC,oBAAC,QAAQ,IACR,WAAW,EAAE;gBACZ,eAAe,EAAE;oBAChB,OAAO,EAAE,EAAE;iBACX;gBACD,SAAS,EAAE,qBAAqB;gBAChC,OAAO,EAAE,KAAK;aACd,EACD,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAA2C,EAAE,EAAE,CAAC,CACzE,oBAAC,iBAAiB,IACjB,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC,CAAC,EAAE,GAC1D,CACF,EACD,cAAc,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,oBAAC,2BAA2B,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,GAAI,EACrF,SAAS,EAAC,kBAAkB,GAC3B,CACwB,CAC3B,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,12 @@
1
+ @import "~@voplus/antd/es/style/themes/default.less";
2
+ :global {
3
+ .member-list-view {
4
+ padding: 0 !important;
5
+ .list-view-header .view-title {
6
+ flex: 1;
7
+ }
8
+ aside {
9
+ border-top: 0;
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,7 @@
1
+ export declare class State {
2
+ /** position of the new officer */
3
+ position: string;
4
+ /** can new Officer item */
5
+ addAble: boolean;
6
+ loading: boolean;
7
+ }
@@ -0,0 +1,21 @@
1
+ import { __decorate } from "tslib";
2
+ import { observable } from "mobx";
3
+ export class State {
4
+ constructor() {
5
+ /** position of the new officer */
6
+ this.position = "Director";
7
+ /** can new Officer item */
8
+ this.addAble = false;
9
+ this.loading = false;
10
+ }
11
+ }
12
+ __decorate([
13
+ observable
14
+ ], State.prototype, "position", void 0);
15
+ __decorate([
16
+ observable
17
+ ], State.prototype, "addAble", void 0);
18
+ __decorate([
19
+ observable
20
+ ], State.prototype, "loading", void 0);
21
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/MemberRegister/components/CompanyMemberList/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,OAAO,KAAK;IAAlB;QACC,kCAAkC;QACf,aAAQ,GAAG,UAAU,CAAC;QACzC,4BAA4B;QACT,YAAO,GAAG,KAAK,CAAC;QAChB,YAAO,GAAG,KAAK,CAAC;IACpC,CAAC;CAAA;AAJY;IAAX,UAAU;uCAA8B;AAE7B;IAAX,UAAU;sCAAwB;AACvB;IAAX,UAAU;sCAAwB"}
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import "./index.less";
3
+ declare const CompanyMemberPropertiesView: {
4
+ (props: {
5
+ id: string;
6
+ allowEdit?: boolean;
7
+ toolbar?: boolean;
8
+ /** 是否显示document Tab */
9
+ documentTab?: boolean;
10
+ }): JSX.Element;
11
+ defaultProps: {
12
+ documentTab: boolean;
13
+ };
14
+ };
15
+ export default CompanyMemberPropertiesView;
@@ -0,0 +1,59 @@
1
+ import "./index.less";
2
+ import { Button, Modal, Tabs } from "@voplus/antd";
3
+ import { useMemberStore } from "../../../../../../data/member";
4
+ import Details from "../Details";
5
+ import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
6
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
7
+ import MemberShareTransactions from "../MemberShareTransactions";
8
+ import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
9
+ import React from "react";
10
+ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
11
+ import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
12
+ import { faTrashAlt } from "@fortawesome/pro-light-svg-icons";
13
+ import { useAsideContentContext } from "@voplus/morpho-ui";
14
+ import { useListDataContext } from "@voplus/morpho-ui/es/data";
15
+ import { useObserver } from "mobx-react-lite";
16
+ const CompanyMemberPropertiesView = (props) => {
17
+ const { id, allowEdit, toolbar, documentTab } = props;
18
+ // const member = useMember(id, { reload: true });
19
+ const member = { id: id, name: "股东名册" };
20
+ const memberStore = useMemberStore();
21
+ const dataState = useListDataContext();
22
+ const asideContext = useAsideContentContext();
23
+ return useObserver(() => (React.createElement("div", { className: "member-properties-view_content" },
24
+ React.createElement("div", { className: "member-properties-view_header" },
25
+ React.createElement(UnitAvatar, { id: "3a3947a6-e9a8-4d3b-bdab-ac44009ce20f", size: 70 }),
26
+ React.createElement("div", { className: "member-person-name" }, member.name),
27
+ React.createElement("div", null, "Member"),
28
+ toolbar !== false && (React.createElement(ToolBar, { showMenu: false },
29
+ React.createElement(Open, { url: `/member/${id}` }),
30
+ allowEdit && (React.createElement(Button, { danger: true, size: "small", shape: "circle", onClick: onDelete },
31
+ React.createElement(FAIcon, { icon: faTrashAlt, color: "#f5222d" })))))),
32
+ React.createElement(Tabs, { defaultActiveKey: "Details" },
33
+ React.createElement(Tabs.TabPane, { tab: "Details", key: "Details" },
34
+ React.createElement(Details, { id: id, allowEdit: true })),
35
+ React.createElement(Tabs.TabPane, { tab: "Share Transactions", key: "Share" },
36
+ React.createElement(MemberShareTransactions, { id: id })),
37
+ documentTab && (React.createElement(Tabs.TabPane, { tab: "Documents", key: "Document" },
38
+ React.createElement(DocumentList, { id: id, header: false })))))));
39
+ /** member item */
40
+ function onDelete() {
41
+ const onOk = async () => {
42
+ await memberStore.delete([id]);
43
+ dataState.remove(id);
44
+ if (asideContext)
45
+ asideContext.closeAside();
46
+ };
47
+ Modal.confirm({
48
+ title: "Do you want to delete this item?",
49
+ onOk() {
50
+ return onOk();
51
+ },
52
+ });
53
+ }
54
+ };
55
+ CompanyMemberPropertiesView.defaultProps = {
56
+ documentTab: true,
57
+ };
58
+ export default CompanyMemberPropertiesView;
59
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAY,IAAI,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAa,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,2BAA2B,GAAG,CAAC,KAMpC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAEtD,kDAAkD;IAClD,MAAM,MAAM,GAAG,EAAE,EAAE,EAAE,EAAE,EAAE,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BAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,GAAI,CACzB,CACf,CACK,CACF,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,MAAM,IAAI,GAAG,KAAK,IAAI,EAAE;YACvB,MAAM,WAAW,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YAC/B,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;YACrB,IAAI,YAAY;gBAAE,YAAY,CAAC,UAAU,EAAE,CAAC;QAC7C,CAAC,CAAC;QACF,KAAK,CAAC,OAAO,CAAC;YACb,KAAK,EAAE,kCAAkC;YACzC,IAAI;gBACH,OAAO,IAAI,EAAE,CAAC;YACf,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,2BAA2B,CAAC,YAAY,GAAG;IAC1C,WAAW,EAAE,IAAI;CACjB,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -0,0 +1,39 @@
1
+ :global {
2
+ .member-properties-view_content {
3
+ display: flex;
4
+ flex-direction: column;
5
+ height: 100%;
6
+ overflow: hidden;
7
+ background-color: #fff;
8
+
9
+ .member-properties-view_header {
10
+ position: relative;
11
+ text-align: center;
12
+ padding: 20px 0 10px 0;
13
+ .member-person-name {
14
+ color: #000;
15
+ font-size: 16px;
16
+ font-weight: 500;
17
+ padding-top: 12px;
18
+ }
19
+ .tool-bar {
20
+ position: absolute;
21
+ top: 20px;
22
+ right: 20px;
23
+ }
24
+ }
25
+ .ant-tabs {
26
+ height: 100%;
27
+ .ant-tabs-nav {
28
+ margin: 0 20px;
29
+ }
30
+ .company-information {
31
+ padding: 15px 20px;
32
+ h3 {
33
+ margin-bottom: 15px;
34
+ color: #000;
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import "./index.less";
3
+ declare const Details: (props: {
4
+ id: string;
5
+ allowEdit?: boolean;
6
+ }) => JSX.Element;
7
+ export default Details;
@@ -0,0 +1,50 @@
1
+ import "./index.less";
2
+ import { Form } from "@voplus/antd";
3
+ import { useMemberStore, } from "../../../../../../data/member";
4
+ import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
5
+ import { InlineEdit } from "@voplus/morpho-ui";
6
+ import React from "react";
7
+ import Scrollbars from "react-custom-scrollbars";
8
+ import moment from "moment";
9
+ import { useObserver } from "mobx-react-lite";
10
+ const Details = (props) => {
11
+ const { id, allowEdit } = props;
12
+ // const member = useMember(id);
13
+ const member = {
14
+ id: id,
15
+ name: "股东名册",
16
+ guarantee: 20000,
17
+ since: "2020-01-19T09:20:30.072",
18
+ until: "2022-11-19T09:20:30.072",
19
+ };
20
+ const memberStore = useMemberStore();
21
+ return useObserver(() => (React.createElement(Scrollbars, null,
22
+ React.createElement(Form, { labelAlign: "left", labelCol: { span: 5 }, className: "company-information" },
23
+ React.createElement("h3", null, "Shares"),
24
+ React.createElement(React.Fragment, null,
25
+ React.createElement(Form.Item, { label: "Ordinary" },
26
+ React.createElement(InlineEdit, { defaultValue: member.guarantee, editable: allowEdit, content: (v) => React.createElement(React.Fragment, null, v.store.value || "Add Ordinary") })),
27
+ React.createElement(Form.Item, { label: "Preference" },
28
+ React.createElement(InlineEdit, { defaultValue: member.guarantee, editable: allowEdit, content: (v) => React.createElement(React.Fragment, null, v.store.value || "Add Preference") }))),
29
+ React.createElement("h3", null, "Period"),
30
+ React.createElement(React.Fragment, null,
31
+ React.createElement(Form.Item, { label: "Since" },
32
+ React.createElement(InlineEdit, { defaultValue: member === null || member === void 0 ? void 0 : member.since, content: (v) => (React.createElement("span", null, v ? moment(v.store.value).format("YYYY-MM-DD") : "Add Since")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
33
+ if (moment(date).isSame(member === null || member === void 0 ? void 0 : member.since, "day"))
34
+ return;
35
+ memberStore.edit(id, { data: { Since: date }, error: "message" });
36
+ } })),
37
+ React.createElement(Form.Item, { label: "Until" },
38
+ React.createElement(InlineEdit, { defaultValue: member === null || member === void 0 ? void 0 : member.until, content: (v) => (React.createElement("span", null, v ? moment(v.store.value).format("YYYY-MM-DD") : "Add Until")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
39
+ if (moment(date).isSame(member === null || member === void 0 ? void 0 : member.until, "day"))
40
+ return;
41
+ memberStore.edit(id, { data: { Until: date }, error: "message" });
42
+ } })))))));
43
+ /** hover edit Contact Info */
44
+ function inlineEdit(value, oldValue, option) {
45
+ // if (!value || value.trim() === oldValue) return;
46
+ memberStore.edit(id, { data: option, error: "message" });
47
+ }
48
+ };
49
+ export default Details;
50
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/MemberRegister/components/Details/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAC9C,OAAO,EAGN,cAAc,GACd,MAAM,+BAA+B,CAAC;AAEvC,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,OAAO,GAAG,CAAC,KAA0C,EAAE,EAAE;IAC9D,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAChC,gCAAgC;IAChC,MAAM,MAAM,GAAG;QACd,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,MAAM;QACZ,SAAS,EAAE,KAAK;QAChB,KAAK,EAAE,yBAAyB;QAChC,KAAK,EAAE,yBAAyB;KAChC,CAAC;IACF,M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AE,EAAE,IAAI,EAAE,MAAuC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC3F,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,14 @@
1
+ :global {
2
+ .share-transactions-details {
3
+ .share-transactions-item {
4
+ margin-bottom: 24px;
5
+ line-height: 1.5715;
6
+ color: rgba(0, 0, 0, 0.85);
7
+ font-size: 14px;
8
+ }
9
+ .label {
10
+ color: rgba(0, 0, 0, 0.85);
11
+ font-size: 14px;
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ declare const MemberShareTransactions: {
3
+ (props: {
4
+ id: string;
5
+ size: "large" | "middle" | "small";
6
+ }): JSX.Element;
7
+ defaultProps: {
8
+ size: string;
9
+ };
10
+ };
11
+ export default MemberShareTransactions;
@@ -0,0 +1,46 @@
1
+ import { Table, Tag } from "@voplus/antd";
2
+ import React from "react";
3
+ import moment from "moment";
4
+ import styles from "./index.less";
5
+ const MemberShareTransactions = (props) => {
6
+ const { id, size } = props;
7
+ const columns = [
8
+ {
9
+ title: "Date",
10
+ dataIndex: "date",
11
+ key: "date",
12
+ render: (data) => (React.createElement(React.Fragment, null, moment(data).format("DD MMM YYYY"))),
13
+ },
14
+ {
15
+ title: "Type/Shares",
16
+ dataIndex: "typeShares",
17
+ key: "typeShares",
18
+ },
19
+ {
20
+ title: "Share Certs",
21
+ dataIndex: "shareCerts",
22
+ key: "shareCerts",
23
+ render: (tags) => (React.createElement(React.Fragment, null, tags.map((tag) => {
24
+ const color = tag.length > 5 ? "geekblue" : "green";
25
+ return (React.createElement(Tag, { color: color, key: tag }, tag.toUpperCase()));
26
+ }))),
27
+ },
28
+ ];
29
+ const data = [
30
+ {
31
+ key: "1",
32
+ date: "2020-01-19T09:20:30.072",
33
+ typeShares: "Allofment 200",
34
+ shareCerts: ["cool", "teacher"],
35
+ },
36
+ ];
37
+ return (React.createElement("div", { className: styles["member-share-transactions"] },
38
+ React.createElement("h3", null, "Ordinary"),
39
+ React.createElement(Table, { className: "share-transactions-table", size: size, columns: columns, dataSource: data, pagination: false }),
40
+ React.createElement("h3", null, "Preference")));
41
+ };
42
+ MemberShareTransactions.defaultProps = {
43
+ size: "middle",
44
+ };
45
+ export default MemberShareTransactions;
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/MemberRegister/components/MemberShareTransactions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,uBAAuB,GAAG,CAAC,KAAyD,EAAE,EAAE;IAC7F,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAE3B,MAAM,OAAO,GAAG;QACf;YACC,KAAK,EAAE,MAAM;YACb,SAAS,EAAE,MAAM;YACjB,GAAG,EAAE,MAAM;YACX,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,CACzB,oBAAC,KAAK,CAAC,QAAQ,QAAE,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAkB,CACrE;SACD;QACD;YACC,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,YAAY;YACvB,GAAG,EAAE,YAAY;SACjB;QACD;YACC,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,YAAY;YACvB,GAAG,EAAE,YAAY;YACjB,MAAM,EAAE,CAAC,IAAc,EAAE,EAAE,CAAC,CAC3B,0CACE,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;gBACjB,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC;gBACpD,OAAO,CACN,oBAAC,GAAG,IAAC,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IACzB,GAAG,CAAC,WAAW,EAAE,CACb,CACN,CAAC;YACH,CAAC,CAAC,CACA,CACH;SACD;KACD,CAAC;IAEF,MAAM,IAAI,GAAG;QACZ;YACC,GAAG,EAAE,GAAG;YACR,IAAI,EAAE,yBAAyB;YAC/B,UAAU,EAAE,eAAe;YAC3B,UAAU,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;SAC/B;KACD,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC;QAClD,2CAAiB;QACjB,oBAAC,KAAK,IACL,SAAS,EAAC,0BAA0B,EACpC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,IAAI,EAChB,UAAU,EAAE,KAAK,GAChB;QACF,6CAAmB,CACd,CACN,CAAC;AACH,CAAC,CAAC;AAEF,uBAAuB,CAAC,YAAY,GAAG;IACtC,IAAI,EAAE,QAAQ;CACd,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,12 @@
1
+ .member-share-transactions {
2
+ padding: 15px 20px;
3
+ :global {
4
+ h3 {
5
+ margin-bottom: 15px;
6
+ color: #000;
7
+ }
8
+ .share-transactions-table {
9
+ margin-bottom: 15px;
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import "./index.less";
3
+ declare const ShareTransactionsDataIcon: (props: {
4
+ id: string;
5
+ className?: string;
6
+ }) => JSX.Element;
7
+ export default ShareTransactionsDataIcon;
@@ -0,0 +1,14 @@
1
+ import "./index.less";
2
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
3
+ import MemberShareTransactions from "../MemberShareTransactions";
4
+ import { Popover } from "@voplus/antd";
5
+ import React from "react";
6
+ import { faAnalytics } from "@fortawesome/pro-light-svg-icons";
7
+ const ShareTransactionsDataIcon = (props) => {
8
+ const { id, className } = props;
9
+ return (React.createElement(Popover, { content: React.createElement(MemberShareTransactions, { id: id, size: "small" }), title: "", arrowPointAtCenter: true, overlayClassName: "task-analytics-popover" },
10
+ React.createElement("span", { className: className },
11
+ React.createElement(FAIcon, { icon: faAnalytics }))));
12
+ };
13
+ export default ShareTransactionsDataIcon;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/MemberRegister/components/ShareTransactionsDataIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAE/D,MAAM,yBAAyB,GAAG,CAAC,KAAyC,EAAE,EAAE;IAC/E,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhC,OAAO,CACN,oBAAC,OAAO,IACP,OAAO,EAAE,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,GAAG,EACzD,KAAK,EAAC,EAAE,EACR,kBAAkB,QAClB,gBAAgB,EAAC,wBAAwB;QAEzC,8BAAM,SAAS,EAAE,SAAS;YACzB,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI,CACvB,CACE,CACV,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -0,0 +1,8 @@
1
+ :global {
2
+ .task-analytics-popover {
3
+ .ant-popover-inner-content {
4
+ display: flex;
5
+ padding: 0;
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const ContactInformation: (props: {
3
+ id: string;
4
+ scrollbar?: boolean;
5
+ allowEdit?: boolean;
6
+ }) => JSX.Element;
7
+ export default ContactInformation;
@@ -0,0 +1,44 @@
1
+ import { Radio, Skeleton } from "@voplus/antd";
2
+ import { useUnit, useUnitStore } from "@voplus/morpho-org";
3
+ import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
4
+ import { Form } from "@voplus/antd";
5
+ import { InlineEdit } from "@voplus/morpho-ui";
6
+ import InlineEditAddress from "../../InlineEditAddress";
7
+ import React from "react";
8
+ import Scrollbars from "react-custom-scrollbars";
9
+ import moment from "moment";
10
+ import { useObserver } from "mobx-react-lite";
11
+ const ContactInformation = (props) => {
12
+ const { id, scrollbar, allowEdit } = props;
13
+ const unit = useUnit(id, { reload: true });
14
+ const unitStore = useUnitStore();
15
+ const Information = useObserver(() => (React.createElement(Scrollbars, null,
16
+ React.createElement(Form, { labelAlign: "left", labelCol: { span: 5 }, className: "company-information" },
17
+ React.createElement("h3", null, "Contact Information"),
18
+ unit.loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(React.Fragment, null,
19
+ React.createElement(Form.Item, { label: "Phone" },
20
+ React.createElement(InlineEdit, { defaultValue: unit.phone, editable: allowEdit, content: (v) => React.createElement(React.Fragment, null, v.store.value || "Add Phone"), onSave: (v) => inlineEdit(v, unit.phone, { data: { Phone: v } }) })),
21
+ React.createElement(Form.Item, { label: "E-mail" },
22
+ React.createElement(InlineEdit, { defaultValue: unit.email, editable: allowEdit, content: (v) => React.createElement(React.Fragment, null, v.store.value || "Add E-mail"), onSave: (v) => inlineEdit(v, unit.email, { data: { Email: v } }) })),
23
+ React.createElement(InlineEditAddress, { address: unit.address, readonly: !allowEdit, label: "Address", onChange: (v) => unitStore.edit(id, { data: { Address: v } }) }))),
24
+ React.createElement("h3", null, "Basic Information"),
25
+ unit.loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(React.Fragment, null,
26
+ React.createElement(Form.Item, { label: "Birthday" },
27
+ React.createElement(InlineEdit, { defaultValue: unit === null || unit === void 0 ? void 0 : unit.birthday, content: (v) => (React.createElement("span", null, v ? moment(v.store.value).format("YYYY-MM-DD") : "Add Birthday")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
28
+ if (moment(date).isSame(unit === null || unit === void 0 ? void 0 : unit.birthday, "day"))
29
+ return;
30
+ unitStore.edit(id, { data: { Birthday: date } });
31
+ } })),
32
+ React.createElement(Form.Item, { label: "Gender" }, allowEdit ? (React.createElement(Radio.Group, { value: unit.gender, onChange: (e) => unitStore.edit(id, { data: { Gender: e.target.value } }) },
33
+ React.createElement(Radio, { value: "Male" }, " Male"),
34
+ React.createElement(Radio, { value: "Female" }, "Female"))) : (unit.gender))))))));
35
+ return (React.createElement(React.Fragment, null, scrollbar ? React.createElement(Scrollbars, null, Information) : Information));
36
+ /** hover edit Contact Info */
37
+ function inlineEdit(value, oldValue, option) {
38
+ if (!value || value.trim() === oldValue)
39
+ return;
40
+ unitStore.edit(id, option);
41
+ }
42
+ };
43
+ export default ContactInformation;
44
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Officer/ContactInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,EAAO,QAAQ,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAmB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAE5E,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,iBAAiB,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,yBAAyB,CAA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ficerDefaultView: () => JSX.Element;
4
+ export default OfficerDefaultView;
@@ -0,0 +1,21 @@
1
+ import "./index.less";
2
+ import React, { useEffect, useState } from "react";
3
+ import { AsideContent } from "@voplus/morpho-ui";
4
+ import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
5
+ import OfficerPropertiesView from "../OfficerPropertiesView";
6
+ import { useObserver } from "mobx-react-lite";
7
+ import { useRouteMatch } from "react-router";
8
+ const OfficerDefaultView = () => {
9
+ const match = useRouteMatch();
10
+ const id = match.params.id;
11
+ const [asideContext] = useState(AsideContent.createContext());
12
+ useEffect(() => {
13
+ asideContext.openAside(AsideElement, { span: 12 });
14
+ }, []);
15
+ const AsideElement = (React.createElement("div", { className: "csp-default-view_aside" },
16
+ React.createElement(DocumentTabs, { id: id })));
17
+ return useObserver(() => (React.createElement(AsideContent, { context: asideContext, className: "officer-default-view" },
18
+ React.createElement(OfficerPropertiesView, { id: id, toolbar: false }))));
19
+ };
20
+ export default OfficerDefaultView;
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Officer/OfficerDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,kBAAkB,GAAG,GAAG,EAAE;IAC/B,MAAM,KAAK,GAAG,aAAa,EAAmC,CAAC;IAC/D,MAAM,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IAE3B,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAE9D,SAAS,CAAC,GAAG,EAAE;QACd,YAAY,CAAC,SAAS,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IACpD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,YAAY,GAAG,CACpB,6BAAK,SAAS,EAAC,wBAAwB;QACtC,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,GAAI,CACnB,CACN,CAAC;IAEF,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CACxB,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAC,sBAAsB;QACpE,oBAAC,qBAAqB,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,GAAI,CACnC,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,6 @@
1
+ :global {
2
+ .officer-default-view {
3
+ padding: 0 !important;
4
+ overflow: hidden;
5
+ }
6
+ }
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ declare const OfficerInformation: {
3
+ (props: {
4
+ id: string;
5
+ allowEdit?: boolean;
6
+ }): JSX.Element;
7
+ defaultProps: {
8
+ allowEdit: boolean;
9
+ };
10
+ };
11
+ export default OfficerInformation;
@@ -0,0 +1,55 @@
1
+ import { Badge, Form, Skeleton } from "@voplus/antd";
2
+ import { useOfficer, useOfficerStore } from "../../../../../data/officer";
3
+ import React, { useState } from "react";
4
+ import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
5
+ import { InlineEdit } from "@voplus/morpho-ui";
6
+ import Scrollbars from "react-custom-scrollbars";
7
+ import { State } from "./state";
8
+ import moment from "moment";
9
+ import { useObserver } from "mobx-react-lite";
10
+ const OfficerInformation = (props) => {
11
+ const { id, allowEdit } = props;
12
+ const [state] = useState(new State());
13
+ state.officer = useOfficer(id);
14
+ const officerStore = useOfficerStore();
15
+ return useObserver(() => {
16
+ var _a, _b;
17
+ return (React.createElement(Scrollbars, null, state.officer.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
18
+ React.createElement(Skeleton, { active: true }))) : (React.createElement(Form, { labelAlign: "left", labelCol: { span: 6 }, className: "company-information" },
19
+ state.officer.status && (React.createElement(Form.Item, { label: "Status" }, state.officer.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" })))),
20
+ React.createElement(Form.Item, { label: "Appointment Date" },
21
+ React.createElement(InlineEdit, { defaultValue: moment((_a = state.officer) === null || _a === void 0 ? void 0 : _a.appointment), content: (v) => {
22
+ var _a;
23
+ return (React.createElement("span", null, ((_a = state.officer) === null || _a === void 0 ? void 0 : _a.appointment) ? moment(v.store.value).format("YYYY-MM-DD")
24
+ : allowEdit
25
+ ? "Add Appointment Date"
26
+ : "No Appointment Date"));
27
+ }, editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
28
+ var _a;
29
+ if (moment(date).isSame((_a = state.officer) === null || _a === void 0 ? void 0 : _a.appointment, "day"))
30
+ return;
31
+ edit({ Appointment: date });
32
+ } })),
33
+ React.createElement(Form.Item, { label: "Cease Date" },
34
+ React.createElement(InlineEdit, { defaultValue: moment((_b = state.officer) === null || _b === void 0 ? void 0 : _b.cease), content: (v) => {
35
+ var _a;
36
+ return (React.createElement("span", null, ((_a = state.officer) === null || _a === void 0 ? void 0 : _a.cease) ? moment(v.store.value).format("YYYY-MM-DD")
37
+ : allowEdit
38
+ ? "Add Cease Date"
39
+ : "No Cease Date"));
40
+ }, editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
41
+ var _a;
42
+ if (moment(date).isSame((_a = state.officer) === null || _a === void 0 ? void 0 : _a.cease, "day"))
43
+ return;
44
+ edit({ Cease: date });
45
+ } }))))));
46
+ });
47
+ async function edit(data) {
48
+ await officerStore.edit(id, { data, error: "message" });
49
+ }
50
+ };
51
+ OfficerInformation.defaultProps = {
52
+ allowEdit: true,
53
+ };
54
+ export default OfficerInformation;
55
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Officer/OfficerInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAS,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,EAA0B,UAAU,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAClG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,kBAAkB,GAAG,CAAC,KAA0C,EAAE,EAAE;IACzE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,KAAK,CAAC,OAAO,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC;IAE/B,MAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IAEvC,OAAO,WAAW,CAAC,GAAG,EAAE;;QAAC,OAAA,CACxB,oBAAC,UAAU,QACT,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CACxB,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;YAChC,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,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YACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,YAAY;gBAC5B,oBAAC,UAAU,IACV,YAAY,EAAE,MAAM,OAAC,KAAK,CAAC,OAAO,0CAAE,KAAK,CAAC,EAC1C,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;;wBAAC,OAAA,CACf,kCACE,OAAA,KAAK,CAAC,OAAO,0CAAE,KAAK,EACpB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC;4BAC5C,CAAC,CAAC,SAAS;gCACX,CAAC,CAAC,gBAAgB;gCAClB,CAAC,CAAC,eAAe,CACZ,CACP,CAAA;qBAAA,EACD,MAAM,EAAE,eAAe,EACvB,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;;wBAChB,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,OAAC,KAAK,CAAC,OAAO,0CAAE,KAAK,EAAE,KAAK,CAAC;4BAAE,OAAO;wBAC7D,IAAI,CAAC,EAAE,KAAK,EAAE,IAAW,EAAE,CAAC,CAAC;oBAC9B,CAAC,GACA,CACS,CACN,CACP,CACW,CACb,CAAA;KAAA,CAAC,CAAC;IACH,KAAK,UAAU,IAAI,CAAC,IAA4B;QAC/C,MAAM,YAAY,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACzD,CAAC;AACF,CAAC,CAAC;AACF,kBAAkB,CAAC,YAAY,GAAG;IACjC,SAAS,EAAE,IAAI;CACf,CAAC;AACF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { IOfficer } from "../../../../../data/officer";
2
+ export declare class State {
3
+ /** info of the officer */
4
+ officer: IOfficer;
5
+ }
@@ -0,0 +1,8 @@
1
+ import { __decorate } from "tslib";
2
+ import { observable } from "mobx";
3
+ export class State {
4
+ }
5
+ __decorate([
6
+ observable
7
+ ], State.prototype, "officer", void 0);
8
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Officer/OfficerInformation/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,OAAO,KAAK;CAGjB;AADY;IAAX,UAAU;sCAA0B"}