@voplus/morpho-csp 6.1.47 → 6.1.49

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 (323) hide show
  1. package/es/components/CorporateUnitSelectDialog/index.js +18 -4
  2. package/es/components/CorporateUnitSelectDialog/index.js.map +1 -1
  3. package/es/data/corporate/CorporateStore.d.ts +1 -0
  4. package/es/data/corporate/CorporateStore.js +8 -0
  5. package/es/data/corporate/CorporateStore.js.map +1 -1
  6. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.d.ts +1 -0
  7. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +35 -9
  8. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
  9. package/es/modules/corporate/company/member-register/components/MemberTableList/index.d.ts +2 -4
  10. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +1 -1
  11. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -1
  12. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.d.ts +3 -2
  13. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js +28 -12
  14. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map +1 -1
  15. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.d.ts +2 -4
  16. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +2 -2
  17. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
  18. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts +3 -2
  19. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +30 -12
  20. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
  21. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.d.ts +3 -2
  22. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js +27 -10
  23. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js.map +1 -1
  24. package/package.json +1 -1
  25. package/es/components/CorporateMentionList/index.less +0 -51
  26. package/es/components/CorporateNavMenu/index.less +0 -17
  27. package/es/components/CorporateUnitSelectDialog/index.less +0 -117
  28. package/es/components/CorporateUnitSortableTree/index.d.ts +0 -10
  29. package/es/components/CorporateUnitSortableTree/index.js +0 -87
  30. package/es/components/CorporateUnitSortableTree/index.js.map +0 -1
  31. package/es/components/CorporateUnitSortableTree/state.d.ts +0 -62
  32. package/es/components/CorporateUnitSortableTree/state.js +0 -223
  33. package/es/components/CorporateUnitSortableTree/state.js.map +0 -1
  34. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/index.d.ts +0 -3
  35. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/index.js +0 -22
  36. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/index.js.map +0 -1
  37. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/node-content-renderer.d.ts +0 -4
  38. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/node-content-renderer.js +0 -84
  39. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/node-content-renderer.js.map +0 -1
  40. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/node-content-renderer.less +0 -342
  41. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.d.ts +0 -3
  42. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.js +0 -21
  43. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.js.map +0 -1
  44. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.less +0 -4
  45. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/index.d.ts +0 -4
  46. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/index.js +0 -23
  47. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/index.js.map +0 -1
  48. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.d.ts +0 -3
  49. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.js +0 -58
  50. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.js.map +0 -1
  51. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.less +0 -45
  52. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.d.ts +0 -3
  53. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.js +0 -73
  54. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.js.map +0 -1
  55. package/es/components/CorporateUnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.less +0 -12
  56. package/es/components/Header/index.less +0 -19
  57. package/es/components/RegisteresMenuItem/index.less +0 -11
  58. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchItem/index.less +0 -39
  59. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchList/index.less +0 -19
  60. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchPropertiesView/index.less +0 -4
  61. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.less +0 -15
  62. package/es/modules/corporate/background-investigation/risk-match/pages/RiskMatchDefaultView/index.less +0 -21
  63. package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/index.less +0 -53
  64. package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.less +0 -10
  65. package/es/modules/corporate/background-investigation/risk-profile/components/RelatedProfileList/index.less +0 -19
  66. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.less +0 -33
  67. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileItem/index.less +0 -51
  68. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileList/index.less +0 -19
  69. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileQuickView/index.less +0 -7
  70. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.less +0 -29
  71. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/index.less +0 -7
  72. package/es/modules/corporate/background-investigation/risk-profile/pages/UnitRiskProfilePage/index.less +0 -11
  73. package/es/modules/corporate/clda/components/CLDADetails/index.less +0 -9
  74. package/es/modules/corporate/clda/components/CLDAItem/index.less +0 -53
  75. package/es/modules/corporate/clda/components/CLDAListCard/index.less +0 -13
  76. package/es/modules/corporate/clda/components/CLDAListView/index.less +0 -48
  77. package/es/modules/corporate/clda/components/CLDAPanel/index.less +0 -26
  78. package/es/modules/corporate/clda/components/CLDAProperties/index.less +0 -16
  79. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +0 -10
  80. package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +0 -13
  81. package/es/modules/corporate/clda/components/NewCLDAForm/index.less +0 -7
  82. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +0 -8
  83. package/es/modules/corporate/clda/controls/ModeIcon/index.less +0 -19
  84. package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +0 -14
  85. package/es/modules/corporate/clda/pages/CLDAClientView/index.less +0 -84
  86. package/es/modules/corporate/clda/pages/CLDAListPage/index.less +0 -21
  87. package/es/modules/corporate/clda/pages/CLDASettingsPage/index.less +0 -69
  88. package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +0 -40
  89. package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +0 -91
  90. package/es/modules/corporate/company/components/CapitalCard/index.less +0 -82
  91. package/es/modules/corporate/company/components/CompanyDetailsView/index.less +0 -40
  92. package/es/modules/corporate/company/components/CompanyPageHead/index.less +0 -14
  93. package/es/modules/corporate/company/components/CompanyRegisterHead/index.less +0 -28
  94. package/es/modules/corporate/company/components/CorporateHead/index.less +0 -33
  95. package/es/modules/corporate/company/components/CorporateItem/index.less +0 -43
  96. package/es/modules/corporate/company/components/CorporateList/index.less +0 -11
  97. package/es/modules/corporate/company/components/CorporatePanel/index.less +0 -26
  98. package/es/modules/corporate/company/components/CorporateTableList/index.less +0 -14
  99. package/es/modules/corporate/company/components/SharesCard/index.less +0 -16
  100. package/es/modules/corporate/company/components/SharesCard2/index.less +0 -109
  101. package/es/modules/corporate/company/controller-register/components/ControllerHead/index.less +0 -17
  102. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +0 -15
  103. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.less +0 -127
  104. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.less +0 -45
  105. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.less +0 -38
  106. package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/index.less +0 -82
  107. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +0 -75
  108. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +0 -16
  109. package/es/modules/corporate/company/controls/CorporateStatusLabel/index.less +0 -26
  110. package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +0 -95
  111. package/es/modules/corporate/company/identity/components/IdentifyDetail/index.less +0 -86
  112. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.less +0 -75
  113. package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.less +0 -49
  114. package/es/modules/corporate/company/identity/components/IdentityItem/index.less +0 -49
  115. package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +0 -67
  116. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +0 -72
  117. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +0 -66
  118. package/es/modules/corporate/company/identity/controls/IdentityMenu/index.less +0 -34
  119. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +0 -7
  120. package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.less +0 -17
  121. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +0 -15
  122. package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.less +0 -7
  123. package/es/modules/corporate/company/member-register/components/DetailsObsolete/index.less +0 -14
  124. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.less +0 -7
  125. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +0 -33
  126. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.less +0 -103
  127. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberItem/index.less +0 -38
  128. package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/index.less +0 -82
  129. package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +0 -8
  130. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/index.less +0 -54
  131. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +0 -16
  132. package/es/modules/corporate/company/officer-register/components/OfficerHead/index.less +0 -17
  133. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/index.less +0 -7
  134. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +0 -17
  135. package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.less +0 -7
  136. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.less +0 -135
  137. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.less +0 -82
  138. package/es/modules/corporate/company/officer-register/components/SelectOfficerItem/index.less +0 -38
  139. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/index.less +0 -66
  140. package/es/modules/corporate/company/officer-register/page/OfficeRegisterPrintView/index.less +0 -61
  141. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +0 -4
  142. package/es/modules/corporate/company/pages/CorporateListPage/index.less +0 -9
  143. package/es/modules/corporate/company/pages/PermissionDeniedPage/index.less +0 -17
  144. package/es/modules/corporate/company/share-transaction-convert/index.less +0 -22
  145. package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/index.less +0 -88
  146. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +0 -11
  147. package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreviewPopover/index.less +0 -10
  148. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionCard/index.less +0 -43
  149. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +0 -51
  150. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.less +0 -76
  151. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +0 -27
  152. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +0 -41
  153. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/index.less +0 -76
  154. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.less +0 -36
  155. package/es/modules/corporate/company/share-transactions-register/components/VerifyConfirm/index.less +0 -9
  156. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +0 -5
  157. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +0 -108
  158. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +0 -21
  159. package/es/modules/corporate/components/DocumentIconList/index.less +0 -14
  160. package/es/modules/corporate/components/Statement/index.less +0 -16
  161. package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +0 -16
  162. package/es/modules/corporate/filing-record/components/FilingList/index.less +0 -6
  163. package/es/modules/corporate/filing-record/components/FilingOverview/index.less +0 -8
  164. package/es/modules/corporate/filing-record/components/FilingPanel/index.less +0 -26
  165. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +0 -29
  166. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.less +0 -31
  167. package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.less +0 -4
  168. package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.less +0 -15
  169. package/es/modules/corporate/filing-record/components/FilingTimeLineCard/index.less +0 -67
  170. package/es/modules/corporate/filing-record/components/NewFilingRecoreForm/index.less +0 -40
  171. package/es/modules/corporate/filing-record/components/SendMessageDialog/index.less +0 -14
  172. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeItem/index.less +0 -29
  173. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.less +0 -11
  174. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.less +0 -15
  175. package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.less +0 -10
  176. package/es/modules/corporate/filing-record/filing-type/pages/FilingTypeDefaultView/index.less +0 -7
  177. package/es/modules/corporate/filing-record/filing-type/pages/FilingTypeListPage/index.less +0 -9
  178. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.less +0 -96
  179. package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.less +0 -27
  180. package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.less +0 -27
  181. package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.less +0 -15
  182. package/es/modules/corporate/filing-record/filing-year/pages/FilingYearDefaultView/index.less +0 -9
  183. package/es/modules/corporate/filing-record/pages/FilingClientView/index.less +0 -7
  184. package/es/modules/corporate/filing-record/pages/FilingDefaultView/index.less +0 -7
  185. package/es/modules/corporate/filing-record/pages/FilingListPage/index.less +0 -9
  186. package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +0 -14
  187. package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +0 -71
  188. package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +0 -5
  189. package/es/modules/corporate/service/components/NewServiceDialog/index.less +0 -27
  190. package/es/modules/corporate/service/components/ServiceItem/index.less +0 -23
  191. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +0 -48
  192. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.less +0 -194
  193. package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.less +0 -28
  194. package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.less +0 -16
  195. package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.less +0 -14
  196. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.less +0 -41
  197. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.less +0 -118
  198. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +0 -85
  199. package/es/modules/corporate/share-class/components/NewShareClassForm/index.less +0 -27
  200. package/es/modules/corporate/share-class/components/ShareClassCardList/index.less +0 -85
  201. package/es/modules/corporate/share-class/components/ShareClassItemCard/index.less +0 -82
  202. package/es/modules/corporate/share-class/components/ShareClassProperties/index.less +0 -7
  203. package/es/modules/corporate/share-class/components/ShareClassPropertiesView/index.less +0 -35
  204. package/es/modules/corporate/share-class/components/ShareClassQuickViewDialog/index.less +0 -7
  205. package/es/modules/corporate/share-class/components/ShareClassSelect/index.less +0 -7
  206. package/es/modules/corporate/share-class/components/ShareClassTabs/index.less +0 -8
  207. package/es/modules/corporate/share-class/pages/ShareClassDefaultView/index.less +0 -7
  208. package/es/modules/corporate/share-class/pages/ShareClassListPage/index.less +0 -8
  209. package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +0 -11
  210. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +0 -85
  211. package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +0 -23
  212. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +0 -89
  213. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +0 -73
  214. package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.less +0 -27
  215. package/es/modules/corporate/virtual-address/components/VirtualAddressItem/index.less +0 -25
  216. package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.less +0 -15
  217. package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.less +0 -7
  218. package/es/modules/corporate/virtual-address/components/VirtualAddressPropertiesView/index.less +0 -35
  219. package/es/modules/corporate/virtual-address/components/VirtualAddressQuickViewDialog/index.less +0 -7
  220. package/es/modules/corporate/virtual-address/components/VirtualAddressTabs/index.less +0 -8
  221. package/es/modules/corporate/virtual-address/pages/VirtualAddressDefaultView/index.less +0 -7
  222. package/es/modules/corporate/virtual-address/pages/VirtualAddressListPage/index.less +0 -9
  223. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsItem/index.less +0 -51
  224. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsList/index.less +0 -14
  225. package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.less +0 -55
  226. package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.less +0 -27
  227. package/es/modules/corporate/virtual-address-mail/components/SenderDataIcon/index.less +0 -7
  228. package/es/modules/corporate/virtual-address-mail/components/SenderSelect/index.less +0 -13
  229. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.less +0 -34
  230. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.less +0 -12
  231. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailPanel/index.less +0 -26
  232. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.less +0 -7
  233. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailPropertiesView/index.less +0 -26
  234. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailQuickViewDialog/index.less +0 -7
  235. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailTabs/index.less +0 -8
  236. package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailStatusLabel/index.less +0 -30
  237. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailDefaultView/index.less +0 -7
  238. package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/index.less +0 -9
  239. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +0 -44
  240. package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +0 -28
  241. package/es/modules/self-registration/clda-form/Download/index.less +0 -41
  242. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +0 -26
  243. package/es/modules/self-registration/clda-form/Upload/index.less +0 -15
  244. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.less +0 -25
  245. package/es/modules/self-registration/clda-form/components/CLDAContactList/index.less +0 -101
  246. package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.less +0 -31
  247. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +0 -27
  248. package/es/modules/self-registration/clda-form/components/MemberInfo/index.less +0 -246
  249. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +0 -12
  250. package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +0 -36
  251. package/es/modules/self-registration/clda-form/incorporation/agm/index.less +0 -83
  252. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.less +0 -177
  253. package/es/modules/self-registration/clda-form/incorporation/bvi/index.less +0 -49
  254. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.less +0 -12
  255. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.less +0 -16
  256. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.less +0 -37
  257. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.less +0 -12
  258. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.less +0 -14
  259. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.less +0 -12
  260. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.less +0 -12
  261. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.less +0 -74
  262. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.less +0 -45
  263. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.less +0 -50
  264. package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.less +0 -11
  265. package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.less +0 -50
  266. package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.less +0 -55
  267. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.less +0 -46
  268. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.less +0 -12
  269. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.less +0 -74
  270. package/es/modules/self-registration/clda-form/incorporation/company-general/index.less +0 -191
  271. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.less +0 -100
  272. package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +0 -61
  273. package/es/modules/self-registration/clda-form/incorporation/switch-to-us/index.less +0 -10
  274. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +0 -35
  275. package/es/modules/self-registration/components/Card/index.less +0 -50
  276. package/es/modules/self-registration/components/CheckSection/index.less +0 -20
  277. package/es/modules/self-registration/components/MemberCard/index.less +0 -50
  278. package/es/modules/self-registration/components/StripeForm/index.less +0 -36
  279. package/es/modules/self-registration/controls/Blink/index.less +0 -27
  280. package/es/modules/self-registration/controls/Section/index.less +0 -90
  281. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +0 -2
  282. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +0 -10
  283. package/es/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.less +0 -6
  284. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +0 -5
  285. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.less +0 -40
  286. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/IncorporationClientViewCard/index.less +0 -19
  287. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.less +0 -99
  288. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +0 -131
  289. package/es/modules/self-registration/shopping-cart/ChooseService/index.less +0 -12
  290. package/es/modules/self-registration/shopping-cart/Payment/index.less +0 -11
  291. package/es/modules/self-registration/shopping-cart/components/Pay/index.less +0 -14
  292. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +0 -75
  293. package/es/modules/self-registration/shopping-cart/components/styles.less +0 -23
  294. package/es/modules/self-registration/shopping-cart/pages.less +0 -6
  295. package/es/obsolete/FilingRecordQuickView/index.less +0 -68
  296. package/es/obsolete/FilingYearTimeLine/index.less +0 -71
  297. package/es/obsolete/OfficerRegisterDefaultView/index.less +0 -23
  298. package/es/obsolete/ShareCertificateDefaultView/index.less +0 -36
  299. package/es/obsolete/ShareTransactionPropertiesView/index.less +0 -89
  300. package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.less +0 -36
  301. package/es/obsolete/controller-register/components/ControllerItem/index.less +0 -29
  302. package/es/obsolete/controller-register/components/ControllerList/index.less +0 -11
  303. package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +0 -1
  304. package/es/obsolete/corporate-page/CompanyDefaultView/index.less +0 -63
  305. package/es/obsolete/corporate-page/CompanyMemberItem/index.less +0 -71
  306. package/es/obsolete/corporate-page/CompanyMemberList/index.less +0 -13
  307. package/es/obsolete/corporate-page/CompanyMemberListCard/index.less +0 -25
  308. package/es/obsolete/corporate-page/ControllerItem/index.less +0 -69
  309. package/es/obsolete/corporate-page/ControllerList/index.less +0 -17
  310. package/es/obsolete/corporate-page/OfficerItem/index.less +0 -69
  311. package/es/obsolete/corporate-page/OfficerList/index.less +0 -11
  312. package/es/obsolete/corporate-page/OfficerListCard/index.less +0 -25
  313. package/es/obsolete/corporate-page/ShareClassItem/index.less +0 -26
  314. package/es/obsolete/corporate-page/ShareClassList/index.less +0 -11
  315. package/es/obsolete/order/components/OrderItem/index.less +0 -22
  316. package/es/obsolete/order/components/OrderItems/index.less +0 -48
  317. package/es/obsolete/order/components/OrderPropertiesView/index.less +0 -13
  318. package/es/obsolete/order/controls/IncorporationStatusLabel/index.less +0 -41
  319. package/es/obsolete/order/controls/OrderLabel/index.less +0 -21
  320. package/es/obsolete/order/pages/OrderDefaultView/index.less +0 -13
  321. package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.less +0 -30
  322. package/es/style/common.less +0 -175
  323. package/es/style/print.less +0 -29
@@ -1,10 +1,10 @@
1
1
  import React, { useState } from "react";
2
2
  import { runInAction } from "mobx";
3
- import { Input, Menu, Button } from "antd";
3
+ import { Input, Menu, Button, Dropdown, Modal } from "antd";
4
4
  import { LoadingOutlined } from "@ant-design/icons";
5
5
  import { State } from "../ShareTransactionList/state";
6
6
  import { useDeepMemo, useApplicationContext } from "@voplus/morpho-data";
7
- import { faFileInvoiceDollar, faPrint } from "@fortawesome/pro-solid-svg-icons";
7
+ import { faFileInvoiceDollar, faPrint, faEllipsisVertical, faTrash, } from "@fortawesome/pro-solid-svg-icons";
8
8
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
9
9
  import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
10
10
  import { observe, useRenderOnChange } from "@voplus/morpho-ui";
@@ -20,7 +20,6 @@ import Item from "./Item";
20
20
  import "./index.less";
21
21
  const ShareTransactionTableList = (props) => {
22
22
  const { shareTransactionId, corporateId, pageHeader } = props;
23
- const [shareTransactionTotal, setShareTransactionTotal] = useState(0);
24
23
  const [active, setActive] = useState(null);
25
24
  const [asideContext] = useState(AsideContent.createContext());
26
25
  const { user } = useApplicationContext();
@@ -36,11 +35,31 @@ const ShareTransactionTableList = (props) => {
36
35
  useRenderOnChange(() => list.filters.options);
37
36
  useShareTransactionListEffect(list, (result, total) => {
38
37
  list.union(result);
39
- setShareTransactionTotal(total);
40
38
  }, {
41
39
  Total: true,
42
40
  ...list.filters.options,
43
41
  });
42
+ const items = [
43
+ {
44
+ key: "print",
45
+ label: (React.createElement("a", { target: "_blank", rel: "noopener noreferrer", href: window.location.origin + `/share-transactions/print/${corporateId}` }, "Print")),
46
+ icon: React.createElement(FAIcon, { icon: faPrint }),
47
+ },
48
+ {
49
+ key: "delete-register",
50
+ label: React.createElement("span", null, "Delete"),
51
+ icon: React.createElement(FAIcon, { icon: faTrash }),
52
+ onClick: () => {
53
+ Modal.confirm({
54
+ title: "Confirm Delete",
55
+ content: "Are you sure you want to delete this register?",
56
+ okText: "Delete",
57
+ cancelText: "Cancel",
58
+ onOk: () => { var _a; return (_a = props.onDelete) === null || _a === void 0 ? void 0 : _a.call(props, corporateId, shareTransactionId); },
59
+ });
60
+ },
61
+ },
62
+ ];
44
63
  return observe(() => {
45
64
  return (React.createElement(AsideContent, { context: asideContext },
46
65
  React.createElement(ListDataContext.Provider, { value: list },
@@ -49,11 +68,6 @@ const ShareTransactionTableList = (props) => {
49
68
  React.createElement(ListHeaderTool, { visible: true, addAble: false, sortable: false, searchOptions: { placeholder: "Search in transaction" }, filterViewProps: {
50
69
  columns: [React.createElement(TransactionTypeFilter, { key: "TransactionTypeFilter" })],
51
70
  }, rightExtra: () => (React.createElement(React.Fragment, null,
52
- React.createElement(Button, { className: "print-btn", onClick: () => {
53
- const url = window.location.origin + `/share-transactions/print/${corporateId}`;
54
- window.open(url, "_blank");
55
- } },
56
- React.createElement(FAIcon, { icon: faPrint })),
57
71
  !user.info.guest && (React.createElement(AddDropDown2, { btnType: "text", trigger: ["click"], overlay: React.createElement(Menu, { onClick: state.onSelect, items: [
58
72
  { key: "Allotment", label: "Allotment" },
59
73
  { key: "Transfer", label: "Transfer" },
@@ -63,7 +77,10 @@ const ShareTransactionTableList = (props) => {
63
77
  { key: "Divide", label: "Divide" },
64
78
  { key: "Import", label: "Import" },
65
79
  { key: "Others", label: "Others" },
66
- ] }) })))) }),
80
+ ] }) })),
81
+ React.createElement(Dropdown, { className: "share-transaction-table-list-dropdown-btn", overlayClassName: "share-transaction-table-list-dropdown", menu: { items } },
82
+ React.createElement(Button, null,
83
+ React.createElement(FAIcon, { icon: faEllipsisVertical }))))) }),
67
84
  React.createElement(ListView, { className: "list-content", asideable: false, headerProps: {
68
85
  visible: false,
69
86
  }, renderItem: ({ item }) => (React.createElement(Item, { active: active === item.id, id: item.id, onClick: () => setActive(item.id) })) }),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EACN,6BAA6B,EAC7B,wBAAwB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,YAAY,MAAM,uEAAuE,CAAC;AACjG,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,YAAY,MAAM,qDAAqD,CAAC;AA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AAW,KAAK,CAAC,IAAI,uBAAuB,EACzD,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,oBAAC,eAAe,OAAG,CAAC,CAAC,CAAC,EAAE,EAChD,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE;gCAChB,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;oCAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;4BACpE,CAAC,GACA,CACG,CACN,CACI,CACoB,CACb,CACf,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM;QACpB,MAAM,UAAU,CAAC,MAAM,CAAC;YACvB,IAAI,EAAE;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,eAAe,EAAE,KAAK,CAAC,IAAI;gBAC3B,QAAQ,EAAE,KAAK;aACf;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAA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,CAAC,CAAC,EACjE,WAAW,EAAE,WAAW,KAAK,CAAC,IAAI,uBAAuB,EACzD,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,oBAAC,eAAe,OAAG,CAAC,CAAC,CAAC,EAAE,EAChD,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE;gCAChB,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;oCAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;4BACpE,CAAC,GACA,CACG,CACN,CACI,CACoB,CACb,CACf,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM;QACpB,MAAM,UAAU,CAAC,MAAM,CAAC;YACvB,IAAI,EAAE;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,eAAe,EAAE,KAAK,CAAC,IAAI;gBAC3B,QAAQ,EAAE,KAAK;aACf;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-csp",
3
- "version": "6.1.47",
3
+ "version": "6.1.49",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"
@@ -1,51 +0,0 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- :global {
4
- .mention-list {
5
- display: flex;
6
- justify-content: space-between;
7
- align-items: center;
8
-
9
- > .buttons {
10
- :hover {
11
- color: @primary-color;
12
- font-size: 1.05rem;
13
-
14
- svg {
15
- filter: drop-shadow(2px 2px 2px @primary-color);
16
- }
17
- }
18
-
19
- cursor: pointer;
20
- font-size: 1rem;
21
-
22
- svg {
23
- margin-left: 5px;
24
- }
25
- }
26
-
27
- &:not(:hover) {
28
- .edit-icon {
29
- display: none;
30
- }
31
- }
32
-
33
- .edit-icon {
34
- cursor: pointer;
35
- font-size: 1rem;
36
- color: lightgray;
37
- }
38
- }
39
- }
40
-
41
- .unit-reference-node {
42
- display: inline-block;
43
- color: @reference-color;
44
- cursor: pointer;
45
- line-height: unit((24/18), em);
46
- word-break: break-word;
47
- background: @reference-bg-color;
48
- border-radius: @border-radius;
49
- padding: unit((8/18), em);
50
- margin: unit((8/18), em) unit((8/18), em) unit((8/18), em) 0;
51
- }
@@ -1,17 +0,0 @@
1
- :global {
2
- .registers-popover-overlay {
3
- .ant-popover-inner {
4
- padding: 0;
5
- }
6
- .registers-menu.ant-menu-light.ant-menu-root.ant-menu-vertical {
7
- border-inline-end: none;
8
- }
9
- }
10
- .registers-popover {
11
- display: block;
12
- width: 100%;
13
- font-weight: 500;
14
- --tw-text-opacity: 1;
15
- color: rgb(37 99 235 / var(--tw-text-opacity, 1));
16
- }
17
- }
@@ -1,117 +0,0 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- .doc-select-dialog {
4
- top: 70px;
5
-
6
- :global {
7
- .ant-modal-content {
8
- .ant-modal-header {
9
- padding: 15px 24px !important;
10
- }
11
- }
12
-
13
- .ant-modal-body {
14
- display: flex;
15
- height: 600px;
16
- padding: 5px 10px 10px !important;
17
-
18
- .file-tree {
19
- flex: 0;
20
- min-width: 240px;
21
- padding-right: 10px;
22
- border-right: 1px solid #e6e6e6;
23
- }
24
-
25
- .body-content-display-area {
26
- flex: 1;
27
-
28
- .ant-checkbox-group {
29
- height: calc(100% - 42px);
30
- display: block;
31
- }
32
-
33
- .units-select-function-btn {
34
- padding: 10px 20px 0;
35
-
36
- .ant-btn {
37
- height: 30px;
38
- color: #868686;
39
- padding: 2px 15px;
40
- font-weight: bold;
41
- font-size: 14px;
42
- line-height: 19px;
43
- }
44
-
45
- .ant-btn-primary {
46
- color: #ffffff;
47
- }
48
- }
49
- }
50
-
51
- .selected-contact-list {
52
- flex: 0;
53
- min-width: 240px;
54
- border-radius: @border-radius;
55
- border: 1px solid #e6e6e6;
56
-
57
- .list-header {
58
- margin: 0 14px;
59
- padding: 15px 0 10px;
60
- border-bottom: 1px solid #e6e6e6;
61
-
62
- .header-title {
63
- color: @purple-primary-color;
64
- font-weight: bold;
65
- font-size: 14px;
66
- line-height: 19px;
67
- }
68
- }
69
-
70
- .list-body {
71
- padding: 14px;
72
- height: calc(100% - 48px);
73
-
74
- .selected-contact-list-item {
75
- display: flex;
76
- margin-bottom: 10px;
77
- align-items: center;
78
- justify-content: space-between;
79
-
80
- .list-item-info {
81
- display: flex;
82
- align-items: center;
83
- }
84
-
85
- .list-item-avatar {
86
- border-radius: 0px;
87
- margin-right: 7px;
88
- }
89
-
90
- .list-item-name {
91
- max-width: 150px;
92
- color: #5d5d5d;
93
- vertical-align: middle;
94
- font-weight: 600;
95
- font-size: 14px;
96
- line-height: 19px;
97
- }
98
-
99
- .list-item-delete-btn:hover {
100
- background: none;
101
- }
102
-
103
- .list-item-delete-icon {
104
- width: 12px;
105
- height: 13px;
106
- color: #e6e6e6;
107
- }
108
- }
109
- }
110
- }
111
- }
112
-
113
- .ant-modal-footer {
114
- display: none;
115
- }
116
- }
117
- }
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import { UnitSortableTreeProps } from "./state";
3
- declare const UnitSortableTree: {
4
- (props: UnitSortableTreeProps): React.JSX.Element;
5
- defaultProps: {
6
- canDrag: boolean;
7
- theme: import("@voplus/react-sortable-tree").ThemeProps;
8
- };
9
- };
10
- export default UnitSortableTree;
@@ -1,87 +0,0 @@
1
- import { useOnDeleteUnit, useOnNewUnit, useUnit, useUnitListEffect, useUnitStore, } from "@voplus/morpho-org";
2
- import React, { useEffect, useState } from "react";
3
- import { State } from "./state";
4
- import { UnitContext, UnitContextState } from "@voplus/morpho-org/es/data/UnitContext";
5
- import { observe, useAutorunEffect, useRenderOnChange } from "@voplus/morpho-ui";
6
- import Panable from "@voplus/morpho-ui/es/controls/Panable";
7
- import SortableTree from "@voplus/react-sortable-tree";
8
- import SortableTreeUnitTheme from "./themes/SortableTreeUnitTheme";
9
- import { runInAction } from "mobx";
10
- const UnitSortableTree = (props) => {
11
- var _a, _b;
12
- const { theme, canDrag } = props;
13
- const store = useUnitStore();
14
- const [state] = useState(new State(store));
15
- /**把store 传给子级 UnitItem*/
16
- const [options] = useState(new UnitContextState());
17
- options.onUnitSelected = props.onUnitSelected;
18
- options.active = props.active;
19
- /** 根文件 / organization */
20
- const root = useUnit((_b = (_a = props.id) !== null && _a !== void 0 ? _a : props.organizationId) !== null && _b !== void 0 ? _b : "");
21
- useAutorunEffect(() => {
22
- if (root.id && root.loaded && !state.treeData.length) {
23
- root.children = state.treeChildren;
24
- runInAction(() => {
25
- state.treeData = [
26
- { id: "c896a84e-b31a-4d10-a181-5d34a21b172d", name: "Everyone" },
27
- { id: "", name: "Users" },
28
- { id: "members", name: "Members" },
29
- { id: "officers", name: "Officers" },
30
- ];
31
- });
32
- }
33
- });
34
- useEffect(() => {
35
- runInAction(() => {
36
- var _a, _b;
37
- state.filterType = props.filterType;
38
- if (state.treeData.length &&
39
- ((_a = state.treeData[0]) === null || _a === void 0 ? void 0 : _a.id) &&
40
- ((_b = state.treeData[0]) === null || _b === void 0 ? void 0 : _b.childrenListLoading) !== undefined) {
41
- state.id = state.treeData[0].id;
42
- state.treeData[0].children = [];
43
- state.treeData = [...state.treeData];
44
- state.treeNodeChildren = state.treeData[0];
45
- state.treeNodeChildren.childrenListLoading = true;
46
- state.effect = state.updateNodes;
47
- }
48
- });
49
- }, [props.filterType]);
50
- useUnitListEffect(null, state.effect, {
51
- Filters: state.filters,
52
- });
53
- useRenderOnChange(() => state.id);
54
- useOnNewUnit((s, unit) => {
55
- runInAction(() => {
56
- var _a, _b;
57
- state.editTreeData(state.treeData, unit.parentNodeId);
58
- if (!((_a = state.treeNodeChildren) === null || _a === void 0 ? void 0 : _a.children)) {
59
- state.treeNodeChildren.children = [unit];
60
- }
61
- else {
62
- const index = state.treeNodeChildren.children.findIndex((i) => i.id === unit.id);
63
- if (index === -1)
64
- (_b = state.treeNodeChildren) === null || _b === void 0 ? void 0 : _b.children.push(unit);
65
- }
66
- state.treeData = [...state.treeData];
67
- });
68
- });
69
- useOnDeleteUnit((s, unit) => {
70
- runInAction(() => {
71
- state.editTreeData(state.treeData, unit.parentNodeId);
72
- state.treeNodeChildren.children = state.treeNodeChildren.children.filter((item) => item.id !== unit.id);
73
- state.treeData = [...state.treeData];
74
- });
75
- });
76
- /** isVirtualized={false} 可以解决滚动时,重新渲染UnitItem组件
77
- * 设置为false可禁用虚拟化。默认为true。注意:拖动时自动滚动以及滚动到searchFocusOffset都将被禁用。*/
78
- return observe(() => (React.createElement(UnitContext.Provider, { value: options },
79
- React.createElement(Panable, { scroll: true, isDragging: state.isDragging },
80
- React.createElement(SortableTree, { isVirtualized: false, treeData: state.treeData, onChange: (val) => state.updateTreeData(val), getNodeKey: ({ node }) => node.id, onVisibilityToggle: (val) => state.onVisibilityToggle(val), onMoveNode: (val) => state.onMoveNode(val), canDrop: ({ nextPath }) => ((nextPath === null || nextPath === void 0 ? void 0 : nextPath.length) > 1 ? true : false), canNodeHaveChildren: (node) => state.toHaveChildren(node), onDragStateChanged: (data) => runInAction(() => (state.isDragging = data.isDragging)), canDrag: canDrag, theme: theme })))));
81
- };
82
- UnitSortableTree.defaultProps = {
83
- canDrag: true,
84
- theme: SortableTreeUnitTheme,
85
- };
86
- export default UnitSortableTree;
87
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CorporateUnitSortableTree/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGN,eAAe,EAC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UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,EACrF,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,GACX,CACO,CACY,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,YAAY,GAAG;IAC/B,OAAO,EAAE,IAAI;IACb,KAAK,EAAE,qBAAqB;CAC5B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,62 +0,0 @@
1
- import { IUnit, UnitStore } from "@voplus/morpho-org";
2
- import { FilterOption } from "@voplus/morpho-data";
3
- export type UnitSortableTreeProps = {
4
- /** 当前 id */
5
- id?: string;
6
- /** 当前用户的Organization id */
7
- organizationId?: string;
8
- /** Unit Tree theme */
9
- theme?: any;
10
- /** 是否可以拖放 */
11
- canDrag?: boolean;
12
- filterType?: FilterOption;
13
- /** active id */
14
- active?: string;
15
- /** Unit selected */
16
- onUnitSelected?: (params?: any) => void;
17
- };
18
- export interface ITreeNodeData extends IUnit {
19
- /** node expanded 与否 */
20
- expanded?: boolean;
21
- children?: ITreeNodeData[];
22
- /** 子数据列表是否 loading */
23
- childrenListLoading?: boolean;
24
- }
25
- export declare class State {
26
- private _store;
27
- constructor(_store: UnitStore);
28
- id: string;
29
- /** 如果effect 是null就不执行 useUnitListEffect*/
30
- effect: (list: IUnit[]) => void | null;
31
- treeNodeChildren: any;
32
- /** dummy placeholder data */
33
- treeChildren: ITreeNodeData[];
34
- /** 沒load之前, 看看現在這個文件有沒有子文件, 有的話要放個 dummy placeholder data 在children里, */
35
- treeData: ITreeNodeData[];
36
- /** filter type for unit */
37
- filterType: FilterOption | undefined;
38
- /** onDragStateChanged 在拖动开始或结束时调用。拖动开始时为true,拖动结束时为false */
39
- isDragging?: boolean;
40
- /** 根据path查找文件 */
41
- findFiles(path: string[]): any;
42
- /** 接收@treeData state.treeData
43
- * @id 找id 文件 */
44
- editTreeData(treeData: any, id: string): void;
45
- /** 更新 TreeData */
46
- updateTreeData(val: any): void;
47
- /** update useUnitListEffect */
48
- updateNodes: (list: IUnit[]) => void;
49
- /**在子节点折叠或者展开后调用*/
50
- onVisibilityToggle(val: any): void;
51
- /** 在节点移动操作之后调用 */
52
- onMoveNode(val: any): Promise<void>;
53
- /**
54
- * 确定节点是否可以具有子级的功能,对于在canDrop有条件时防止悬停预览很有用。默认设置为返回的函数true。函数应为类型(node): bool
55
- */
56
- toHaveChildren(node: any): boolean;
57
- /**
58
- * unit filters
59
- * @return unit filters
60
- */
61
- get filters(): any[];
62
- }