@voplus/morpho-csp 11.2.5 → 11.2.7

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 (958) hide show
  1. package/es/Modules.js +1 -1
  2. package/es/Modules.js.map +1 -1
  3. package/es/components/CorporateMentionList/index.js +8 -12
  4. package/es/components/CorporateMentionList/index.js.map +1 -1
  5. package/es/components/CorporateNavMenu/CorporateNavMenu.js +8 -10
  6. package/es/components/CorporateNavMenu/CorporateNavMenu.js.map +1 -1
  7. package/es/components/CorporateNavMenu/NavMenuItem.js +2 -3
  8. package/es/components/CorporateNavMenu/NavMenuItem.js.map +1 -1
  9. package/es/components/CorporateNavMenu/index.js +3 -4
  10. package/es/components/CorporateNavMenu/index.js.map +1 -1
  11. package/es/components/CorporateNavMenu/state.js +160 -182
  12. package/es/components/CorporateNavMenu/state.js.map +1 -1
  13. package/es/components/CorporateUnitSelectDialog/index.js +21 -24
  14. package/es/components/CorporateUnitSelectDialog/index.js.map +1 -1
  15. package/es/components/CorporateUnitSelectDialog/state.js +116 -147
  16. package/es/components/CorporateUnitSelectDialog/state.js.map +1 -1
  17. package/es/components/CurrencyView/state.js +24 -29
  18. package/es/components/CurrencyView/state.js.map +1 -1
  19. package/es/components/DragTableRow/index.js +1 -2
  20. package/es/components/DragTableRow/index.js.map +1 -1
  21. package/es/components/LegalContactSelect/index.js +1 -2
  22. package/es/components/LegalContactSelect/index.js.map +1 -1
  23. package/es/components/LegalContactSelect/state.js +24 -29
  24. package/es/components/LegalContactSelect/state.js.map +1 -1
  25. package/es/components/NewTypeDropdown/index.js +1 -1
  26. package/es/components/NewTypeDropdown/index.js.map +1 -1
  27. package/es/components/RegisteresMenuItem/index.js +19 -26
  28. package/es/components/RegisteresMenuItem/index.js.map +1 -1
  29. package/es/components/RegisteresMenuItem/state.js +31 -41
  30. package/es/components/RegisteresMenuItem/state.js.map +1 -1
  31. package/es/data/agm-clda/metas.js +1 -6
  32. package/es/data/agm-clda/metas.js.map +1 -1
  33. package/es/data/cart/store.js +4 -13
  34. package/es/data/cart/store.js.map +1 -1
  35. package/es/data/clda/metas.js +1 -6
  36. package/es/data/clda/metas.js.map +1 -1
  37. package/es/data/clda/store.js +6 -15
  38. package/es/data/clda/store.js.map +1 -1
  39. package/es/data/clda-form/metas.js +1 -6
  40. package/es/data/clda-form/metas.js.map +1 -1
  41. package/es/data/clda-form/store.js +4 -13
  42. package/es/data/clda-form/store.js.map +1 -1
  43. package/es/data/clda-meta/store.js +8 -22
  44. package/es/data/clda-meta/store.js.map +1 -1
  45. package/es/data/clda-setting/store.js +11 -35
  46. package/es/data/clda-setting/store.js.map +1 -1
  47. package/es/data/company-general/metas.js +1 -6
  48. package/es/data/company-general/metas.js.map +1 -1
  49. package/es/data/controller/ControllerStore.js +11 -26
  50. package/es/data/controller/ControllerStore.js.map +1 -1
  51. package/es/data/corporate/CompanyPageContext.js +13 -16
  52. package/es/data/corporate/CompanyPageContext.js.map +1 -1
  53. package/es/data/corporate/CorporateStore.js +7 -21
  54. package/es/data/corporate/CorporateStore.js.map +1 -1
  55. package/es/data/corporate/metas.js +1 -6
  56. package/es/data/corporate/metas.js.map +1 -1
  57. package/es/data/entity/EntityStore.js +3 -12
  58. package/es/data/entity/EntityStore.js.map +1 -1
  59. package/es/data/filing-record/FilingRecordStore.js +12 -40
  60. package/es/data/filing-record/FilingRecordStore.js.map +1 -1
  61. package/es/data/filing-type/FilingTypeStore.js +15 -44
  62. package/es/data/filing-type/FilingTypeStore.js.map +1 -1
  63. package/es/data/filing-year/FilingYearStore.js +10 -34
  64. package/es/data/filing-year/FilingYearStore.js.map +1 -1
  65. package/es/data/incorporation-clda/metas.js +1 -6
  66. package/es/data/incorporation-clda/metas.js.map +1 -1
  67. package/es/data/incorporation-clda/store.js +4 -13
  68. package/es/data/incorporation-clda/store.js.map +1 -1
  69. package/es/data/member/MemberStore.js +10 -25
  70. package/es/data/member/MemberStore.js.map +1 -1
  71. package/es/data/officer/OfficerStore.js +11 -26
  72. package/es/data/officer/OfficerStore.js.map +1 -1
  73. package/es/data/order/OrderStore.js +3 -12
  74. package/es/data/order/OrderStore.js.map +1 -1
  75. package/es/data/relationship/CorporateRelationshipContext.js +27 -32
  76. package/es/data/relationship/CorporateRelationshipContext.js.map +1 -1
  77. package/es/data/relationship/RelationshipStore.js +6 -20
  78. package/es/data/relationship/RelationshipStore.js.map +1 -1
  79. package/es/data/risk-match/RiskMatchStore.js +10 -34
  80. package/es/data/risk-match/RiskMatchStore.js.map +1 -1
  81. package/es/data/risk-profile/RiskProfileStore.js +11 -35
  82. package/es/data/risk-profile/RiskProfileStore.js.map +1 -1
  83. package/es/data/service/store.js +7 -21
  84. package/es/data/service/store.js.map +1 -1
  85. package/es/data/serviceType/store.js +7 -21
  86. package/es/data/serviceType/store.js.map +1 -1
  87. package/es/data/share-certificate/ShareCertificateStore.js +2 -7
  88. package/es/data/share-certificate/ShareCertificateStore.js.map +1 -1
  89. package/es/data/share-certificate/hooks.js +1 -1
  90. package/es/data/share-certificate/hooks.js.map +1 -1
  91. package/es/data/share-certificate/metas.js +1 -6
  92. package/es/data/share-certificate/metas.js.map +1 -1
  93. package/es/data/share-class/ShareClassStore.js +85 -112
  94. package/es/data/share-class/ShareClassStore.js.map +1 -1
  95. package/es/data/share-transaction/ShareTransactionStore.js +4 -14
  96. package/es/data/share-transaction/ShareTransactionStore.js.map +1 -1
  97. package/es/data/share-transaction/metas.js +1 -6
  98. package/es/data/share-transaction/metas.js.map +1 -1
  99. package/es/data/shareOptionsRegister/ShareOptionStore.js +2 -7
  100. package/es/data/shareOptionsRegister/ShareOptionStore.js.map +1 -1
  101. package/es/data/shareOptionsRegister/metas.js +1 -6
  102. package/es/data/shareOptionsRegister/metas.js.map +1 -1
  103. package/es/data/virtual-address/VirtualAddressStore.js +97 -129
  104. package/es/data/virtual-address/VirtualAddressStore.js.map +1 -1
  105. package/es/data/virtual-address-mail/VirtualAddressMailStore.js +121 -148
  106. package/es/data/virtual-address-mail/VirtualAddressMailStore.js.map +1 -1
  107. package/es/data/virtual-address-mail/metas.js +1 -6
  108. package/es/data/virtual-address-mail/metas.js.map +1 -1
  109. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchList/index.js +2 -3
  110. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchList/index.js.map +1 -1
  111. package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/index.js +7 -7
  112. package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/index.js.map +1 -1
  113. package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/state.js +52 -78
  114. package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/state.js.map +1 -1
  115. package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.js +2 -4
  116. package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.js.map +1 -1
  117. package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/state.js +17 -30
  118. package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/state.js.map +1 -1
  119. package/es/modules/corporate/background-investigation/risk-profile/components/RelatedProfileList/index.js +1 -1
  120. package/es/modules/corporate/background-investigation/risk-profile/components/RelatedProfileList/index.js.map +1 -1
  121. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.js +11 -14
  122. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.js.map +1 -1
  123. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileItem/index.js +4 -4
  124. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileItem/index.js.map +1 -1
  125. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileList/index.js +4 -5
  126. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileList/index.js.map +1 -1
  127. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js +26 -42
  128. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js.map +1 -1
  129. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileTabs/index.js +1 -2
  130. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileTabs/index.js.map +1 -1
  131. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileDataBar/index.js +1 -1
  132. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileDataBar/index.js.map +1 -1
  133. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js +2 -3
  134. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js.map +1 -1
  135. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/RiskProfileContext.js +13 -16
  136. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/RiskProfileContext.js.map +1 -1
  137. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/index.js +9 -12
  138. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/index.js.map +1 -1
  139. package/es/modules/corporate/background-investigation/risk-profile/pages/UnitRiskProfilePage/index.js +3 -6
  140. package/es/modules/corporate/background-investigation/risk-profile/pages/UnitRiskProfilePage/index.js.map +1 -1
  141. package/es/modules/corporate/clda/components/AddProfileDialog/index.js +2 -3
  142. package/es/modules/corporate/clda/components/AddProfileDialog/index.js.map +1 -1
  143. package/es/modules/corporate/clda/components/CLDADetails/index.js +28 -35
  144. package/es/modules/corporate/clda/components/CLDADetails/index.js.map +1 -1
  145. package/es/modules/corporate/clda/components/CLDAListView/index.js +3 -5
  146. package/es/modules/corporate/clda/components/CLDAListView/index.js.map +1 -1
  147. package/es/modules/corporate/clda/components/CLDAListView/state.js +106 -151
  148. package/es/modules/corporate/clda/components/CLDAListView/state.js.map +1 -1
  149. package/es/modules/corporate/clda/components/CLDAOverview/index.js +5 -6
  150. package/es/modules/corporate/clda/components/CLDAOverview/index.js.map +1 -1
  151. package/es/modules/corporate/clda/components/CLDAProperties/index.js +2 -2
  152. package/es/modules/corporate/clda/components/CLDAProperties/index.js.map +1 -1
  153. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js +36 -39
  154. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js.map +1 -1
  155. package/es/modules/corporate/clda/components/NewCLDAForm/index.js +22 -27
  156. package/es/modules/corporate/clda/components/NewCLDAForm/index.js.map +1 -1
  157. package/es/modules/corporate/clda/components/NewCLDAForm/state.js +41 -51
  158. package/es/modules/corporate/clda/components/NewCLDAForm/state.js.map +1 -1
  159. package/es/modules/corporate/clda/controls/CLDADataBar/index.js +1 -2
  160. package/es/modules/corporate/clda/controls/CLDADataBar/index.js.map +1 -1
  161. package/es/modules/corporate/clda/controls/CLDAMenu/index.js +1 -2
  162. package/es/modules/corporate/clda/controls/CLDAMenu/index.js.map +1 -1
  163. package/es/modules/corporate/clda/controls/CLDAMenu/items/LegalDocuments.js +1 -1
  164. package/es/modules/corporate/clda/controls/CLDAMenu/items/LegalDocuments.js.map +1 -1
  165. package/es/modules/corporate/clda/controls/CLDAMenu/items/SendCLDA.js +10 -14
  166. package/es/modules/corporate/clda/controls/CLDAMenu/items/SendCLDA.js.map +1 -1
  167. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.js +1 -1
  168. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.js.map +1 -1
  169. package/es/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.js +51 -55
  170. package/es/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.js.map +1 -1
  171. package/es/modules/corporate/clda/controls/filters/CLDAStatusFilter/state.js +59 -70
  172. package/es/modules/corporate/clda/controls/filters/CLDAStatusFilter/state.js.map +1 -1
  173. package/es/modules/corporate/clda/controls/filters/CLDATypesFilter/state.js +55 -61
  174. package/es/modules/corporate/clda/controls/filters/CLDATypesFilter/state.js.map +1 -1
  175. package/es/modules/corporate/clda/pages/CLDAClientView/CLDAClientContext.js +51 -58
  176. package/es/modules/corporate/clda/pages/CLDAClientView/CLDAClientContext.js.map +1 -1
  177. package/es/modules/corporate/clda/pages/CLDAClientView/components/DigitalPreparationStep/index.js +1 -2
  178. package/es/modules/corporate/clda/pages/CLDAClientView/components/DigitalPreparationStep/index.js.map +1 -1
  179. package/es/modules/corporate/clda/pages/CLDAClientView/components/DigitalSigningStep/index.js +1 -1
  180. package/es/modules/corporate/clda/pages/CLDAClientView/components/DigitalSigningStep/index.js.map +1 -1
  181. package/es/modules/corporate/clda/pages/CLDAClientView/components/PhysicalPreparationStep/index.js +1 -2
  182. package/es/modules/corporate/clda/pages/CLDAClientView/components/PhysicalPreparationStep/index.js.map +1 -1
  183. package/es/modules/corporate/clda/pages/CLDAClientView/components/SelectStep/index.js +13 -16
  184. package/es/modules/corporate/clda/pages/CLDAClientView/components/SelectStep/index.js.map +1 -1
  185. package/es/modules/corporate/clda/pages/CLDAClientView/components/VerificationStep/index.js +6 -9
  186. package/es/modules/corporate/clda/pages/CLDAClientView/components/VerificationStep/index.js.map +1 -1
  187. package/es/modules/corporate/clda/pages/CLDAClientView/index.js +15 -20
  188. package/es/modules/corporate/clda/pages/CLDAClientView/index.js.map +1 -1
  189. package/es/modules/corporate/clda/pages/CLDAListPage/Content/index.js +25 -28
  190. package/es/modules/corporate/clda/pages/CLDAListPage/Content/index.js.map +1 -1
  191. package/es/modules/corporate/clda/pages/CLDAListPage/Content/state.js +94 -123
  192. package/es/modules/corporate/clda/pages/CLDAListPage/Content/state.js.map +1 -1
  193. package/es/modules/corporate/clda/pages/CLDAListPage/state.js +14 -22
  194. package/es/modules/corporate/clda/pages/CLDAListPage/state.js.map +1 -1
  195. package/es/modules/corporate/clda/pages/CLDASettingsPage/Content.js +34 -55
  196. package/es/modules/corporate/clda/pages/CLDASettingsPage/Content.js.map +1 -1
  197. package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js +23 -27
  198. package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js.map +1 -1
  199. package/es/modules/corporate/clda/pages/ChangeAddress2021/state.js +205 -228
  200. package/es/modules/corporate/clda/pages/ChangeAddress2021/state.js.map +1 -1
  201. package/es/modules/corporate/clda/pages/SecretaryTestPage/CLDAListPage.js +1 -1
  202. package/es/modules/corporate/clda/pages/SecretaryTestPage/CLDAListPage.js.map +1 -1
  203. package/es/modules/corporate/clda/pages/SecretaryTestPage/index.js +87 -90
  204. package/es/modules/corporate/clda/pages/SecretaryTestPage/index.js.map +1 -1
  205. package/es/modules/corporate/clda/pages/SecretaryTestPage/state.js +214 -243
  206. package/es/modules/corporate/clda/pages/SecretaryTestPage/state.js.map +1 -1
  207. package/es/modules/corporate/company/components/CompanyAlert/index.js +4 -7
  208. package/es/modules/corporate/company/components/CompanyAlert/index.js.map +1 -1
  209. package/es/modules/corporate/company/components/CompanyMemberSelect/index.js +4 -5
  210. package/es/modules/corporate/company/components/CompanyMemberSelect/index.js.map +1 -1
  211. package/es/modules/corporate/company/components/CompanyPageHead/index.js +35 -38
  212. package/es/modules/corporate/company/components/CompanyPageHead/index.js.map +1 -1
  213. package/es/modules/corporate/company/components/CompanyProperties/CompanyPropertiesCard.js +2 -2
  214. package/es/modules/corporate/company/components/CompanyProperties/CompanyPropertiesCard.js.map +1 -1
  215. package/es/modules/corporate/company/components/CompanyProperties/Properties.js +40 -49
  216. package/es/modules/corporate/company/components/CompanyProperties/Properties.js.map +1 -1
  217. package/es/modules/corporate/company/components/CompanyProperties/index.js +8 -11
  218. package/es/modules/corporate/company/components/CompanyProperties/index.js.map +1 -1
  219. package/es/modules/corporate/company/components/CompanyRegisterHead/index.js +9 -12
  220. package/es/modules/corporate/company/components/CompanyRegisterHead/index.js.map +1 -1
  221. package/es/modules/corporate/company/components/CorporateHead/index.js +9 -12
  222. package/es/modules/corporate/company/components/CorporateHead/index.js.map +1 -1
  223. package/es/modules/corporate/company/components/CorporateItem/index.js +3 -4
  224. package/es/modules/corporate/company/components/CorporateItem/index.js.map +1 -1
  225. package/es/modules/corporate/company/components/CorporateList/index.js +3 -4
  226. package/es/modules/corporate/company/components/CorporateList/index.js.map +1 -1
  227. package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js +3 -5
  228. package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js.map +1 -1
  229. package/es/modules/corporate/company/components/CorporateOverview/index.js +2 -3
  230. package/es/modules/corporate/company/components/CorporateOverview/index.js.map +1 -1
  231. package/es/modules/corporate/company/components/CorporateTableList/TableCell.js +3 -4
  232. package/es/modules/corporate/company/components/CorporateTableList/TableCell.js.map +1 -1
  233. package/es/modules/corporate/company/components/CorporateTableList/index.js +2 -2
  234. package/es/modules/corporate/company/components/CorporateTableList/index.js.map +1 -1
  235. package/es/modules/corporate/company/components/CorporateTabs/index.js +2 -5
  236. package/es/modules/corporate/company/components/CorporateTabs/index.js.map +1 -1
  237. package/es/modules/corporate/company/components/InlineEditCountry/index.js +2 -3
  238. package/es/modules/corporate/company/components/InlineEditCountry/index.js.map +1 -1
  239. package/es/modules/corporate/company/components/InlineEditType/index.js +6 -4
  240. package/es/modules/corporate/company/components/InlineEditType/index.js.map +1 -1
  241. package/es/modules/corporate/company/components/SharesCapitalCard/index.js +7 -10
  242. package/es/modules/corporate/company/components/SharesCapitalCard/index.js.map +1 -1
  243. package/es/modules/corporate/company/components/SharesCapitalCard/state.js +49 -69
  244. package/es/modules/corporate/company/components/SharesCapitalCard/state.js.map +1 -1
  245. package/es/modules/corporate/company/components/SharesCard/Capital.js +1 -4
  246. package/es/modules/corporate/company/components/SharesCard/Capital.js.map +1 -1
  247. package/es/modules/corporate/company/components/SharesCard/index.js +15 -18
  248. package/es/modules/corporate/company/components/SharesCard/index.js.map +1 -1
  249. package/es/modules/corporate/company/components/SharesCard/state.js +33 -48
  250. package/es/modules/corporate/company/components/SharesCard/state.js.map +1 -1
  251. package/es/modules/corporate/company/components/SharesCard2/state.js +49 -69
  252. package/es/modules/corporate/company/components/SharesCard2/state.js.map +1 -1
  253. package/es/modules/corporate/company/controller-register/components/ControllerHead/index.js +9 -12
  254. package/es/modules/corporate/company/controller-register/components/ControllerHead/index.js.map +1 -1
  255. package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js +7 -7
  256. package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js.map +1 -1
  257. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +16 -19
  258. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -1
  259. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +9 -11
  260. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -1
  261. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +3 -3
  262. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
  263. package/es/modules/corporate/company/controller-register/components/ControllerTableList/state.js +27 -37
  264. package/es/modules/corporate/company/controller-register/components/ControllerTableList/state.js.map +1 -1
  265. package/es/modules/corporate/company/controller-register/components/ControllerTabs/index.js +2 -6
  266. package/es/modules/corporate/company/controller-register/components/ControllerTabs/index.js.map +1 -1
  267. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js +1 -2
  268. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js.map +1 -1
  269. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.js +3 -4
  270. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.js.map +1 -1
  271. package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.js +2 -2
  272. package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.js.map +1 -1
  273. package/es/modules/corporate/company/controller-register/components/SelectControllerList/state.js +66 -85
  274. package/es/modules/corporate/company/controller-register/components/SelectControllerList/state.js.map +1 -1
  275. package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/index.js +8 -15
  276. package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/index.js.map +1 -1
  277. package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/state.js +29 -49
  278. package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/state.js.map +1 -1
  279. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js +56 -67
  280. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js.map +1 -1
  281. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js +1 -1
  282. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js.map +1 -1
  283. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.js +6 -9
  284. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.js.map +1 -1
  285. package/es/modules/corporate/company/controller-register/page/ControllerRegisterPrintView/index.js +22 -25
  286. package/es/modules/corporate/company/controller-register/page/ControllerRegisterPrintView/index.js.map +1 -1
  287. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js +4 -5
  288. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js.map +1 -1
  289. package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/ChangeContact.js +1 -2
  290. package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/ChangeContact.js.map +1 -1
  291. package/es/modules/corporate/company/controls/CorporateMenu/items/Disabled.js +1 -1
  292. package/es/modules/corporate/company/controls/CorporateMenu/items/Disabled.js.map +1 -1
  293. package/es/modules/corporate/company/controls/CorporateStatusFilter/state.js +51 -62
  294. package/es/modules/corporate/company/controls/CorporateStatusFilter/state.js.map +1 -1
  295. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step1.js +1 -1
  296. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step1.js.map +1 -1
  297. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step4.js +24 -28
  298. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step4.js.map +1 -1
  299. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.js +1 -1
  300. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.js.map +1 -1
  301. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/state.js +105 -128
  302. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/state.js.map +1 -1
  303. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page1.js +1 -1
  304. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page1.js.map +1 -1
  305. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page5.js +24 -28
  306. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page5.js.map +1 -1
  307. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.js +1 -1
  308. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.js.map +1 -1
  309. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/state.js +125 -152
  310. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/state.js.map +1 -1
  311. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.js +3 -9
  312. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.js.map +1 -1
  313. package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.js +13 -16
  314. package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.js.map +1 -1
  315. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +14 -17
  316. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -1
  317. package/es/modules/corporate/company/member-register/components/CompanyMemberTabs/index.js +1 -4
  318. package/es/modules/corporate/company/member-register/components/CompanyMemberTabs/index.js.map +1 -1
  319. package/es/modules/corporate/company/member-register/components/DetailsObsolete/index.js +4 -4
  320. package/es/modules/corporate/company/member-register/components/DetailsObsolete/index.js.map +1 -1
  321. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/MemberItem/index.js +5 -11
  322. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/MemberItem/index.js.map +1 -1
  323. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.js +1 -4
  324. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.js.map +1 -1
  325. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.js +14 -18
  326. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.js.map +1 -1
  327. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/state.js +33 -38
  328. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/state.js.map +1 -1
  329. package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js +10 -12
  330. package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js.map +1 -1
  331. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +2 -2
  332. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -1
  333. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js +2 -2
  334. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js.map +1 -1
  335. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCell.js +19 -22
  336. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCell.js.map +1 -1
  337. package/es/modules/corporate/company/member-register/components/MemberTableListCard/state.js +32 -39
  338. package/es/modules/corporate/company/member-register/components/MemberTableListCard/state.js.map +1 -1
  339. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberItem/index.js +3 -4
  340. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberItem/index.js.map +1 -1
  341. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberList/index.js +2 -2
  342. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberList/index.js.map +1 -1
  343. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberList/state.js +57 -76
  344. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberList/state.js.map +1 -1
  345. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/index.js +8 -15
  346. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/index.js.map +1 -1
  347. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/state.js +29 -49
  348. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/state.js.map +1 -1
  349. package/es/modules/corporate/company/member-register/controls/MemberStatusFilter/state.js +52 -63
  350. package/es/modules/corporate/company/member-register/controls/MemberStatusFilter/state.js.map +1 -1
  351. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js +1 -1
  352. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js.map +1 -1
  353. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.js +11 -14
  354. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.js.map +1 -1
  355. package/es/modules/corporate/company/member-register/page/MemberRegisterPrintView/index.js +22 -25
  356. package/es/modules/corporate/company/member-register/page/MemberRegisterPrintView/index.js.map +1 -1
  357. package/es/modules/corporate/company/officer-register/components/OfficerHead/index.js +15 -18
  358. package/es/modules/corporate/company/officer-register/components/OfficerHead/index.js.map +1 -1
  359. package/es/modules/corporate/company/officer-register/components/OfficerInformation/index.js +6 -6
  360. package/es/modules/corporate/company/officer-register/components/OfficerInformation/index.js.map +1 -1
  361. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/OfficerItem/index.js +11 -17
  362. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/OfficerItem/index.js.map +1 -1
  363. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/index.js +1 -4
  364. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/index.js.map +1 -1
  365. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +16 -19
  366. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -1
  367. package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js +8 -10
  368. package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js.map +1 -1
  369. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +2 -2
  370. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
  371. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js +2 -2
  372. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js.map +1 -1
  373. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCell.js +11 -14
  374. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCell.js.map +1 -1
  375. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/state.js +41 -54
  376. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/state.js.map +1 -1
  377. package/es/modules/corporate/company/officer-register/components/OfficerTabs/index.js +2 -6
  378. package/es/modules/corporate/company/officer-register/components/OfficerTabs/index.js.map +1 -1
  379. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.js +8 -15
  380. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.js.map +1 -1
  381. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/state.js +29 -49
  382. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/state.js.map +1 -1
  383. package/es/modules/corporate/company/officer-register/components/SelectOfficerItem/index.js +3 -4
  384. package/es/modules/corporate/company/officer-register/components/SelectOfficerItem/index.js.map +1 -1
  385. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/index.js +2 -2
  386. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/index.js.map +1 -1
  387. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/state.js +57 -76
  388. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/state.js.map +1 -1
  389. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/state.js +56 -67
  390. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/state.js.map +1 -1
  391. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js +1 -1
  392. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js.map +1 -1
  393. package/es/modules/corporate/company/officer-register/page/OfficeRegisterPrintView/index.js +22 -25
  394. package/es/modules/corporate/company/officer-register/page/OfficeRegisterPrintView/index.js.map +1 -1
  395. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.js +13 -16
  396. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.js.map +1 -1
  397. package/es/modules/corporate/company/pages/CorporateListPage/index.js +22 -25
  398. package/es/modules/corporate/company/pages/CorporateListPage/index.js.map +1 -1
  399. package/es/modules/corporate/company/pages/CorporateListPage/state.js +100 -124
  400. package/es/modules/corporate/company/pages/CorporateListPage/state.js.map +1 -1
  401. package/es/modules/corporate/company/pages/RegisterTablePage/index.js +45 -48
  402. package/es/modules/corporate/company/pages/RegisterTablePage/index.js.map +1 -1
  403. package/es/modules/corporate/company/share-transaction-convert/ShareTransactionConvertStore.js +4 -13
  404. package/es/modules/corporate/company/share-transaction-convert/ShareTransactionConvertStore.js.map +1 -1
  405. package/es/modules/corporate/company/share-transaction-convert/ShareTransactionConvertTable.js +1 -2
  406. package/es/modules/corporate/company/share-transaction-convert/ShareTransactionConvertTable.js.map +1 -1
  407. package/es/modules/corporate/company/share-transaction-convert/index.js +6 -9
  408. package/es/modules/corporate/company/share-transaction-convert/index.js.map +1 -1
  409. package/es/modules/corporate/company/share-transaction-convert/state.js +36 -45
  410. package/es/modules/corporate/company/share-transaction-convert/state.js.map +1 -1
  411. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/Step1.js +5 -7
  412. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/Step1.js.map +1 -1
  413. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/Step2.js +33 -36
  414. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/Step2.js.map +1 -1
  415. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/state.js +18 -22
  416. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/state.js.map +1 -1
  417. package/es/modules/corporate/company/share-transactions-register/components/ClassSelect/index.js +1 -2
  418. package/es/modules/corporate/company/share-transactions-register/components/ClassSelect/index.js.map +1 -1
  419. package/es/modules/corporate/company/share-transactions-register/components/OfficialClassSelect/index.js +1 -2
  420. package/es/modules/corporate/company/share-transactions-register/components/OfficialClassSelect/index.js.map +1 -1
  421. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.js +1 -1
  422. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.js.map +1 -1
  423. package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.js +1 -1
  424. package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.js.map +1 -1
  425. package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreviewPopover/index.js +2 -5
  426. package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreviewPopover/index.js.map +1 -1
  427. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionCard/index.js +14 -17
  428. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionCard/index.js.map +1 -1
  429. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +48 -65
  430. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js.map +1 -1
  431. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/state.js +1 -1
  432. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/state.js.map +1 -1
  433. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js +1 -1
  434. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -1
  435. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/state.js +29 -40
  436. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/state.js.map +1 -1
  437. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +4 -5
  438. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
  439. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/state.js +44 -56
  440. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/state.js.map +1 -1
  441. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/ItemHeader.js +11 -14
  442. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/ItemHeader.js.map +1 -1
  443. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js +1 -1
  444. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js.map +1 -1
  445. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js +2 -5
  446. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js.map +1 -1
  447. package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/state.js +21 -26
  448. package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/state.js.map +1 -1
  449. package/es/modules/corporate/company/share-transactions-register/components/VerifyConfirm/index.js +1 -4
  450. package/es/modules/corporate/company/share-transactions-register/components/VerifyConfirm/index.js.map +1 -1
  451. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/state.js +35 -39
  452. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/state.js.map +1 -1
  453. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js +1 -1
  454. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js.map +1 -1
  455. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js +2 -2
  456. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js.map +1 -1
  457. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterPrintView/index.js +1 -1
  458. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterPrintView/index.js.map +1 -1
  459. package/es/modules/corporate/components/CorporateSelect/index.js +2 -2
  460. package/es/modules/corporate/components/CorporateSelect/index.js.map +1 -1
  461. package/es/modules/corporate/filing-record/components/AnnualFilings/index.js +2 -2
  462. package/es/modules/corporate/filing-record/components/AnnualFilings/index.js.map +1 -1
  463. package/es/modules/corporate/filing-record/components/FilingList/index.js +3 -4
  464. package/es/modules/corporate/filing-record/components/FilingList/index.js.map +1 -1
  465. package/es/modules/corporate/filing-record/components/FilingOverview/index.js +2 -3
  466. package/es/modules/corporate/filing-record/components/FilingOverview/index.js.map +1 -1
  467. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.js +20 -23
  468. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.js.map +1 -1
  469. package/es/modules/corporate/filing-record/components/FilingRecordList/index.js +3 -9
  470. package/es/modules/corporate/filing-record/components/FilingRecordList/index.js.map +1 -1
  471. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +18 -22
  472. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -1
  473. package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.js +1 -4
  474. package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.js.map +1 -1
  475. package/es/modules/corporate/filing-record/components/FilingRecordTimeLine/index.js +28 -34
  476. package/es/modules/corporate/filing-record/components/FilingRecordTimeLine/index.js.map +1 -1
  477. package/es/modules/corporate/filing-record/components/FilingTimeLineCard/state.js +3 -20
  478. package/es/modules/corporate/filing-record/components/FilingTimeLineCard/state.js.map +1 -1
  479. package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js +3 -5
  480. package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js.map +1 -1
  481. package/es/modules/corporate/filing-record/components/SendMessageDialog/index.js +6 -11
  482. package/es/modules/corporate/filing-record/components/SendMessageDialog/index.js.map +1 -1
  483. package/es/modules/corporate/filing-record/controls/FilingRecordMenu/index.d.ts +1 -0
  484. package/es/modules/corporate/filing-record/controls/FilingRecordMenu/index.js +6 -3
  485. package/es/modules/corporate/filing-record/controls/FilingRecordMenu/index.js.map +1 -1
  486. package/es/modules/corporate/filing-record/controls/useDeleteFiling.d.ts +7 -0
  487. package/es/modules/corporate/filing-record/controls/useDeleteFiling.js +21 -0
  488. package/es/modules/corporate/filing-record/controls/useDeleteFiling.js.map +1 -0
  489. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeItem/index.d.ts +1 -1
  490. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeItem/index.js +12 -11
  491. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeItem/index.js.map +1 -1
  492. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js +3 -4
  493. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js.map +1 -1
  494. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js +2 -2
  495. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js.map +1 -1
  496. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderScheduleList/index.js +17 -22
  497. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderScheduleList/index.js.map +1 -1
  498. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderTab/index.js +2 -4
  499. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderTab/index.js.map +1 -1
  500. package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js +2 -4
  501. package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js.map +1 -1
  502. package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/state.js +3 -20
  503. package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/state.js.map +1 -1
  504. package/es/modules/corporate/filing-record/filing-type/components/ReminderActionForm/index.js +4 -6
  505. package/es/modules/corporate/filing-record/filing-type/components/ReminderActionForm/index.js.map +1 -1
  506. package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.d.ts +1 -0
  507. package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.js +6 -3
  508. package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.js.map +1 -1
  509. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/Table.js +1 -1
  510. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/Table.js.map +1 -1
  511. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.js +4 -5
  512. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.js.map +1 -1
  513. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js +1 -1
  514. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js.map +1 -1
  515. package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.js +1 -1
  516. package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.js.map +1 -1
  517. package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js +2 -2
  518. package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js.map +1 -1
  519. package/es/modules/corporate/filing-record/filing-year/components/FilingYearSelect/index.js +2 -3
  520. package/es/modules/corporate/filing-record/filing-year/components/FilingYearSelect/index.js.map +1 -1
  521. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTabs/index.js +3 -6
  522. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTabs/index.js.map +1 -1
  523. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/FilingItem.js +5 -6
  524. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/FilingItem.js.map +1 -1
  525. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/FilingYearItem.js +1 -1
  526. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/FilingYearItem.js.map +1 -1
  527. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.js +7 -13
  528. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.js.map +1 -1
  529. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.js +5 -6
  530. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.js.map +1 -1
  531. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/index.js +2 -2
  532. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/index.js.map +1 -1
  533. package/es/modules/corporate/filing-record/filing-year/components/NewFilingYearDialog/index.js +2 -3
  534. package/es/modules/corporate/filing-record/filing-year/components/NewFilingYearDialog/index.js.map +1 -1
  535. package/es/modules/corporate/filing-record/filing-year/controls/FilingYearMenu/index.js +1 -2
  536. package/es/modules/corporate/filing-record/filing-year/controls/FilingYearMenu/index.js.map +1 -1
  537. package/es/modules/corporate/filing-record/pages/FilingListPage/index.js +19 -22
  538. package/es/modules/corporate/filing-record/pages/FilingListPage/index.js.map +1 -1
  539. package/es/modules/corporate/filing-record/pages/FilingListPage/state.js +14 -42
  540. package/es/modules/corporate/filing-record/pages/FilingListPage/state.js.map +1 -1
  541. package/es/modules/corporate/filing-record/tools/index.js +1 -1
  542. package/es/modules/corporate/filing-record/tools/index.js.map +1 -1
  543. package/es/modules/corporate/legal-generation/components/Footer/index.js +1 -1
  544. package/es/modules/corporate/legal-generation/components/Footer/index.js.map +1 -1
  545. package/es/modules/corporate/legal-generation/components/SettingDialog/index.js +3 -3
  546. package/es/modules/corporate/legal-generation/components/SettingDialog/index.js.map +1 -1
  547. package/es/modules/corporate/legal-generation/components/SubmitButton/index.js +1 -1
  548. package/es/modules/corporate/legal-generation/components/SubmitButton/index.js.map +1 -1
  549. package/es/modules/corporate/legal-generation/fields/StrikeOffFields.js +2 -4
  550. package/es/modules/corporate/legal-generation/fields/StrikeOffFields.js.map +1 -1
  551. package/es/modules/corporate/service/components/NewServiceDialog/index.js +4 -4
  552. package/es/modules/corporate/service/components/NewServiceDialog/index.js.map +1 -1
  553. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.js +66 -75
  554. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.js.map +1 -1
  555. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/state.js +39 -47
  556. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/state.js.map +1 -1
  557. package/es/modules/corporate/service-type/components/ServiceTypeSelect/index.js +1 -1
  558. package/es/modules/corporate/service-type/components/ServiceTypeSelect/index.js.map +1 -1
  559. package/es/modules/corporate/service-type/pages/ServiceTypeDefaultView/index.js +1 -1
  560. package/es/modules/corporate/service-type/pages/ServiceTypeDefaultView/index.js.map +1 -1
  561. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +70 -79
  562. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
  563. package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js +3 -5
  564. package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js.map +1 -1
  565. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +9 -12
  566. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
  567. package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js +5 -7
  568. package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js.map +1 -1
  569. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js +1 -2
  570. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js.map +1 -1
  571. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Cancel.js +1 -1
  572. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Cancel.js.map +1 -1
  573. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee1.js +16 -23
  574. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee1.js.map +1 -1
  575. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee2.js +16 -23
  576. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee2.js.map +1 -1
  577. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RevokePhysical.js +1 -1
  578. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RevokePhysical.js.map +1 -1
  579. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/UndoCancel.js +1 -1
  580. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/UndoCancel.js.map +1 -1
  581. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/state.js +44 -56
  582. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/state.js.map +1 -1
  583. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js +54 -65
  584. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js.map +1 -1
  585. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js +51 -62
  586. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js.map +1 -1
  587. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js +33 -37
  588. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map +1 -1
  589. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/state.js +23 -36
  590. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/state.js.map +1 -1
  591. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js +2 -2
  592. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
  593. package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.js +2 -4
  594. package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.js.map +1 -1
  595. package/es/modules/corporate/share-class/components/NewShareClassForm/state.js +17 -21
  596. package/es/modules/corporate/share-class/components/NewShareClassForm/state.js.map +1 -1
  597. package/es/modules/corporate/share-class/components/ShareClassItemCard/index.js +1 -2
  598. package/es/modules/corporate/share-class/components/ShareClassItemCard/index.js.map +1 -1
  599. package/es/modules/corporate/share-class/components/ShareClassProperties/index.js +3 -3
  600. package/es/modules/corporate/share-class/components/ShareClassProperties/index.js.map +1 -1
  601. package/es/modules/corporate/share-class/components/ShareClassProperties/state.js +13 -16
  602. package/es/modules/corporate/share-class/components/ShareClassProperties/state.js.map +1 -1
  603. package/es/modules/corporate/share-class/components/ShareClassSelect/ShareClassSelectDialog.js +1 -2
  604. package/es/modules/corporate/share-class/components/ShareClassSelect/ShareClassSelectDialog.js.map +1 -1
  605. package/es/modules/corporate/share-class/components/ShareClassSelect/index.js +4 -7
  606. package/es/modules/corporate/share-class/components/ShareClassSelect/index.js.map +1 -1
  607. package/es/modules/corporate/share-class/components/ShareClassSelect/state.js +15 -28
  608. package/es/modules/corporate/share-class/components/ShareClassSelect/state.js.map +1 -1
  609. package/es/modules/corporate/share-class/components/ShareClassShareholders/index.js +19 -23
  610. package/es/modules/corporate/share-class/components/ShareClassShareholders/index.js.map +1 -1
  611. package/es/modules/corporate/share-class/components/ShareClassShareholders/useShareClassShareholders.js +1 -2
  612. package/es/modules/corporate/share-class/components/ShareClassShareholders/useShareClassShareholders.js.map +1 -1
  613. package/es/modules/corporate/share-class/components/ShareClassTabs/index.js +1 -4
  614. package/es/modules/corporate/share-class/components/ShareClassTabs/index.js.map +1 -1
  615. package/es/modules/corporate/share-class/controls/ShareClassMenu/index.js +1 -2
  616. package/es/modules/corporate/share-class/controls/ShareClassMenu/index.js.map +1 -1
  617. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.js +2 -2
  618. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.js.map +1 -1
  619. package/es/modules/corporate/share-options-register/components/ShareOptionItems/TableDataContext.js +49 -69
  620. package/es/modules/corporate/share-options-register/components/ShareOptionItems/TableDataContext.js.map +1 -1
  621. package/es/modules/corporate/share-options-register/components/ShareOptionItems/index.js +27 -30
  622. package/es/modules/corporate/share-options-register/components/ShareOptionItems/index.js.map +1 -1
  623. package/es/modules/corporate/share-options-register/components/ShareOptionList/state.js +29 -40
  624. package/es/modules/corporate/share-options-register/components/ShareOptionList/state.js.map +1 -1
  625. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/Content.js +1 -1
  626. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/Content.js.map +1 -1
  627. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.js +3 -3
  628. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.js.map +1 -1
  629. package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js +3 -5
  630. package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js.map +1 -1
  631. package/es/modules/corporate/virtual-address/components/VirtualAddressItem/index.js +16 -19
  632. package/es/modules/corporate/virtual-address/components/VirtualAddressItem/index.js.map +1 -1
  633. package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js +2 -2
  634. package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js.map +1 -1
  635. package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js +9 -10
  636. package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js.map +1 -1
  637. package/es/modules/corporate/virtual-address/components/VirtualAddressTabs/index.js +1 -4
  638. package/es/modules/corporate/virtual-address/components/VirtualAddressTabs/index.js.map +1 -1
  639. package/es/modules/corporate/virtual-address/controls/VirtualAddressMenu/index.js +1 -2
  640. package/es/modules/corporate/virtual-address/controls/VirtualAddressMenu/index.js.map +1 -1
  641. package/es/modules/corporate/virtual-address/pages/VirtualAddressDefaultView/index.js +1 -1
  642. package/es/modules/corporate/virtual-address/pages/VirtualAddressDefaultView/index.js.map +1 -1
  643. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsItem/index.js +23 -26
  644. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsItem/index.js.map +1 -1
  645. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsList/index.js +4 -6
  646. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsList/index.js.map +1 -1
  647. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/index.js +4 -6
  648. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/index.js.map +1 -1
  649. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/state.js +2 -3
  650. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/state.js.map +1 -1
  651. package/es/modules/corporate/virtual-address-mail/components/ConfirmCollectionDialog/index.js +1 -2
  652. package/es/modules/corporate/virtual-address-mail/components/ConfirmCollectionDialog/index.js.map +1 -1
  653. package/es/modules/corporate/virtual-address-mail/components/ConfirmForwardDialog/index.js +1 -2
  654. package/es/modules/corporate/virtual-address-mail/components/ConfirmForwardDialog/index.js.map +1 -1
  655. package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/Item.js +1 -1
  656. package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/Item.js.map +1 -1
  657. package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.js +1 -1
  658. package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.js.map +1 -1
  659. package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js +2 -4
  660. package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js.map +1 -1
  661. package/es/modules/corporate/virtual-address-mail/components/SenderSelect/index.js +1 -1
  662. package/es/modules/corporate/virtual-address-mail/components/SenderSelect/index.js.map +1 -1
  663. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.js +18 -21
  664. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.js.map +1 -1
  665. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js +4 -4
  666. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js.map +1 -1
  667. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailOverview/index.js +2 -3
  668. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailOverview/index.js.map +1 -1
  669. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js +4 -5
  670. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js.map +1 -1
  671. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailTabs/index.js +1 -4
  672. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailTabs/index.js.map +1 -1
  673. package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/index.js +1 -2
  674. package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/index.js.map +1 -1
  675. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailDefaultView/index.js +1 -1
  676. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailDefaultView/index.js.map +1 -1
  677. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/index.js +20 -23
  678. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/index.js.map +1 -1
  679. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/state.js +14 -42
  680. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/state.js.map +1 -1
  681. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.js +26 -29
  682. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.js.map +1 -1
  683. package/es/modules/self-registration/clda-form/Download/index.js +28 -31
  684. package/es/modules/self-registration/clda-form/Download/index.js.map +1 -1
  685. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.js +2 -2
  686. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.js.map +1 -1
  687. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.css +3 -3
  688. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js +148 -175
  689. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js.map +1 -1
  690. package/es/modules/self-registration/clda-form/components/CLDAContactList/index.css +298 -61
  691. package/es/modules/self-registration/clda-form/components/CLDAContactList/index.d.ts +8 -2
  692. package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js +96 -106
  693. package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js.map +1 -1
  694. package/es/modules/self-registration/clda-form/components/CLDAFormConfirmationDialog/index.js +2 -3
  695. package/es/modules/self-registration/clda-form/components/CLDAFormConfirmationDialog/index.js.map +1 -1
  696. package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js +3 -4
  697. package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js.map +1 -1
  698. package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.js +7 -10
  699. package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.js.map +1 -1
  700. package/es/modules/self-registration/clda-form/components/ChiefExecutiveOfficerList/index.js +19 -24
  701. package/es/modules/self-registration/clda-form/components/ChiefExecutiveOfficerList/index.js.map +1 -1
  702. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.css +190 -11
  703. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +93 -100
  704. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
  705. package/es/modules/self-registration/clda-form/components/ContactFields/index.d.ts +107 -0
  706. package/es/modules/self-registration/clda-form/components/ContactFields/index.js +80 -0
  707. package/es/modules/self-registration/clda-form/components/ContactFields/index.js.map +1 -0
  708. package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/NewDPODialog/index.js +13 -18
  709. package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/NewDPODialog/index.js.map +1 -1
  710. package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/index.js +31 -25
  711. package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/index.js.map +1 -1
  712. package/es/modules/self-registration/clda-form/components/InternalUse/index.js +11 -16
  713. package/es/modules/self-registration/clda-form/components/InternalUse/index.js.map +1 -1
  714. package/es/modules/self-registration/clda-form/components/InternalUse/state.js +20 -28
  715. package/es/modules/self-registration/clda-form/components/InternalUse/state.js.map +1 -1
  716. package/es/modules/self-registration/clda-form/components/MemberInfo/index.d.ts +13 -5
  717. package/es/modules/self-registration/clda-form/components/MemberInfo/index.js +10 -152
  718. package/es/modules/self-registration/clda-form/components/MemberInfo/index.js.map +1 -1
  719. package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js +18 -24
  720. package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js.map +1 -1
  721. package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js +22 -27
  722. package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js.map +1 -1
  723. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js +21 -28
  724. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js.map +1 -1
  725. package/es/modules/self-registration/clda-form/components/OfficerList/index.d.ts +3 -0
  726. package/es/modules/self-registration/clda-form/components/OfficerList/index.js +29 -16
  727. package/es/modules/self-registration/clda-form/components/OfficerList/index.js.map +1 -1
  728. package/es/modules/self-registration/clda-form/components/OfficerList/state.js +20 -28
  729. package/es/modules/self-registration/clda-form/components/OfficerList/state.js.map +1 -1
  730. package/es/modules/self-registration/clda-form/components/SecretaryList/index.js +6 -3
  731. package/es/modules/self-registration/clda-form/components/SecretaryList/index.js.map +1 -1
  732. package/es/modules/self-registration/clda-form/components/SecretaryList/state.js +26 -35
  733. package/es/modules/self-registration/clda-form/components/SecretaryList/state.js.map +1 -1
  734. package/es/modules/self-registration/clda-form/components/ShareCapital/index.css +123 -9
  735. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +26 -39
  736. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
  737. package/es/modules/self-registration/clda-form/components/ShareholderList/index.d.ts +3 -0
  738. package/es/modules/self-registration/clda-form/components/ShareholderList/index.js +34 -26
  739. package/es/modules/self-registration/clda-form/components/ShareholderList/index.js.map +1 -1
  740. package/es/modules/self-registration/clda-form/components/ShareholderList/state.js +20 -28
  741. package/es/modules/self-registration/clda-form/components/ShareholderList/state.js.map +1 -1
  742. package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/index.js +3 -6
  743. package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/index.js.map +1 -1
  744. package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/state.js +22 -31
  745. package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/state.js.map +1 -1
  746. package/es/modules/self-registration/clda-form/incorporation/agm/components/ContactSelect/index.js +3 -6
  747. package/es/modules/self-registration/clda-form/incorporation/agm/components/ContactSelect/index.js.map +1 -1
  748. package/es/modules/self-registration/clda-form/incorporation/agm/components/ContactSelect/state.js +35 -55
  749. package/es/modules/self-registration/clda-form/incorporation/agm/components/ContactSelect/state.js.map +1 -1
  750. package/es/modules/self-registration/clda-form/incorporation/agm/index.css +26 -39
  751. package/es/modules/self-registration/clda-form/incorporation/agm/index.js +209 -240
  752. package/es/modules/self-registration/clda-form/incorporation/agm/index.js.map +1 -1
  753. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js +62 -78
  754. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js.map +1 -1
  755. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/state.js +20 -29
  756. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/state.js.map +1 -1
  757. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.js +2 -2
  758. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.js.map +1 -1
  759. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.css +3 -165
  760. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js +60 -71
  761. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js.map +1 -1
  762. package/es/modules/self-registration/clda-form/incorporation/bvi/index.css +0 -41
  763. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js +3 -3
  764. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js.map +1 -1
  765. package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralContext.js +41 -51
  766. package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralContext.js.map +1 -1
  767. package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js +109 -123
  768. package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js.map +1 -1
  769. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js +36 -45
  770. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js.map +1 -1
  771. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.js +32 -43
  772. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/state.js.map +1 -1
  773. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.js +26 -32
  774. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.js.map +1 -1
  775. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/state.js +27 -37
  776. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/state.js.map +1 -1
  777. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js +7 -9
  778. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js.map +1 -1
  779. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/state.js +27 -41
  780. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/state.js.map +1 -1
  781. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.js +44 -51
  782. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.js.map +1 -1
  783. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.js +8 -10
  784. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.js.map +1 -1
  785. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/state.js +23 -32
  786. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/state.js.map +1 -1
  787. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.js +44 -51
  788. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.js.map +1 -1
  789. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js +29 -38
  790. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js.map +1 -1
  791. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/state.js +32 -43
  792. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/state.js.map +1 -1
  793. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.css +2 -37
  794. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js +12 -14
  795. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js.map +1 -1
  796. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js +12 -19
  797. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js.map +1 -1
  798. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.css +0 -31
  799. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.js +7 -11
  800. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.js.map +1 -1
  801. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.css +1 -28
  802. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.js +9 -11
  803. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.js.map +1 -1
  804. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.css +5 -0
  805. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.js +8 -18
  806. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.js.map +1 -1
  807. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/state.js +31 -42
  808. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/state.js.map +1 -1
  809. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/index.js +8 -12
  810. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/index.js.map +1 -1
  811. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/state.js +29 -44
  812. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/state.js.map +1 -1
  813. package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeAddress/index.js +34 -37
  814. package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeAddress/index.js.map +1 -1
  815. package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeIndexAddress/index.js +34 -37
  816. package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeIndexAddress/index.js.map +1 -1
  817. package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.css +1 -28
  818. package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.js +8 -9
  819. package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.js.map +1 -1
  820. package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnList/index.js +5 -11
  821. package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnList/index.js.map +1 -1
  822. package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.js +3 -8
  823. package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.js.map +1 -1
  824. package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.css +1 -24
  825. package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js +10 -13
  826. package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js.map +1 -1
  827. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.css +1 -28
  828. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.js +9 -10
  829. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.js.map +1 -1
  830. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.d.ts +0 -1
  831. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.js +5 -12
  832. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.js.map +1 -1
  833. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.js +3 -8
  834. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.js.map +1 -1
  835. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.css +2 -37
  836. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js +14 -16
  837. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js.map +1 -1
  838. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js +8 -14
  839. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js.map +1 -1
  840. package/es/modules/self-registration/clda-form/incorporation/company-general/index.css +36 -165
  841. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.css +32 -66
  842. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.d.ts +11 -0
  843. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js +45 -103
  844. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js.map +1 -1
  845. package/es/modules/self-registration/clda-form/incorporation/context.js +13 -16
  846. package/es/modules/self-registration/clda-form/incorporation/context.js.map +1 -1
  847. package/es/modules/self-registration/clda-form/incorporation/sgp/index.css +31 -40
  848. package/es/modules/self-registration/clda-form/incorporation/sgp/index.js +8 -13
  849. package/es/modules/self-registration/clda-form/incorporation/sgp/index.js.map +1 -1
  850. package/es/modules/self-registration/clda-form/incorporation/switch-to-us/index.js +19 -22
  851. package/es/modules/self-registration/clda-form/incorporation/switch-to-us/index.js.map +1 -1
  852. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/Content.js +2 -5
  853. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/Content.js.map +1 -1
  854. package/es/modules/self-registration/components/MemberCard/index.js +1 -1
  855. package/es/modules/self-registration/components/MemberCard/index.js.map +1 -1
  856. package/es/modules/self-registration/components/StripeForm/index.js +2 -3
  857. package/es/modules/self-registration/components/StripeForm/index.js.map +1 -1
  858. package/es/modules/self-registration/components/StripeForm/state.js +38 -55
  859. package/es/modules/self-registration/components/StripeForm/state.js.map +1 -1
  860. package/es/modules/self-registration/controls/BusinessActivityInput/index.js +1 -1
  861. package/es/modules/self-registration/controls/BusinessActivityInput/index.js.map +1 -1
  862. package/es/modules/self-registration/controls/BusinessActivityInput/state.js +29 -35
  863. package/es/modules/self-registration/controls/BusinessActivityInput/state.js.map +1 -1
  864. package/es/modules/self-registration/controls/BusinessNameInput/index.js +41 -7
  865. package/es/modules/self-registration/controls/BusinessNameInput/index.js.map +1 -1
  866. package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.js +1 -2
  867. package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.js.map +1 -1
  868. package/es/modules/self-registration/controls/BusinessNameInputFormItem/state.js +17 -20
  869. package/es/modules/self-registration/controls/BusinessNameInputFormItem/state.js.map +1 -1
  870. package/es/modules/self-registration/controls/FlexPopover/index.js +1 -1
  871. package/es/modules/self-registration/controls/FlexPopover/index.js.map +1 -1
  872. package/es/modules/self-registration/controls/Section/index.css +26 -4
  873. package/es/modules/self-registration/controls/Tips/Tip.css +24 -0
  874. package/es/modules/self-registration/controls/Tips/Tip.d.ts +12 -0
  875. package/es/modules/self-registration/controls/Tips/Tip.js +14 -2
  876. package/es/modules/self-registration/controls/Tips/Tip.js.map +1 -1
  877. package/es/modules/self-registration/incorporation-clda/components/CLDATabs/index.js +22 -25
  878. package/es/modules/self-registration/incorporation-clda/components/CLDATabs/index.js.map +1 -1
  879. package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.js +24 -27
  880. package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.js.map +1 -1
  881. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js +3 -6
  882. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js.map +1 -1
  883. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/state.js +34 -60
  884. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/state.js.map +1 -1
  885. package/es/modules/self-registration/incorporation-clda/components/StartStep/index.js +8 -11
  886. package/es/modules/self-registration/incorporation-clda/components/StartStep/index.js.map +1 -1
  887. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/IncorporationCLDAClientContext.js +23 -28
  888. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/IncorporationCLDAClientContext.js.map +1 -1
  889. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/state.js +25 -38
  890. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/state.js.map +1 -1
  891. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.js +10 -13
  892. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.js.map +1 -1
  893. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.js +27 -30
  894. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.js.map +1 -1
  895. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js +1 -1
  896. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js.map +1 -1
  897. package/es/modules/self-registration/shopping-cart/CartState.js +176 -199
  898. package/es/modules/self-registration/shopping-cart/CartState.js.map +1 -1
  899. package/es/modules/self-registration/shopping-cart/components/Incorporation.js +2 -2
  900. package/es/modules/self-registration/shopping-cart/components/Incorporation.js.map +1 -1
  901. package/es/modules/self-registration/shopping-cart/components/NameAndActivities.js +16 -19
  902. package/es/modules/self-registration/shopping-cart/components/NameAndActivities.js.map +1 -1
  903. package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.js +35 -41
  904. package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.js.map +1 -1
  905. package/es/modules/self-registration/shopping-cart/components/ShareHolders/state.js +29 -35
  906. package/es/modules/self-registration/shopping-cart/components/ShareHolders/state.js.map +1 -1
  907. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.js +24 -28
  908. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.js.map +1 -1
  909. package/es/obsolete/FilingRecordQuickView/index.js +3 -3
  910. package/es/obsolete/FilingRecordQuickView/index.js.map +1 -1
  911. package/es/obsolete/FilingYearTimeLine/index.js +1 -1
  912. package/es/obsolete/FilingYearTimeLine/index.js.map +1 -1
  913. package/es/obsolete/controller-register/components/ControllerInformation/index.js +6 -6
  914. package/es/obsolete/controller-register/components/ControllerInformation/index.js.map +1 -1
  915. package/es/obsolete/controller-register/components/ControllerList/state.js +27 -37
  916. package/es/obsolete/controller-register/components/ControllerList/state.js.map +1 -1
  917. package/es/obsolete/controllerRegister/ControllerStore.js +8 -22
  918. package/es/obsolete/controllerRegister/ControllerStore.js.map +1 -1
  919. package/es/obsolete/corporate-page/CompanyDefaultView/state.js +37 -44
  920. package/es/obsolete/corporate-page/CompanyDefaultView/state.js.map +1 -1
  921. package/es/obsolete/corporate-page/CompanyMemberItem/index.js +5 -7
  922. package/es/obsolete/corporate-page/CompanyMemberItem/index.js.map +1 -1
  923. package/es/obsolete/corporate-page/CompanyMemberList/index.js +3 -4
  924. package/es/obsolete/corporate-page/CompanyMemberList/index.js.map +1 -1
  925. package/es/obsolete/corporate-page/ControllerItem/index.js +4 -5
  926. package/es/obsolete/corporate-page/ControllerItem/index.js.map +1 -1
  927. package/es/obsolete/corporate-page/ControllerList/index.js +3 -6
  928. package/es/obsolete/corporate-page/ControllerList/index.js.map +1 -1
  929. package/es/obsolete/corporate-page/OfficerItem/index.js +5 -7
  930. package/es/obsolete/corporate-page/OfficerItem/index.js.map +1 -1
  931. package/es/obsolete/corporate-page/OfficerList/index.js +4 -8
  932. package/es/obsolete/corporate-page/OfficerList/index.js.map +1 -1
  933. package/es/obsolete/corporate-page/ShareClassList/index.js +3 -3
  934. package/es/obsolete/corporate-page/ShareClassList/index.js.map +1 -1
  935. package/es/obsolete/filing-folder/store.js +4 -13
  936. package/es/obsolete/filing-folder/store.js.map +1 -1
  937. package/es/obsolete/order/components/OrderItems/DragTableCell.js +3 -6
  938. package/es/obsolete/order/components/OrderItems/DragTableCell.js.map +1 -1
  939. package/es/obsolete/order/components/OrderItems/index.js +15 -18
  940. package/es/obsolete/order/components/OrderItems/index.js.map +1 -1
  941. package/es/obsolete/order/components/OrderItems/state.js +53 -72
  942. package/es/obsolete/order/components/OrderItems/state.js.map +1 -1
  943. package/es/obsolete/order/context/OrderContext.js +56 -71
  944. package/es/obsolete/order/context/OrderContext.js.map +1 -1
  945. package/es/obsolete/order/controls/OrderLabel/state.js +24 -29
  946. package/es/obsolete/order/controls/OrderLabel/state.js.map +1 -1
  947. package/es/obsolete/order/controls/filters/IncorporationStatusFilter/state.js +47 -51
  948. package/es/obsolete/order/controls/filters/IncorporationStatusFilter/state.js.map +1 -1
  949. package/es/obsolete/shareCertificate/store.js +6 -20
  950. package/es/obsolete/shareCertificate/store.js.map +1 -1
  951. package/es/services/CLDAActivityLogRenderer.js +2 -6
  952. package/es/services/CLDAActivityLogRenderer.js.map +1 -1
  953. package/es/style/clda-form-theme.css +1068 -0
  954. package/es/style/common.css +2 -53
  955. package/package.json +1 -1
  956. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeItem/index.css +0 -21
  957. package/es/modules/self-registration/clda-form/components/MemberInfo/index.css +0 -181
  958. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.css +0 -9
@@ -5,29 +5,15 @@ import invariant from "invariant";
5
5
  const StoreName = "MemberStore";
6
6
  /** Quotation store supply backend functions. */
7
7
  export class MemberStore extends Store {
8
+ endpoint;
9
+ /** Name of the store */
10
+ name = StoreName;
8
11
  constructor(endpoint) {
9
12
  super();
10
- Object.defineProperty(this, "endpoint", {
11
- enumerable: true,
12
- configurable: true,
13
- writable: true,
14
- value: endpoint
15
- });
16
- /** Name of the store */
17
- Object.defineProperty(this, "name", {
18
- enumerable: true,
19
- configurable: true,
20
- writable: true,
21
- value: StoreName
22
- });
23
- /** All currently used corporate. */
24
- Object.defineProperty(this, "items", {
25
- enumerable: true,
26
- configurable: true,
27
- writable: true,
28
- value: new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }))
29
- });
13
+ this.endpoint = endpoint;
30
14
  }
15
+ /** All currently used corporate. */
16
+ items = new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }));
31
17
  /** Create a new Identity. */
32
18
  async create(options) {
33
19
  // invariant(options.name, "Name cannot be empty.");
@@ -61,10 +47,10 @@ export class MemberStore extends Store {
61
47
  const reloaded = await this.load(id, {});
62
48
  this.items.overwrite(reloaded.id, reloaded);
63
49
  }
64
- catch (_a) {
50
+ catch {
65
51
  // persisted; the observable will catch up on the next load
66
52
  }
67
- }, options !== null && options !== void 0 ? options : {});
53
+ }, options ?? {});
68
54
  }
69
55
  /** company member 內有文件不能delete */
70
56
  async delete(ids, options) {
@@ -80,8 +66,7 @@ export class MemberStore extends Store {
80
66
  return deleted;
81
67
  }
82
68
  async sendMember(options) {
83
- var _a;
84
- invariant((_a = options.data.MemberIds) === null || _a === void 0 ? void 0 : _a.length, "Id cannot be empty.");
69
+ invariant(options.data.MemberIds?.length, "Id cannot be empty.");
85
70
  return await this.action(async () => {
86
71
  await this.endpoint.post(`/api/members/send-form`, new RequestBuilder().json(options.data));
87
72
  }, options);
@@ -91,7 +76,7 @@ export class MemberStore extends Store {
91
76
  */
92
77
  async loadList(options) {
93
78
  let query = "";
94
- if (options === null || options === void 0 ? void 0 : options.Includes) {
79
+ if (options?.Includes) {
95
80
  query = query.concat(`includes=${options.Includes}`);
96
81
  }
97
82
  if (query)
@@ -1 +1 @@
1
- {"version":3,"file":"MemberStore.js","sourceRoot":"","sources":["../../../src/data/member/MemberStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAsB,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAUnG,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC,MAAM,SAAS,GAAG,aAAa,CAAC;AAEhC,gDAAgD;AAChD,MAAM,OAAO,WAAY,SAAQ,KAAK;IAIrC,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;QADU;;;;mBAAgB,QAAQ;WAAa;QAHxD,wBAAwB;QACR;;;;mBAAe,SAAS;WAAC;QAMzC,oCAAoC;QACpB;;;;mBAA4C,IAAI,UAAU,CACzE,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAmB,EAC/D,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAGhC,CACD;WAAC;IATF,CAAC;IAWD,6BAA6B;IACtB,KAAK,CAAC,MAAM,CAAC,OAAmC;QACtD,oDAAoD;QACpD,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YACnC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI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C;IACvB,CAAC;CACD;AAED,2BAA2B;AAC3B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;IAClC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAClC,OAAO,CAAC,QAAQ,CAAC,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;IAChE,CAAC;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB,CAAC;AACpD,CAAC,CAAC"}
@@ -5,32 +5,17 @@ import invariant from "invariant";
5
5
  const StoreName = "OfficerStore";
6
6
  /** Quotation store supply backend functions. */
7
7
  export class OfficerStore extends Store {
8
+ endpoint;
9
+ /** Name of the store */
10
+ name = StoreName;
8
11
  constructor(endpoint) {
9
12
  super();
10
- Object.defineProperty(this, "endpoint", {
11
- enumerable: true,
12
- configurable: true,
13
- writable: true,
14
- value: endpoint
15
- });
16
- /** Name of the store */
17
- Object.defineProperty(this, "name", {
18
- enumerable: true,
19
- configurable: true,
20
- writable: true,
21
- value: StoreName
22
- });
23
- /** All currently used corporate. */
24
- Object.defineProperty(this, "items", {
25
- enumerable: true,
26
- configurable: true,
27
- writable: true,
28
- value: new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }))
29
- });
13
+ this.endpoint = endpoint;
30
14
  }
15
+ /** All currently used corporate. */
16
+ items = new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }));
31
17
  async sendOfficer(options) {
32
- var _a;
33
- invariant((_a = options.data.OfficerIds) === null || _a === void 0 ? void 0 : _a.length, "Id cannot be empty.");
18
+ invariant(options.data.OfficerIds?.length, "Id cannot be empty.");
34
19
  return await this.action(async () => {
35
20
  await this.endpoint.post(`/api/officers/send-form`, new RequestBuilder().json(options.data));
36
21
  }, options);
@@ -68,15 +53,15 @@ export class OfficerStore extends Store {
68
53
  const reloaded = await this.load(id, {});
69
54
  this.items.overwrite(reloaded.id, reloaded);
70
55
  }
71
- catch (_a) {
56
+ catch {
72
57
  // persisted; the observable will catch up on the next load
73
58
  }
74
- }, options !== null && options !== void 0 ? options : {});
59
+ }, options ?? {});
75
60
  }
76
61
  /** officer 內有文件不能delete */
77
62
  async delete(ids, options) {
78
63
  return await this.action(async () => {
79
- await this.endpoint.delete(`/api/officers/delete`, new RequestBuilder().json({ Ids: ids, Options: options === null || options === void 0 ? void 0 : options.data }));
64
+ await this.endpoint.delete(`/api/officers/delete`, new RequestBuilder().json({ Ids: ids, Options: options?.data }));
80
65
  const deleted = [];
81
66
  for (const id of ids) {
82
67
  const item = this.items.peek(id);
@@ -93,7 +78,7 @@ export class OfficerStore extends Store {
93
78
  */
94
79
  async loadList(options) {
95
80
  let query = "";
96
- if (options === null || options === void 0 ? void 0 : options.Includes) {
81
+ if (options?.Includes) {
97
82
  query = query.concat(`includes=${options.Includes}`);
98
83
  }
99
84
  if (query)
@@ -1 +1 @@
1
- {"version":3,"file":"OfficerStore.js","sourceRoot":"","sources":["../../../src/data/officer/OfficerStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAsB,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAWnG,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC,MAAM,SAAS,GAAG,cAAc,CAAC;AAEjC,gDAAgD;AAChD,MAAM,OAAO,YAAa,SAAQ,KAAK;IAItC,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;QADU;;;;mBAAgB,QAAQ;WAAa;QAHxD,wBAAwB;QACR;;;;mBAAe,SAAS;WAAC;QAMzC,oCAAoC;QACpB;;;;mBAAsC,IAAI,UAAU,CACnE,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,EAA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EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC9D,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAe,CAAC;IACvC,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,EAAU,EAAE,OAA2B;QACxD,IAAI,KAAK,GAAG,EAAE,CAAC;QACf,IAAI,OAAO,CAAC,QAAQ;YAAE,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,YAAY,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3E,IAAI,KAAK;YAAE,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,iBAAiB,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC;QACjE,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;CACD;AAED,2BAA2B;AAC3B,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IACnC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAClC,OAAO,CAAC,QAAQ,CAAC,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;IACjE,CAAC;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkB,CAAC;AACrD,CAAC,CAAC"}
@@ -2,20 +2,11 @@ import { useService } from "@voplus/morpho-data";
2
2
  import { DocumentTypeStore, useDocumentStore, } from "@voplus/morpho-document-core";
3
3
  const StoreName = "OrderStore";
4
4
  class OrderStore extends DocumentTypeStore {
5
+ endpoint;
6
+ name = StoreName;
5
7
  constructor(endpoint, documents) {
6
8
  super(endpoint, "/api/orders", documents);
7
- Object.defineProperty(this, "endpoint", {
8
- enumerable: true,
9
- configurable: true,
10
- writable: true,
11
- value: endpoint
12
- });
13
- Object.defineProperty(this, "name", {
14
- enumerable: true,
15
- configurable: true,
16
- writable: true,
17
- value: StoreName
18
- });
9
+ this.endpoint = endpoint;
19
10
  }
20
11
  }
21
12
  export default OrderStore;
@@ -1 +1 @@
1
- {"version":3,"file":"OrderStore.js","sourceRoot":"","sources":["../../../src/data/order/OrderStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAEN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAKtC,MAAM,SAAS,GAAG,YAAY,CAAC;AAE/B,MAAM,UAAW,SAAQ,iBAOxB;IAGA,YAAmC,QAAqB,EAAE,SAAwB;QACjF,KAAK,CAAC,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC;QADxB;;;;mBAAgB,QAAQ;WAAa;QAFxC;;;;mBAAe,SAAS;WAAC;IAIzC,CAAC;CACD;AAED,eAAe,UAAU,CAAC;AAE1B,yCAAyC;AACzC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE;IACjC,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IACrC,OAAO,UAAU,CAChB,SAAS,EACT,CAAC,OAAmB,EAAE,EAAE,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAC/E,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"OrderStore.js","sourceRoot":"","sources":["../../../src/data/order/OrderStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAEN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAKtC,MAAM,SAAS,GAAG,YAAY,CAAC;AAE/B,MAAM,UAAW,SAAQ,iBAOxB;IAGmC;IAFnB,IAAI,GAAW,SAAS,CAAC;IAEzC,YAAmC,QAAqB,EAAE,SAAwB;QACjF,KAAK,CAAC,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC;QADR,aAAQ,GAAR,QAAQ,CAAa;IAExD,CAAC;CACD;AAED,eAAe,UAAU,CAAC;AAE1B,yCAAyC;AACzC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE;IACjC,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IACrC,OAAO,UAAU,CAChB,SAAS,EACT,CAAC,OAAmB,EAAE,EAAE,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAC/E,CAAC;AACH,CAAC,CAAC"}
@@ -1,8 +1,7 @@
1
- import { __classPrivateFieldGet, __classPrivateFieldSet, __esDecorate, __runInitializers } from "tslib";
1
+ import { __esDecorate, __runInitializers } from "tslib";
2
2
  import { action, computed, observable } from "mobx";
3
3
  import { createContext, useContext } from "react";
4
4
  let State = (() => {
5
- var _a, _State_root_accessor_storage, _State_width_accessor_storage;
6
5
  let _instanceExtraInitializers = [];
7
6
  let _root_decorators;
8
7
  let _root_initializers = [];
@@ -12,41 +11,37 @@ let State = (() => {
12
11
  let _width_extraInitializers = [];
13
12
  let _update_decorators;
14
13
  let _get_loaded_decorators;
15
- return _a = class State {
16
- /** */
17
- get root() { return __classPrivateFieldGet(this, _State_root_accessor_storage, "f"); }
18
- set root(value) { __classPrivateFieldSet(this, _State_root_accessor_storage, value, "f"); }
19
- /** */
20
- get width() { return __classPrivateFieldGet(this, _State_width_accessor_storage, "f"); }
21
- set width(value) { __classPrivateFieldSet(this, _State_width_accessor_storage, value, "f"); }
22
- update(unit) {
23
- this.root = unit;
24
- }
25
- get loaded() {
26
- var _b, _c;
27
- return !!(((_b = this.root) === null || _b === void 0 ? void 0 : _b.relationships) && ((_c = this.root.relationships) === null || _c === void 0 ? void 0 : _c.length));
28
- }
29
- constructor() {
30
- _State_root_accessor_storage.set(this, (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _root_initializers, void 0)));
31
- _State_width_accessor_storage.set(this, (__runInitializers(this, _root_extraInitializers), __runInitializers(this, _width_initializers, undefined)));
32
- __runInitializers(this, _width_extraInitializers);
33
- }
34
- },
35
- _State_root_accessor_storage = new WeakMap(),
36
- _State_width_accessor_storage = new WeakMap(),
37
- (() => {
14
+ return class State {
15
+ static {
38
16
  const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
39
17
  _root_decorators = [observable];
40
18
  _width_decorators = [observable];
41
19
  _update_decorators = [action];
42
20
  _get_loaded_decorators = [computed];
43
- __esDecorate(_a, null, _root_decorators, { kind: "accessor", name: "root", static: false, private: false, access: { has: obj => "root" in obj, get: obj => obj.root, set: (obj, value) => { obj.root = value; } }, metadata: _metadata }, _root_initializers, _root_extraInitializers);
44
- __esDecorate(_a, null, _width_decorators, { kind: "accessor", name: "width", static: false, private: false, access: { has: obj => "width" in obj, get: obj => obj.width, set: (obj, value) => { obj.width = value; } }, metadata: _metadata }, _width_initializers, _width_extraInitializers);
45
- __esDecorate(_a, null, _update_decorators, { kind: "method", name: "update", static: false, private: false, access: { has: obj => "update" in obj, get: obj => obj.update }, metadata: _metadata }, null, _instanceExtraInitializers);
46
- __esDecorate(_a, null, _get_loaded_decorators, { kind: "getter", name: "loaded", static: false, private: false, access: { has: obj => "loaded" in obj, get: obj => obj.loaded }, metadata: _metadata }, null, _instanceExtraInitializers);
47
- if (_metadata) Object.defineProperty(_a, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
48
- })(),
49
- _a;
21
+ __esDecorate(this, null, _root_decorators, { kind: "accessor", name: "root", static: false, private: false, access: { has: obj => "root" in obj, get: obj => obj.root, set: (obj, value) => { obj.root = value; } }, metadata: _metadata }, _root_initializers, _root_extraInitializers);
22
+ __esDecorate(this, null, _width_decorators, { kind: "accessor", name: "width", static: false, private: false, access: { has: obj => "width" in obj, get: obj => obj.width, set: (obj, value) => { obj.width = value; } }, metadata: _metadata }, _width_initializers, _width_extraInitializers);
23
+ __esDecorate(this, null, _update_decorators, { kind: "method", name: "update", static: false, private: false, access: { has: obj => "update" in obj, get: obj => obj.update }, metadata: _metadata }, null, _instanceExtraInitializers);
24
+ __esDecorate(this, null, _get_loaded_decorators, { kind: "getter", name: "loaded", static: false, private: false, access: { has: obj => "loaded" in obj, get: obj => obj.loaded }, metadata: _metadata }, null, _instanceExtraInitializers);
25
+ if (_metadata) Object.defineProperty(this, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
26
+ }
27
+ #root_accessor_storage = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _root_initializers, void 0));
28
+ /** */
29
+ get root() { return this.#root_accessor_storage; }
30
+ set root(value) { this.#root_accessor_storage = value; }
31
+ #width_accessor_storage = (__runInitializers(this, _root_extraInitializers), __runInitializers(this, _width_initializers, undefined));
32
+ /** */
33
+ get width() { return this.#width_accessor_storage; }
34
+ set width(value) { this.#width_accessor_storage = value; }
35
+ update(unit) {
36
+ this.root = unit;
37
+ }
38
+ get loaded() {
39
+ return !!(this.root?.relationships && this.root.relationships?.length);
40
+ }
41
+ constructor() {
42
+ __runInitializers(this, _width_extraInitializers);
43
+ }
44
+ };
50
45
  })();
51
46
  export { State };
52
47
  export const CorporateRelationshipContext = createContext(null);
@@ -1 +1 @@
1
- {"version":3,"file":"CorporateRelationshipContext.js","sourceRoot":"","sources":["../../../src/data/relationship/CorporateRelationshipContext.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;IAKrC,KAAK;;;;;;;;;;;sBAAL,KAAK;YACjB,MAAM;YACM,IAAgB,IAAI,8EAAkD;YAAtE,IAAgB,IAAI,mFAAkD;YAClF,MAAM;YACM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,0BAFA,mDAAK,uDAEiE;QADlF,MAAM;QACM,IAAgB,IAAI,0CAAkD;QAAtE,IAAgB,IAAI,gDAAkD;QAEtE,0HAA4C,SAAS,GAAC;QADlE,MAAM;QACM,IAAgB,KAAK,2CAAiC;QAAtD,IAAgB,KAAK,iDAAiC;QAG3D,MAAM,CAAC,IAAoD;YACjE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAClB,CAAC;QAID,IAAW,MAAM;YAChB,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,aAAa,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QACxE,CAAC;;;;;;SAfW,KAAK;AAkBlB,MAAM,CAAC,MAAM,4BAA4B,GAAG,aAAa,CAAQ,IAAW,CAAC,CAAC;AAE9E,MAAM,CAAC,MAAM,+BAA+B,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC"}
@@ -3,29 +3,15 @@ import { observable } from "mobx";
3
3
  const StoreName = "RelationshipStore";
4
4
  /** Quotation store supply backend functions. */
5
5
  export class RelationshipStore extends Store {
6
+ endpoint;
7
+ /** Name of the store */
8
+ name = StoreName;
6
9
  constructor(endpoint) {
7
10
  super();
8
- Object.defineProperty(this, "endpoint", {
9
- enumerable: true,
10
- configurable: true,
11
- writable: true,
12
- value: endpoint
13
- });
14
- /** Name of the store */
15
- Object.defineProperty(this, "name", {
16
- enumerable: true,
17
- configurable: true,
18
- writable: true,
19
- value: StoreName
20
- });
21
- /** All currently used corporate. */
22
- Object.defineProperty(this, "items", {
23
- enumerable: true,
24
- configurable: true,
25
- writable: true,
26
- value: new CountedMap((key) => ({ loaded: false }), observable.map([], { deep: true }))
27
- });
11
+ this.endpoint = endpoint;
28
12
  }
13
+ /** All currently used corporate. */
14
+ items = new CountedMap((key) => ({ loaded: false }), observable.map([], { deep: true }));
29
15
  // : Promise<IUnitRelationship[]>
30
16
  async load(id, options) {
31
17
  let query = "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,CAAC;QACrC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,EAAE,iBAAiB,KAAK,EAAE,CAAC,CAAC;QAC5E,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;CACD;AAED,2BAA2B;AAC3B,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACxC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAClC,OAAO,CAAC,QAAQ,CAAC,IAAI,iBAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;IACtE,CAAC;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAuB,CAAC;AAC1D,CAAC,CAAC"}
@@ -5,41 +5,17 @@ import { EventDispatcher } from "strongly-typed-events";
5
5
  const StoreName = "RiskMatchStore";
6
6
  /** Quotation store supply backend functions. */
7
7
  export class RiskMatchStore extends Store {
8
+ endpoint;
9
+ /** Name of the store */
10
+ name = StoreName;
11
+ _riskMatchDeleted = new EventDispatcher();
12
+ _riskMatchCreated = new EventDispatcher();
8
13
  constructor(endpoint) {
9
14
  super();
10
- Object.defineProperty(this, "endpoint", {
11
- enumerable: true,
12
- configurable: true,
13
- writable: true,
14
- value: endpoint
15
- });
16
- /** Name of the store */
17
- Object.defineProperty(this, "name", {
18
- enumerable: true,
19
- configurable: true,
20
- writable: true,
21
- value: StoreName
22
- });
23
- Object.defineProperty(this, "_riskMatchDeleted", {
24
- enumerable: true,
25
- configurable: true,
26
- writable: true,
27
- value: new EventDispatcher()
28
- });
29
- Object.defineProperty(this, "_riskMatchCreated", {
30
- enumerable: true,
31
- configurable: true,
32
- writable: true,
33
- value: new EventDispatcher()
34
- });
35
- /** All currently used corporate. */
36
- Object.defineProperty(this, "items", {
37
- enumerable: true,
38
- configurable: true,
39
- writable: true,
40
- value: new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }))
41
- });
15
+ this.endpoint = endpoint;
42
16
  }
17
+ /** All currently used corporate. */
18
+ items = new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }));
43
19
  /** Event fires when a delete customer has been deleted. */
44
20
  get RiskMatchDeletedEvent() {
45
21
  return this._riskMatchDeleted.asEvent();
@@ -59,7 +35,7 @@ export class RiskMatchStore extends Store {
59
35
  /** customer 內有文件不能delete */
60
36
  async delete(ids, options) {
61
37
  return await this.action(async () => {
62
- await this.endpoint.delete(`/api/units/risk-matches/delete`, new RequestBuilder().json({ Ids: ids, Options: options === null || options === void 0 ? void 0 : options.data }));
38
+ await this.endpoint.delete(`/api/units/risk-matches/delete`, new RequestBuilder().json({ Ids: ids, Options: options?.data }));
63
39
  const deleted = [];
64
40
  for (const id of ids) {
65
41
  const item = this.items.peek(id);
@@ -76,7 +52,7 @@ export class RiskMatchStore extends Store {
76
52
  */
77
53
  async loadList(options) {
78
54
  let query = "";
79
- if (options === null || options === void 0 ? void 0 : options.Includes) {
55
+ if (options?.Includes) {
80
56
  query = query.concat(`includes=${options.Includes}`);
81
57
  }
82
58
  if (query)
@@ -1 +1 @@
1
- {"version":3,"file":"RiskMatchStore.js","sourceRoot":"","sources":["../../../src/data/risk-match/RiskMatchStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAK/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,SAAS,GAAG,gBAAgB,CAAC;AAEnC,gDAAgD;AAChD,MAAM,OAAO,cAAe,SAAQ,KAAK;IAMxC,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;QADU;;;;mBAA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AAC;IACnE,CAAC;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoB,CAAC;AACvD,CAAC,CAAC"}
@@ -5,41 +5,17 @@ import { EventDispatcher } from "strongly-typed-events";
5
5
  const StoreName = "RiskProfileStore";
6
6
  /** Quotation store supply backend functions. */
7
7
  export class RiskProfileStore extends Store {
8
+ endpoint;
9
+ /** Name of the store */
10
+ name = StoreName;
11
+ _riskProfileDeleted = new EventDispatcher();
12
+ _riskProfileCreated = new EventDispatcher();
8
13
  constructor(endpoint) {
9
14
  super();
10
- Object.defineProperty(this, "endpoint", {
11
- enumerable: true,
12
- configurable: true,
13
- writable: true,
14
- value: endpoint
15
- });
16
- /** Name of the store */
17
- Object.defineProperty(this, "name", {
18
- enumerable: true,
19
- configurable: true,
20
- writable: true,
21
- value: StoreName
22
- });
23
- Object.defineProperty(this, "_riskProfileDeleted", {
24
- enumerable: true,
25
- configurable: true,
26
- writable: true,
27
- value: new EventDispatcher()
28
- });
29
- Object.defineProperty(this, "_riskProfileCreated", {
30
- enumerable: true,
31
- configurable: true,
32
- writable: true,
33
- value: new EventDispatcher()
34
- });
35
- /** All currently used corporate. */
36
- Object.defineProperty(this, "items", {
37
- enumerable: true,
38
- configurable: true,
39
- writable: true,
40
- value: new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }))
41
- });
15
+ this.endpoint = endpoint;
42
16
  }
17
+ /** All currently used corporate. */
18
+ items = new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }));
43
19
  /** Event fires when a delete RiskProfile has been deleted. */
44
20
  get RiskProfileDeletedEvent() {
45
21
  return this._riskProfileDeleted.asEvent();
@@ -81,7 +57,7 @@ export class RiskProfileStore extends Store {
81
57
  /** RiskProfile 內有文件不能delete */
82
58
  async delete(ids, options) {
83
59
  return await this.action(async () => {
84
- await this.endpoint.delete(`/api/units/risk-profiles/delete`, new RequestBuilder().json({ Ids: ids, Options: options === null || options === void 0 ? void 0 : options.data }));
60
+ await this.endpoint.delete(`/api/units/risk-profiles/delete`, new RequestBuilder().json({ Ids: ids, Options: options?.data }));
85
61
  const deleted = [];
86
62
  for (const id of ids) {
87
63
  const item = this.items.peek(id);
@@ -95,7 +71,7 @@ export class RiskProfileStore extends Store {
95
71
  }
96
72
  async loadRelativeProfileList(id, options) {
97
73
  let query = "";
98
- if (options === null || options === void 0 ? void 0 : options.Includes) {
74
+ if (options?.Includes) {
99
75
  query = query.concat(`includes=${options.Includes}`);
100
76
  }
101
77
  if (query)
@@ -108,7 +84,7 @@ export class RiskProfileStore extends Store {
108
84
  */
109
85
  async loadList(options) {
110
86
  let query = "";
111
- if (options === null || options === void 0 ? void 0 : options.Includes) {
87
+ if (options?.Includes) {
112
88
  query = query.concat(`includes=${options.Includes}`);
113
89
  }
114
90
  if (query)
@@ -1 +1 @@
1
- {"version":3,"file":"RiskProfileStore.js","sourceRoot":"","sources":["../../../src/data/risk-profile/RiskProfileStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAsB,MAAM,qBAAqB,CAAC;AAUnG,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,SAAS,GAAG,kBAAkB,CAAC;AAErC,gDAAgD;AAChD,MAAM,OAAO,gBAAiB,SAAQ,KAAK;IAM1C,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;QADU;;;;mBAAgB,QAAQ;WAAa;QALxD,wBAAwB;QACR;;;;mBAAe,SAAS;WAAC;QACxB;;;;mBAAsB,IAAI,eAAe,EAAkC;WAAC;QAC5E;;;;mBAAsB,IAAI,eAAe,EAAkC;WAAC;QAM7F,oCAAoC;QACpB;;;;mBAA0C,IAAI,UAAU,CACvE,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EA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,CAAC;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsB,CAAC;AACzD,CAAC,CAAC"}
@@ -4,32 +4,18 @@ import { observable } from "mobx";
4
4
  const StoreName = "ServiceStore";
5
5
  /** Corporate store supply backend functions. */
6
6
  export class ServiceStore extends Store {
7
+ endpoint;
8
+ /** Name of the store */
9
+ name = StoreName;
7
10
  constructor(endpoint) {
8
11
  super();
9
- Object.defineProperty(this, "endpoint", {
10
- enumerable: true,
11
- configurable: true,
12
- writable: true,
13
- value: endpoint
14
- });
15
- /** Name of the store */
16
- Object.defineProperty(this, "name", {
17
- enumerable: true,
18
- configurable: true,
19
- writable: true,
20
- value: StoreName
21
- });
22
- /** All currently used corporate. */
23
- Object.defineProperty(this, "items", {
24
- enumerable: true,
25
- configurable: true,
26
- writable: true,
27
- value: new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }))
28
- });
12
+ this.endpoint = endpoint;
29
13
  }
14
+ /** All currently used corporate. */
15
+ items = new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }));
30
16
  async loadList(options) {
31
17
  let query = "";
32
- if (options === null || options === void 0 ? void 0 : options.Includes) {
18
+ if (options?.Includes) {
33
19
  query = query.concat(`includes=${options.Includes}`);
34
20
  }
35
21
  if (query)
@@ -1 +1 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/data/service/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAK/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,SAAS,GAAG,cAAc,CAAC;AAEjC,gDAAgD;AAChD,MAAM,OAAO,YAAa,SAAQ,KAAK;IAItC,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;QADU;;;;mBAAgB,QAAQ;WAAa;QAHxD,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AM,CAAC,KAAK,CAAC,CAAC;QACrC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,iBAAiB,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC;QACjE,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAED,4BAA4B;IACrB,KAAK,CAAC,MAAM,CAAC,OAA6B;QAChD,oDAAoD;QACpD,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YACnC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CACjC,qBAAqB,EACrB,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CACvC,CAAC;YACF,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAa,CAAC;YACvC,OAAO,CAAC,CAAC;QACV,CAAC,EAAE,OAAO,CAAC,CAAC;IACb,CAAC;CACD;AAED,0BAA0B;AAC1B,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IACnC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAClC,OAAO,CAAC,QAAQ,CAAC,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;IACjE,CAAC;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkB,CAAC;AACrD,CAAC,CAAC"}
@@ -4,35 +4,21 @@ import { observable } from "mobx";
4
4
  const StoreName = "ServiceTypeStore";
5
5
  /** Corporate store supply backend functions. */
6
6
  export class ServiceTypeStore extends Store {
7
+ endpoint;
8
+ /** Name of the store */
9
+ name = StoreName;
7
10
  constructor(endpoint) {
8
11
  super();
9
- Object.defineProperty(this, "endpoint", {
10
- enumerable: true,
11
- configurable: true,
12
- writable: true,
13
- value: endpoint
14
- });
15
- /** Name of the store */
16
- Object.defineProperty(this, "name", {
17
- enumerable: true,
18
- configurable: true,
19
- writable: true,
20
- value: StoreName
21
- });
22
- /** All currently used serviceType. */
23
- Object.defineProperty(this, "items", {
24
- enumerable: true,
25
- configurable: true,
26
- writable: true,
27
- value: new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }))
28
- });
12
+ this.endpoint = endpoint;
29
13
  }
14
+ /** All currently used serviceType. */
15
+ items = new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }));
30
16
  /** Load a list of service type from server.
31
17
  * @param {LoadDocumentListOptions}
32
18
  */
33
19
  async loadList(options) {
34
20
  let query = "";
35
- if (options === null || options === void 0 ? void 0 : options.Includes) {
21
+ if (options?.Includes) {
36
22
  query = query.concat(`includes=${options.Includes}`);
37
23
  }
38
24
  if (query)