@voplus/morpho-document 1.0.0-dev301 → 1.0.0-dev303

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 (343) hide show
  1. package/es/Modules.js +1 -1
  2. package/es/Modules.js.map +1 -1
  3. package/es/components/ActivityLog/ActivityLog2/index.js.map +1 -1
  4. package/es/components/ActivityLog/index.js.map +1 -1
  5. package/es/components/ActivityLog/state.d.ts +1 -1
  6. package/es/components/ActivityLog/state.js.map +1 -1
  7. package/es/components/AvatarList/AvatarItem/index.js +2 -2
  8. package/es/components/AvatarList/AvatarItem/index.js.map +1 -1
  9. package/es/components/AvatarList/index.js +2 -2
  10. package/es/components/AvatarList/index.js.map +1 -1
  11. package/es/components/DocumentSortableTree/themes/FileExplorerTheme/node-content-renderer.less +13 -2
  12. package/es/components/QuickAccessSearch/ObjectItem/index.js +1 -1
  13. package/es/controls/DescriptionEditor/index.d.ts +1 -0
  14. package/es/controls/DescriptionEditor/index.js +3 -2
  15. package/es/controls/DescriptionEditor/index.js.map +1 -1
  16. package/es/controls/DescriptionEditor/index.less +5 -0
  17. package/es/controls/DescriptionEditor/state.d.ts +2 -0
  18. package/es/controls/DescriptionEditor/state.js.map +1 -1
  19. package/es/controls/ToolBar/index.js +1 -1
  20. package/es/controls/ToolBar/index.js.map +1 -1
  21. package/es/controls/ToolBar/menus/Access.js +1 -1
  22. package/es/controls/ToolBar/menus/Access.js.map +1 -1
  23. package/es/pages/Page/PageDefaultView/index.js +1 -1
  24. package/es/pages/Page/PageDefaultView/index.js.map +1 -1
  25. package/es/pages/Signature/Envelope/EnvelopeRecipientView/index.js +9 -5
  26. package/es/pages/Signature/Envelope/EnvelopeRecipientView/index.js.map +1 -1
  27. package/es/pages/Signature/Letter/LetterContentView/index.d.ts +2 -7
  28. package/es/pages/Signature/Letter/LetterContentView/index.js +11 -6
  29. package/es/pages/Signature/Letter/LetterContentView/index.js.map +1 -1
  30. package/es/pages/Signature/Letter/LetterContentView/state.d.ts +19 -0
  31. package/es/pages/Signature/Letter/LetterContentView/state.js +27 -0
  32. package/es/pages/Signature/Letter/LetterContentView/state.js.map +1 -0
  33. package/es/pages/Signature/SignatureDialog/index.d.ts +2 -0
  34. package/es/pages/Signature/SignatureDialog/index.js +11 -8
  35. package/es/pages/Signature/SignatureDialog/index.js.map +1 -1
  36. package/es/pages/Signature/SignatureDialog/index.less +15 -1
  37. package/es/pages/Signature/SignatureRecipient/index.js +4 -10
  38. package/es/pages/Signature/SignatureRecipient/index.js.map +1 -1
  39. package/es/pages/Signature/SignatureTable/index.less +1 -1
  40. package/es/pages/Signature/SignerSelect/index.js +24 -12
  41. package/es/pages/Signature/SignerSelect/index.js.map +1 -1
  42. package/es/pages/Signature/SignerSelect/state.d.ts +2 -2
  43. package/es/pages/Signature/SignerSelect/state.js.map +1 -1
  44. package/es/pages/VSubmit/components/EmailRecipients/index.d.ts +1 -1
  45. package/es/pages/VSubmit/components/EmailRecipients/index.js +1 -1
  46. package/es/pages/VSubmit/components/EmailRecipients/index.js.map +1 -1
  47. package/es/pages/VSubmit/components/EmailRecipients/state.d.ts +1 -1
  48. package/es/routes.js +3 -3
  49. package/es/routes.js.map +1 -1
  50. package/package.json +4 -4
  51. package/es/components/PeopleAccess/NewAccessSelector.d.ts +0 -19
  52. package/es/components/PeopleAccess/NewAccessSelector.js +0 -117
  53. package/es/components/PeopleAccess/NewAccessSelector.js.map +0 -1
  54. package/es/components/PeopleAccess/PeopleAccess.d.ts +0 -8
  55. package/es/components/PeopleAccess/PeopleAccess.js +0 -95
  56. package/es/components/PeopleAccess/PeopleAccess.js.map +0 -1
  57. package/es/components/PeopleAccess/PeopleAccessState.d.ts +0 -25
  58. package/es/components/PeopleAccess/PeopleAccessState.js +0 -145
  59. package/es/components/PeopleAccess/PeopleAccessState.js.map +0 -1
  60. package/es/components/PeopleAccess/RoleSelector.d.ts +0 -13
  61. package/es/components/PeopleAccess/RoleSelector.js +0 -50
  62. package/es/components/PeopleAccess/RoleSelector.js.map +0 -1
  63. package/es/components/PeopleAccess/constants.d.ts +0 -14
  64. package/es/components/PeopleAccess/constants.js +0 -15
  65. package/es/components/PeopleAccess/constants.js.map +0 -1
  66. package/es/components/PeopleAccess/index.d.ts +0 -1
  67. package/es/components/PeopleAccess/index.js +0 -2
  68. package/es/components/PeopleAccess/index.js.map +0 -1
  69. package/es/components/PeopleAccess/index.less +0 -65
  70. package/es/controls/PermissionModal/index.d.ts +0 -6
  71. package/es/controls/PermissionModal/index.js +0 -10
  72. package/es/controls/PermissionModal/index.js.map +0 -1
  73. package/es/controls/PermissionModal/index.less +0 -7
  74. package/es/modules/unit/UnitUIService.d.ts +0 -6
  75. package/es/modules/unit/UnitUIService.js +0 -13
  76. package/es/modules/unit/UnitUIService.js.map +0 -1
  77. package/es/modules/unit/components/ActivityLog/index.d.ts +0 -6
  78. package/es/modules/unit/components/ActivityLog/index.js +0 -62
  79. package/es/modules/unit/components/ActivityLog/index.js.map +0 -1
  80. package/es/modules/unit/components/ActivityLog/index.less +0 -64
  81. package/es/modules/unit/components/ActivityLog/state.d.ts +0 -14
  82. package/es/modules/unit/components/ActivityLog/state.js +0 -51
  83. package/es/modules/unit/components/ActivityLog/state.js.map +0 -1
  84. package/es/modules/unit/components/AddUnitDropdown/index.d.ts +0 -10
  85. package/es/modules/unit/components/AddUnitDropdown/index.js +0 -41
  86. package/es/modules/unit/components/AddUnitDropdown/index.js.map +0 -1
  87. package/es/modules/unit/components/AddUnitDropdown/index.less +0 -58
  88. package/es/modules/unit/components/AddUnitDropdown/state.d.ts +0 -28
  89. package/es/modules/unit/components/AddUnitDropdown/state.js +0 -86
  90. package/es/modules/unit/components/AddUnitDropdown/state.js.map +0 -1
  91. package/es/modules/unit/components/BreadCrumbsHeader/index.d.ts +0 -6
  92. package/es/modules/unit/components/BreadCrumbsHeader/index.js +0 -27
  93. package/es/modules/unit/components/BreadCrumbsHeader/index.js.map +0 -1
  94. package/es/modules/unit/components/BreadCrumbsHeader/index.less +0 -10
  95. package/es/modules/unit/components/BreadCrumbsHeader/state.d.ts +0 -5
  96. package/es/modules/unit/components/BreadCrumbsHeader/state.js +0 -19
  97. package/es/modules/unit/components/BreadCrumbsHeader/state.js.map +0 -1
  98. package/es/modules/unit/components/ChangeUserPassword/index.d.ts +0 -6
  99. package/es/modules/unit/components/ChangeUserPassword/index.js +0 -37
  100. package/es/modules/unit/components/ChangeUserPassword/index.js.map +0 -1
  101. package/es/modules/unit/components/ChangeUserPassword/index.less +0 -13
  102. package/es/modules/unit/components/ContactUserInfoView/index.d.ts +0 -6
  103. package/es/modules/unit/components/ContactUserInfoView/index.js +0 -43
  104. package/es/modules/unit/components/ContactUserInfoView/index.js.map +0 -1
  105. package/es/modules/unit/components/ContactUserInfoView/index.less +0 -30
  106. package/es/modules/unit/components/ContactUserInfoView/state.d.ts +0 -5
  107. package/es/modules/unit/components/ContactUserInfoView/state.js +0 -14
  108. package/es/modules/unit/components/ContactUserInfoView/state.js.map +0 -1
  109. package/es/modules/unit/components/Members/index.d.ts +0 -4
  110. package/es/modules/unit/components/Members/index.js +0 -67
  111. package/es/modules/unit/components/Members/index.js.map +0 -1
  112. package/es/modules/unit/components/Members/index.less +0 -19
  113. package/es/modules/unit/components/Members/state.d.ts +0 -16
  114. package/es/modules/unit/components/Members/state.js +0 -25
  115. package/es/modules/unit/components/Members/state.js.map +0 -1
  116. package/es/modules/unit/components/NewUnitForm/index.d.ts +0 -12
  117. package/es/modules/unit/components/NewUnitForm/index.js +0 -51
  118. package/es/modules/unit/components/NewUnitForm/index.js.map +0 -1
  119. package/es/modules/unit/components/NewUnitForm/index.less +0 -33
  120. package/es/modules/unit/components/NewUnitForm/state.d.ts +0 -22
  121. package/es/modules/unit/components/NewUnitForm/state.js +0 -49
  122. package/es/modules/unit/components/NewUnitForm/state.js.map +0 -1
  123. package/es/modules/unit/components/SubUnitList/index.d.ts +0 -9
  124. package/es/modules/unit/components/SubUnitList/index.js +0 -68
  125. package/es/modules/unit/components/SubUnitList/index.js.map +0 -1
  126. package/es/modules/unit/components/SubUnitList/index.less +0 -28
  127. package/es/modules/unit/components/SubUnitList/state.d.ts +0 -33
  128. package/es/modules/unit/components/SubUnitList/state.js +0 -67
  129. package/es/modules/unit/components/SubUnitList/state.js.map +0 -1
  130. package/es/modules/unit/components/UnitAvatar/index.d.ts +0 -16
  131. package/es/modules/unit/components/UnitAvatar/index.js +0 -30
  132. package/es/modules/unit/components/UnitAvatar/index.js.map +0 -1
  133. package/es/modules/unit/components/UnitAvatar/index.less +0 -7
  134. package/es/modules/unit/components/UnitDetails/index.d.ts +0 -5
  135. package/es/modules/unit/components/UnitDetails/index.js +0 -123
  136. package/es/modules/unit/components/UnitDetails/index.js.map +0 -1
  137. package/es/modules/unit/components/UnitDetails/index.less +0 -63
  138. package/es/modules/unit/components/UnitDetails/state.d.ts +0 -8
  139. package/es/modules/unit/components/UnitDetails/state.js +0 -24
  140. package/es/modules/unit/components/UnitDetails/state.js.map +0 -1
  141. package/es/modules/unit/components/UnitHead/index.d.ts +0 -7
  142. package/es/modules/unit/components/UnitHead/index.js +0 -38
  143. package/es/modules/unit/components/UnitHead/index.js.map +0 -1
  144. package/es/modules/unit/components/UnitHead/index.less +0 -26
  145. package/es/modules/unit/components/UnitHead/state.d.ts +0 -11
  146. package/es/modules/unit/components/UnitHead/state.js +0 -8
  147. package/es/modules/unit/components/UnitHead/state.js.map +0 -1
  148. package/es/modules/unit/components/UnitItem/Item.d.ts +0 -18
  149. package/es/modules/unit/components/UnitItem/Item.js +0 -34
  150. package/es/modules/unit/components/UnitItem/Item.js.map +0 -1
  151. package/es/modules/unit/components/UnitItem/index.d.ts +0 -9
  152. package/es/modules/unit/components/UnitItem/index.js +0 -46
  153. package/es/modules/unit/components/UnitItem/index.js.map +0 -1
  154. package/es/modules/unit/components/UnitItem/index.less +0 -46
  155. package/es/modules/unit/components/UnitItem/state.d.ts +0 -25
  156. package/es/modules/unit/components/UnitItem/state.js +0 -20
  157. package/es/modules/unit/components/UnitItem/state.js.map +0 -1
  158. package/es/modules/unit/components/UnitList/index.d.ts +0 -4
  159. package/es/modules/unit/components/UnitList/index.js +0 -37
  160. package/es/modules/unit/components/UnitList/index.js.map +0 -1
  161. package/es/modules/unit/components/UnitList/index.less +0 -0
  162. package/es/modules/unit/components/UnitList/state.d.ts +0 -15
  163. package/es/modules/unit/components/UnitList/state.js +0 -31
  164. package/es/modules/unit/components/UnitList/state.js.map +0 -1
  165. package/es/modules/unit/components/UnitName/index.d.ts +0 -5
  166. package/es/modules/unit/components/UnitName/index.js +0 -20
  167. package/es/modules/unit/components/UnitName/index.js.map +0 -1
  168. package/es/modules/unit/components/UnitPropertiesView/index.d.ts +0 -6
  169. package/es/modules/unit/components/UnitPropertiesView/index.js +0 -22
  170. package/es/modules/unit/components/UnitPropertiesView/index.js.map +0 -1
  171. package/es/modules/unit/components/UnitPropertiesView/index.less +0 -0
  172. package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.d.ts +0 -15
  173. package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.js +0 -50
  174. package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.js.map +0 -1
  175. package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.less +0 -22
  176. package/es/modules/unit/components/UnitQuickView/index.d.ts +0 -9
  177. package/es/modules/unit/components/UnitQuickView/index.js +0 -30
  178. package/es/modules/unit/components/UnitQuickView/index.js.map +0 -1
  179. package/es/modules/unit/components/UnitQuickView/index.less +0 -63
  180. package/es/modules/unit/components/UnitQuickView/state.d.ts +0 -8
  181. package/es/modules/unit/components/UnitQuickView/state.js +0 -26
  182. package/es/modules/unit/components/UnitQuickView/state.js.map +0 -1
  183. package/es/modules/unit/components/UnitSortableTree/index.d.ts +0 -10
  184. package/es/modules/unit/components/UnitSortableTree/index.js +0 -70
  185. package/es/modules/unit/components/UnitSortableTree/index.js.map +0 -1
  186. package/es/modules/unit/components/UnitSortableTree/state.d.ts +0 -55
  187. package/es/modules/unit/components/UnitSortableTree/state.js +0 -166
  188. package/es/modules/unit/components/UnitSortableTree/state.js.map +0 -1
  189. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/index.d.ts +0 -3
  190. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/index.js +0 -22
  191. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/index.js.map +0 -1
  192. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.d.ts +0 -3
  193. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.js +0 -82
  194. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.js.map +0 -1
  195. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.less +0 -316
  196. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.d.ts +0 -3
  197. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.js +0 -21
  198. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.js.map +0 -1
  199. package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.less +0 -4
  200. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/index.d.ts +0 -4
  201. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/index.js +0 -23
  202. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/index.js.map +0 -1
  203. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.d.ts +0 -3
  204. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.js +0 -58
  205. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.js.map +0 -1
  206. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.less +0 -45
  207. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.d.ts +0 -3
  208. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.js +0 -73
  209. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.js.map +0 -1
  210. package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.less +0 -12
  211. package/es/modules/unit/components/UnitTabs/index.d.ts +0 -6
  212. package/es/modules/unit/components/UnitTabs/index.js +0 -35
  213. package/es/modules/unit/components/UnitTabs/index.js.map +0 -1
  214. package/es/modules/unit/components/UnitsSelectDialog/index.d.ts +0 -9
  215. package/es/modules/unit/components/UnitsSelectDialog/index.js +0 -35
  216. package/es/modules/unit/components/UnitsSelectDialog/index.js.map +0 -1
  217. package/es/modules/unit/components/UnitsSelectDialog/index.less +0 -36
  218. package/es/modules/unit/components/UnitsSelectDialog/state.d.ts +0 -22
  219. package/es/modules/unit/components/UnitsSelectDialog/state.js +0 -73
  220. package/es/modules/unit/components/UnitsSelectDialog/state.js.map +0 -1
  221. package/es/modules/unit/controls/ContactSelect/index.d.ts +0 -9
  222. package/es/modules/unit/controls/ContactSelect/index.js +0 -78
  223. package/es/modules/unit/controls/ContactSelect/index.js.map +0 -1
  224. package/es/modules/unit/controls/ContactSelect/state.d.ts +0 -23
  225. package/es/modules/unit/controls/ContactSelect/state.js +0 -43
  226. package/es/modules/unit/controls/ContactSelect/state.js.map +0 -1
  227. package/es/modules/unit/controls/QuickDataIcon/UnitTeamsIcon/index.d.ts +0 -6
  228. package/es/modules/unit/controls/QuickDataIcon/UnitTeamsIcon/index.js +0 -32
  229. package/es/modules/unit/controls/QuickDataIcon/UnitTeamsIcon/index.js.map +0 -1
  230. package/es/modules/unit/controls/QuickDataIcon/UnitTeamsIcon/index.less +0 -21
  231. package/es/modules/unit/controls/QuickDataIcon/index.d.ts +0 -21
  232. package/es/modules/unit/controls/QuickDataIcon/index.js +0 -36
  233. package/es/modules/unit/controls/QuickDataIcon/index.js.map +0 -1
  234. package/es/modules/unit/controls/QuickDataIcon/index.less +0 -12
  235. package/es/modules/unit/controls/ToolBar/ContactMenu/index.d.ts +0 -13
  236. package/es/modules/unit/controls/ToolBar/ContactMenu/index.js +0 -66
  237. package/es/modules/unit/controls/ToolBar/ContactMenu/index.js.map +0 -1
  238. package/es/modules/unit/controls/ToolBar/ContactMenu/index.less +0 -20
  239. package/es/modules/unit/controls/ToolBar/ContactMenu/state.d.ts +0 -36
  240. package/es/modules/unit/controls/ToolBar/ContactMenu/state.js +0 -78
  241. package/es/modules/unit/controls/ToolBar/ContactMenu/state.js.map +0 -1
  242. package/es/modules/unit/controls/ToolBar/index.d.ts +0 -12
  243. package/es/modules/unit/controls/ToolBar/index.js +0 -56
  244. package/es/modules/unit/controls/ToolBar/index.js.map +0 -1
  245. package/es/modules/unit/controls/ToolBar/index.less +0 -18
  246. package/es/modules/unit/controls/ToolBar/state.d.ts +0 -42
  247. package/es/modules/unit/controls/ToolBar/state.js +0 -62
  248. package/es/modules/unit/controls/ToolBar/state.js.map +0 -1
  249. package/es/modules/unit/controls/UnitTypeFilter/index.d.ts +0 -3
  250. package/es/modules/unit/controls/UnitTypeFilter/index.js +0 -21
  251. package/es/modules/unit/controls/UnitTypeFilter/index.js.map +0 -1
  252. package/es/modules/unit/controls/UnitTypeFilter/state.d.ts +0 -18
  253. package/es/modules/unit/controls/UnitTypeFilter/state.js +0 -63
  254. package/es/modules/unit/controls/UnitTypeFilter/state.js.map +0 -1
  255. package/es/modules/unit/data/StoreContext/index.d.ts +0 -3
  256. package/es/modules/unit/data/StoreContext/index.js +0 -4
  257. package/es/modules/unit/data/StoreContext/index.js.map +0 -1
  258. package/es/modules/unit/data/UnitContext/index.d.ts +0 -18
  259. package/es/modules/unit/data/UnitContext/index.js +0 -32
  260. package/es/modules/unit/data/UnitContext/index.js.map +0 -1
  261. package/es/modules/unit/data/UnitStore.d.ts +0 -124
  262. package/es/modules/unit/data/UnitStore.js +0 -226
  263. package/es/modules/unit/data/UnitStore.js.map +0 -1
  264. package/es/modules/unit/data/UnitType.d.ts +0 -1
  265. package/es/modules/unit/data/UnitType.js +0 -18
  266. package/es/modules/unit/data/UnitType.js.map +0 -1
  267. package/es/modules/unit/data/UserStore.d.ts +0 -33
  268. package/es/modules/unit/data/UserStore.js +0 -53
  269. package/es/modules/unit/data/UserStore.js.map +0 -1
  270. package/es/modules/unit/data/hooks/index.d.ts +0 -7
  271. package/es/modules/unit/data/hooks/index.js +0 -8
  272. package/es/modules/unit/data/hooks/index.js.map +0 -1
  273. package/es/modules/unit/data/hooks/member-events/index.d.ts +0 -3
  274. package/es/modules/unit/data/hooks/member-events/index.js +0 -4
  275. package/es/modules/unit/data/hooks/member-events/index.js.map +0 -1
  276. package/es/modules/unit/data/hooks/member-events/useAutoUpdateMemberListData.d.ts +0 -4
  277. package/es/modules/unit/data/hooks/member-events/useAutoUpdateMemberListData.js +0 -13
  278. package/es/modules/unit/data/hooks/member-events/useAutoUpdateMemberListData.js.map +0 -1
  279. package/es/modules/unit/data/hooks/member-events/useOnDeleteMember.d.ts +0 -4
  280. package/es/modules/unit/data/hooks/member-events/useOnDeleteMember.js +0 -17
  281. package/es/modules/unit/data/hooks/member-events/useOnDeleteMember.js.map +0 -1
  282. package/es/modules/unit/data/hooks/member-events/useOnNewMember.d.ts +0 -4
  283. package/es/modules/unit/data/hooks/member-events/useOnNewMember.js +0 -17
  284. package/es/modules/unit/data/hooks/member-events/useOnNewMember.js.map +0 -1
  285. package/es/modules/unit/data/hooks/unit-events/index.d.ts +0 -3
  286. package/es/modules/unit/data/hooks/unit-events/index.js +0 -4
  287. package/es/modules/unit/data/hooks/unit-events/index.js.map +0 -1
  288. package/es/modules/unit/data/hooks/unit-events/useAutoUpdateUnitListData.d.ts +0 -4
  289. package/es/modules/unit/data/hooks/unit-events/useAutoUpdateUnitListData.js +0 -13
  290. package/es/modules/unit/data/hooks/unit-events/useAutoUpdateUnitListData.js.map +0 -1
  291. package/es/modules/unit/data/hooks/unit-events/useOnDeleteUnit.d.ts +0 -4
  292. package/es/modules/unit/data/hooks/unit-events/useOnDeleteUnit.js +0 -17
  293. package/es/modules/unit/data/hooks/unit-events/useOnDeleteUnit.js.map +0 -1
  294. package/es/modules/unit/data/hooks/unit-events/useOnNewUnit.d.ts +0 -4
  295. package/es/modules/unit/data/hooks/unit-events/useOnNewUnit.js +0 -17
  296. package/es/modules/unit/data/hooks/unit-events/useOnNewUnit.js.map +0 -1
  297. package/es/modules/unit/data/hooks/useTeamListEffect.d.ts +0 -8
  298. package/es/modules/unit/data/hooks/useTeamListEffect.js +0 -27
  299. package/es/modules/unit/data/hooks/useTeamListEffect.js.map +0 -1
  300. package/es/modules/unit/data/hooks/useUnit.d.ts +0 -6
  301. package/es/modules/unit/data/hooks/useUnit.js +0 -12
  302. package/es/modules/unit/data/hooks/useUnit.js.map +0 -1
  303. package/es/modules/unit/data/hooks/useUnitActivityListEffect.d.ts +0 -8
  304. package/es/modules/unit/data/hooks/useUnitActivityListEffect.js +0 -16
  305. package/es/modules/unit/data/hooks/useUnitActivityListEffect.js.map +0 -1
  306. package/es/modules/unit/data/hooks/useUnitListEffect.d.ts +0 -8
  307. package/es/modules/unit/data/hooks/useUnitListEffect.js +0 -28
  308. package/es/modules/unit/data/hooks/useUnitListEffect.js.map +0 -1
  309. package/es/modules/unit/data/hooks/useUserInfo.d.ts +0 -6
  310. package/es/modules/unit/data/hooks/useUserInfo.js +0 -12
  311. package/es/modules/unit/data/hooks/useUserInfo.js.map +0 -1
  312. package/es/modules/unit/data/index.d.ts +0 -4
  313. package/es/modules/unit/data/index.js +0 -5
  314. package/es/modules/unit/data/index.js.map +0 -1
  315. package/es/modules/unit/data/interfaces/IAddress.d.ts +0 -14
  316. package/es/modules/unit/data/interfaces/IAddress.js +0 -1
  317. package/es/modules/unit/data/interfaces/IAddress.js.map +0 -1
  318. package/es/modules/unit/data/interfaces/IEntityName.d.ts +0 -6
  319. package/es/modules/unit/data/interfaces/IEntityName.js +0 -1
  320. package/es/modules/unit/data/interfaces/IEntityName.js.map +0 -1
  321. package/es/modules/unit/data/interfaces/IUnit.d.ts +0 -51
  322. package/es/modules/unit/data/interfaces/IUnit.js +0 -1
  323. package/es/modules/unit/data/interfaces/IUnit.js.map +0 -1
  324. package/es/modules/unit/data/interfaces/IUserInfo.d.ts +0 -12
  325. package/es/modules/unit/data/interfaces/IUserInfo.js +0 -1
  326. package/es/modules/unit/data/interfaces/IUserInfo.js.map +0 -1
  327. package/es/modules/unit/data/interfaces/index.d.ts +0 -4
  328. package/es/modules/unit/data/interfaces/index.js +0 -5
  329. package/es/modules/unit/data/interfaces/index.js.map +0 -1
  330. package/es/modules/unit/pages/UnitDefaultView/index.d.ts +0 -3
  331. package/es/modules/unit/pages/UnitDefaultView/index.js +0 -47
  332. package/es/modules/unit/pages/UnitDefaultView/index.js.map +0 -1
  333. package/es/modules/unit/pages/UnitDefaultView/index.less +0 -17
  334. package/es/modules/unit/pages/UnitListView/index.d.ts +0 -3
  335. package/es/modules/unit/pages/UnitListView/index.js +0 -10
  336. package/es/modules/unit/pages/UnitListView/index.js.map +0 -1
  337. package/es/modules/unit/pages/UnitTreeView/index.d.ts +0 -3
  338. package/es/modules/unit/pages/UnitTreeView/index.js +0 -47
  339. package/es/modules/unit/pages/UnitTreeView/index.js.map +0 -1
  340. package/es/modules/unit/pages/UnitTreeView/index.less +0 -31
  341. package/es/modules/unit/pages/UnitTreeView/state.d.ts +0 -5
  342. package/es/modules/unit/pages/UnitTreeView/state.js +0 -14
  343. package/es/modules/unit/pages/UnitTreeView/state.js.map +0 -1
@@ -1,166 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { action, computed, observable } from "mobx";
3
- export class State {
4
- constructor(_store) {
5
- this._store = _store;
6
- this.id = ""; //加载时id
7
- /** 如果effect 是null就不执行 useUnitListEffect*/
8
- this.effect = null;
9
- /** dummy placeholder data */
10
- this.treeChildren = [
11
- {
12
- id: "",
13
- containerId: "11",
14
- name: "dummy placeholder data",
15
- type: "Organization",
16
- isGroup: false,
17
- address: { country: "", line1: "" },
18
- primaryLegalIdentity: { number: "", name: "", type: "IdentityCard", country: "" }
19
- }
20
- ];
21
- /** 沒load之前, 看看現在這個文件有沒有子文件, 有的話要放個 dummy placeholder data 在children里, */
22
- this.treeData = [];
23
- /** update useUnitListEffect */
24
- this.updateNodes = (list) => {
25
- if (this.treeNodeChildren && this.treeNodeChildren.childrenListLoading) {
26
- const docList = list;
27
- docList.map((item) => {
28
- // if (item.documents > 0) {
29
- item.children = this.treeChildren;
30
- // }
31
- });
32
- this.treeNodeChildren.children = docList || [];
33
- this.treeNodeChildren.childrenListLoading = false;
34
- this.treeData = [...this.treeData];
35
- }
36
- };
37
- }
38
- /** 根据path查找文件 */
39
- findFiles(path) {
40
- var _a;
41
- let list;
42
- for (let i = 0; i < path.length; i++) {
43
- if (i == 0) {
44
- list = this.treeData.filter(item => item.id === path[i]);
45
- }
46
- else {
47
- list = (_a = list[0].children) === null || _a === void 0 ? void 0 : _a.filter((item) => item.id === path[i]);
48
- }
49
- }
50
- return (list === null || list === void 0 ? void 0 : list.length) ? list[0] : null;
51
- }
52
- /** 接收@treeData state.treeData
53
- * @id 找id 文件 */
54
- editTreeData(treeData, id) {
55
- for (let i = 0, len = treeData.length; i < len; i++) {
56
- if (treeData[i].children) {
57
- this.editTreeData(treeData[i].children, id);
58
- }
59
- if (treeData[i].id === id) {
60
- this.treeNodeChildren = treeData[i];
61
- }
62
- }
63
- return;
64
- }
65
- /** 更新 TreeData */
66
- updateTreeData(val) {
67
- this.treeData = val;
68
- }
69
- /**在子节点折叠或者展开后调用*/
70
- onVisibilityToggle(val) {
71
- /** 如果是已展开 或者 已经加载过,不用再重新去加载 */
72
- if (!val.expanded || val.node.children[0].id !== "")
73
- return;
74
- this.id = val.path[val.path.length - 1];
75
- this.treeNodeChildren = this.findFiles(val.path);
76
- /** 加载中 */
77
- this.treeNodeChildren.childrenListLoading = true;
78
- this.treeNodeChildren.children = [];
79
- this.effect = this.updateNodes;
80
- }
81
- /** 在节点移动操作之后调用 */
82
- async onMoveNode(val) {
83
- const id = val.nextPath[val.nextPath.length - 1];
84
- const leg = val.nextParentNode.children.indexOf(val.node);
85
- const afterId = leg - 1 >= 0 ? val.nextParentNode.children[leg - 1].id : "";
86
- const nextParent = this.findFiles(val.nextPath.slice(0, -1));
87
- const prevParent = this.findFiles(val.prevPath.slice(0, -1));
88
- /** 判断下一个父级 与 上一个父级 是不是同一个 */
89
- if (nextParent.id === prevParent.id) {
90
- this._store.moveAfter(id, afterId);
91
- }
92
- else {
93
- await this._store.move([id], nextParent.id);
94
- if (afterId !== "") {
95
- this._store.moveAfter(id, afterId);
96
- }
97
- }
98
- }
99
- /**
100
- * 确定节点是否可以具有子级的功能,对于在canDrop有条件时防止悬停预览很有用。默认设置为返回的函数true。函数应为类型(node): bool
101
- */
102
- toHaveChildren(node) {
103
- const isLoaded = node.loaded ? node.loaded : false;
104
- if (node.documents !== 0 && !isLoaded) {
105
- return false;
106
- }
107
- return true;
108
- }
109
- /**
110
- * unit filters
111
- * @return unit filters
112
- */
113
- get filters() {
114
- const filters = [];
115
- if (this.id) {
116
- filters.push({ c: "ParentNodeId", o: "=", l: "And", v1: this.id });
117
- }
118
- if (this.filterType) {
119
- filters.push(this.filterType);
120
- }
121
- return filters;
122
- }
123
- }
124
- __decorate([
125
- observable
126
- ], State.prototype, "id", void 0);
127
- __decorate([
128
- observable
129
- ], State.prototype, "effect", void 0);
130
- __decorate([
131
- observable
132
- ], State.prototype, "treeNodeChildren", void 0);
133
- __decorate([
134
- observable
135
- ], State.prototype, "treeChildren", void 0);
136
- __decorate([
137
- observable
138
- ], State.prototype, "treeData", void 0);
139
- __decorate([
140
- observable
141
- ], State.prototype, "filterType", void 0);
142
- __decorate([
143
- action
144
- ], State.prototype, "findFiles", null);
145
- __decorate([
146
- action
147
- ], State.prototype, "editTreeData", null);
148
- __decorate([
149
- action
150
- ], State.prototype, "updateTreeData", null);
151
- __decorate([
152
- action
153
- ], State.prototype, "updateNodes", void 0);
154
- __decorate([
155
- action
156
- ], State.prototype, "onVisibilityToggle", null);
157
- __decorate([
158
- action
159
- ], State.prototype, "onMoveNode", null);
160
- __decorate([
161
- action
162
- ], State.prototype, "toHaveChildren", null);
163
- __decorate([
164
- computed
165
- ], State.prototype, "filters", null);
166
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/unit/components/UnitSortableTree/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAuBpD,MAAM,OAAO,KAAK;IACjB,YAA2B,MAAiB;QAAjB,WAAM,GAAN,MAAM,CAAW;QACzB,OAAE,GAAG,EAAE,CAAC,CAAC,OAAO;QACnC,0CAA0C;QACvB,WAAM,GAAI,IAAkD,CAAC;QAEhF,8BAA8B;QACX,iBAAY,GAAoB;YAClD;gBACC,EAAE,EAAE,EAAE;gBACN,WAAW,EAAE,IAAI;gBACjB,IAAI,EAAE,wBAAwB;gBAC9B,IAAI,EAAE,cAAc;gBACpB,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;gBACnC,oBAAoB,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,EAAE;aACjF;SACD,CAAC;QACF,0EAA0E;QACvD,aAAQ,GAAoB,EAAE,CAAC;QAuClD,gCAAgC;QAEzB,gBAAW,GAAG,CAAC,IAAa,EAAE,EAAE;YACtC,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,EAAE;gBACvE,MAAM,OAAO,GAAG,IAAI,CAAC;gBACrB,OAAO,CAAC,GAAG,CAAC,C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,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;SACnE;QACD,IAAI,IAAI,CAAC,UAAU,EAAE;YACpB,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SAC9B;QACD,OAAO,OAAO,CAAC;IAChB,CAAC;CACD;AAnIY;IAAX,UAAU;iCAAgB;AAEf;IAAX,UAAU;qCAAqE;AACpE;IAAX,UAAU;+CAA8B;AAE7B;IAAX,UAAU;2CAUT;AAEU;IAAX,UAAU;uCAAuC;AAEtC;IAAX,UAAU;yCAA6C;AAIxD;IADC,MAAM;sCAWN;AAKD;IADC,MAAM;yCAWN;AAID;IADC,MAAM;2CAGN;AAID;IADC,MAAM;0CAaL;AAIF;IADC,MAAM;+CAUN;AAID;IADC,MAAM;uCAgBN;AAMD;IADC,MAAM;2CAON;AAOD;IADC,QAAQ;oCAUR"}
@@ -1,3 +0,0 @@
1
- import { ThemeProps } from "react-sortable-tree";
2
- declare const FileExplorerTheme: ThemeProps;
3
- export default FileExplorerTheme;
@@ -1,22 +0,0 @@
1
- // Can override the following:
2
- //
3
- // style: PropTypes.shape({}),
4
- // innerStyle: PropTypes.shape({}),
5
- // reactVirtualizedListProps: PropTypes.shape({}),
6
- // scaffoldBlockPxWidth: PropTypes.number,
7
- // slideRegionSize: PropTypes.number,
8
- // rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]),
9
- // treeNodeRenderer: PropTypes.func,
10
- // nodeContentRenderer: PropTypes.func,
11
- // placeholderRenderer: PropTypes.func,
12
- import nodeContentRenderer from "./node-content-renderer";
13
- import treeNodeRenderer from "./tree-node-renderer";
14
- const FileExplorerTheme = {
15
- nodeContentRenderer,
16
- treeNodeRenderer,
17
- scaffoldBlockPxWidth: 25,
18
- rowHeight: 25,
19
- slideRegionSize: 50
20
- };
21
- export default FileExplorerTheme;
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/index.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,8BAA8B;AAC9B,mCAAmC;AACnC,kDAAkD;AAClD,0CAA0C;AAC1C,qCAAqC;AACrC,sEAAsE;AACtE,oCAAoC;AACpC,uCAAuC;AACvC,uCAAuC;AAGvC,OAAO,mBAAmB,MAAM,yBAAyB,CAAC;AAC1D,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AAEpD,MAAM,iBAAiB,GAAe;IACrC,mBAAmB;IACnB,gBAAgB;IAChB,oBAAoB,EAAE,EAAE;IACxB,SAAS,EAAE,EAAE;IACb,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { NodeRenderer } from "react-sortable-tree";
2
- declare const FileThemeNodeContentRenderer: NodeRenderer;
3
- export default FileThemeNodeContentRenderer;
@@ -1,82 +0,0 @@
1
- import { faChevronRight, faSitemap } from "@fortawesome/pro-light-svg-icons";
2
- import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
3
- import React from "react";
4
- import { Spin } from "@voplus/antd";
5
- import UnitName from "../../../UnitName";
6
- import classnames from "classnames";
7
- import styles from "./node-content-renderer.less";
8
- import { useUnitContext } from "../../../../data/UnitContext";
9
- function isDescendant(older, younger) {
10
- return (!!older.children &&
11
- typeof older.children !== "function" &&
12
- older.children.some((child) => child === younger || isDescendant(child, younger)));
13
- }
14
- const FileThemeNodeContentRenderer = (props) => {
15
- const { scaffoldBlockPxWidth, toggleChildrenVisibility, connectDragPreview, connectDragSource, isDragging, canDrop, canDrag, node, title, draggedNode, path, treeIndex, isSearchMatch, isSearchFocus, icons, buttons, className, style, didDrop, lowerSiblingCounts, listIndex, swapFrom, swapLength, swapDepth, treeId, // Not needed, but preserved for other renderers
16
- isOver, // Not needed, but preserved for other renderers
17
- parentNode, // Needed for dndManager
18
- rowDirection, ...otherProps } = props;
19
- const store = useUnitContext();
20
- const isDraggedDescendant = draggedNode && isDescendant(draggedNode, node);
21
- const isLandingPadActive = !didDrop && isDragging;
22
- // Construct the scaffold representing the structure of the tree
23
- const scaffold = [];
24
- lowerSiblingCounts.forEach((lowerSiblingCount, i) => {
25
- scaffold.push(React.createElement("div", { key: `pre_${1 + i}`, style: { width: scaffoldBlockPxWidth }, className: "lineBlock" }));
26
- if (treeIndex !== listIndex && i === swapDepth) {
27
- // This row has been shifted, and is at the depth of
28
- // the line pointing to the new destination
29
- let highlightLineClass = "";
30
- if (listIndex === swapFrom + swapLength - 1) {
31
- // This block is on the bottom (target) line
32
- // This block points at the target block (where the row will go when released)
33
- highlightLineClass = "highlightBottomLeftCorner";
34
- }
35
- else if (treeIndex === swapFrom) {
36
- // This block is on the top (source) line
37
- highlightLineClass = "highlightTopLeftCorner";
38
- }
39
- else {
40
- // This block is between the bottom and top
41
- highlightLineClass = "highlightLineVertical";
42
- }
43
- scaffold.push(React.createElement("div", { key: `highlight_${1 + i}`, style: {
44
- width: scaffoldBlockPxWidth,
45
- left: scaffoldBlockPxWidth * i
46
- }, className: classnames("absoluteLineBlock", "highlightLineClass") }));
47
- }
48
- });
49
- const nodeContent = (React.createElement("div", Object.assign({ className: styles["file-explorer-theme"] }, otherProps),
50
- toggleChildrenVisibility && node.children && node.children.length > 0 && (React.createElement("button", { type: "button", className: node.expanded ? "collapseButton" : "expandButton", style: {
51
- left: (lowerSiblingCounts.length - 0.7) * scaffoldBlockPxWidth
52
- }, onClick: () => toggleChildrenVisibility({
53
- node,
54
- path,
55
- treeIndex
56
- }) },
57
- React.createElement("span", { className: "arrows" },
58
- React.createElement(FAIcon, { icon: faChevronRight })))),
59
- node.childrenListLoading && node.expanded && (React.createElement("div", { className: "doc-spin", style: {
60
- left: (lowerSiblingCounts.length - 0.7) * scaffoldBlockPxWidth
61
- } },
62
- React.createElement(Spin, { size: "small" }))),
63
- React.createElement("div", { className: classnames("rowWrapper", !canDrag ? "rowWrapperDragDisabled" : "") }, connectDragPreview(React.createElement("div", { style: { display: "flex" } },
64
- scaffold,
65
- React.createElement("div", { className: classnames("row", {
66
- rowLandingPad: isLandingPadActive,
67
- rowCancelPad: isLandingPadActive && !canDrop,
68
- rowSearchMatch: isSearchMatch,
69
- rowSearchFocus: isSearchFocus
70
- }, className), style: {
71
- opacity: isDraggedDescendant ? 0.5 : 1,
72
- ...style
73
- } },
74
- React.createElement("div", { className: classnames("rowContents", { rowContentsDragDisabled: !canDrag }) },
75
- React.createElement("div", { className: "rowLabel" }, node.id === "" ? (React.createElement("div", { className: "file-document-name", onClick: () => { var _a; return (_a = store === null || store === void 0 ? void 0 : store.onUnitSelected) === null || _a === void 0 ? void 0 : _a.call(store, node.id); } },
76
- React.createElement("div", { className: "file-type" },
77
- React.createElement(FAIcon, { icon: faSitemap })),
78
- React.createElement("div", { className: "file-name" }, node.name))) : (React.createElement(UnitName, { id: node.id }))))))))));
79
- return canDrag ? connectDragSource(nodeContent, { dropEffect: "copy" }) : nodeContent;
80
- };
81
- export default FileThemeNodeContentRenderer;
82
- //# sourceMappingURL=node-content-renderer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node-content-renderer.js","sourceRoot":"","sources":["../../../../../../../src/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AACzC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,M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AAc,+CAArB,KAAK,EAAmB,IAAI,CAAC,EAAE,IAAC;wBAE/C,6BAAK,SAAS,EAAC,WAAW;4BACzB,oBAAC,MAAM,IAAC,IAAI,EAAE,SAAS,GAAI,CACtB;wBACN,6BAAK,SAAS,EAAC,WAAW,IAAE,IAAI,CAAC,IAAI,CAAO,CACvC,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,QAAQ,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CACzB,CACI,CACD,CACD,CACD,CACN,CACI,CACD,CACN,CAAC;IAEF,OAAO,OAAO,CAAC,CAAC,CAAC,iBAAiB,CAAC,WAAW,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;AACvF,CAAC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -1,316 +0,0 @@
1
- .file-explorer-theme {
2
- height: 100%;
3
- :global {
4
- .doc-spin {
5
- z-index: 2;
6
- position: absolute;
7
- top: 50%;
8
- width: 30px;
9
- height: 30px;
10
- display: flex;
11
- align-items: center;
12
- justify-content: center;
13
- transform: translate3d(-50%, -50%, 0);
14
- }
15
- .collapseButton,
16
- .expandButton {
17
- appearance: none;
18
- border: none;
19
- background: transparent;
20
- padding: 0;
21
- z-index: 2;
22
- position: absolute;
23
- top: 45%;
24
- width: 30px;
25
- height: 30px;
26
- transform: translate3d(-50%, -50%, 0);
27
- cursor: pointer;
28
- .arrows {
29
- display: inline-block;
30
- font-size: 10px;
31
- transform: translate3d(50%, 0, 0) rotateZ(90deg);
32
- }
33
- &:focus {
34
- outline: none;
35
- }
36
- }
37
- .expandButton .arrows {
38
- display: inline-block;
39
- font-size: 10px;
40
- transform: translate3d(50%, 0, 0);
41
- }
42
- .rowWrapper {
43
- height: 100%;
44
- box-sizing: border-box;
45
- // cursor: move;
46
- &:hover {
47
- opacity: 0.7;
48
- }
49
-
50
- &:active {
51
- opacity: 1;
52
- }
53
- }
54
- .rowWrapperDragDisabled {
55
- cursor: default;
56
- }
57
- .row {
58
- height: 100%;
59
- white-space: nowrap;
60
- display: flex;
61
- position: relative;
62
-
63
- & > * {
64
- box-sizing: border-box;
65
- }
66
- }
67
-
68
- /**
69
- * The outline of where the element will go if dropped, displayed while dragging
70
- */
71
- .rowLandingPad {
72
- border: none;
73
- box-shadow: none;
74
- outline: none;
75
-
76
- * {
77
- opacity: 0 !important;
78
- }
79
-
80
- &::before {
81
- background-color: lightblue;
82
- border: 2px dotted black;
83
- content: "";
84
- position: absolute;
85
- top: 0;
86
- right: 0;
87
- bottom: 0;
88
- left: 0;
89
- z-index: -1;
90
- }
91
- }
92
-
93
- /**
94
- * Alternate appearance of the landing pad when the dragged location is invalid
95
- */
96
- .rowCancelPad {
97
- // @extend .rowLandingPad;
98
-
99
- &::before {
100
- background-color: #e6a8ad;
101
- }
102
- }
103
-
104
- /**
105
- * Nodes matching the search conditions are highlighted
106
- */
107
- .rowSearchMatch {
108
- box-shadow: inset 0 -7px 7px -3px #0080ff;
109
- }
110
-
111
- /**
112
- * The node that matches the search conditions and is currently focused
113
- */
114
- .rowSearchFocus {
115
- box-shadow: inset 0 -7px 7px -3px #fc6421;
116
- }
117
-
118
- // %rowItem {
119
- // display: inline-block;
120
- // vertical-align: middle;
121
- // }
122
-
123
- .rowContents {
124
- // @extend %rowItem;
125
- position: relative;
126
- height: 100%;
127
- flex: 1 0 auto;
128
- display: flex;
129
- align-items: center;
130
- justify-content: space-between;
131
- }
132
-
133
- .rowLabel {
134
- // @extend %rowItem;
135
- display: flex;
136
- flex: 0 1 auto;
137
- padding-right: 20px;
138
- // .doc-spin{
139
- // padding-right: 6px;
140
- // }
141
- }
142
-
143
- .file-document-name {
144
- display: flex;
145
- align-items: center;
146
- .file-type {
147
- display: flex;
148
- align-items: center;
149
- width: 22px;
150
- }
151
- .file-name {
152
- display: inline-block;
153
- color: #000;
154
- font-size: 15px;
155
- font-weight: 500;
156
- z-index: 100;
157
- cursor: pointer;
158
- }
159
- }
160
-
161
- // .rowToolbar {
162
- // // @extend %rowItem;
163
- // flex: 0 1 auto;
164
- // display: flex;
165
- // }
166
-
167
- .toolbarButton {
168
- // @extend %rowItem;
169
- }
170
-
171
- /**
172
- * Line for under a node with children
173
- */
174
- .lineChildren {
175
- height: 100%;
176
- display: inline-block;
177
- }
178
-
179
- /* ==========================================================================
180
- Scaffold
181
-
182
- Line-overlaid blocks used for showing the tree structure
183
- ========================================================================== */
184
- .lineBlock {
185
- height: 100%;
186
- position: relative;
187
- display: inline-block;
188
- flex: 0 0 auto;
189
- }
190
-
191
- .absoluteLineBlock {
192
- // @extend .lineBlock;
193
- position: absolute;
194
- top: 0;
195
- }
196
-
197
- /* Highlight line for pointing to dragged row destination
198
- ========================================================================== */
199
- // $highlight-color: #36c2f6;
200
- // $highlight-line-size: 6px; // Make it an even number for clean rendering
201
-
202
- /**
203
- * +--+--+
204
- * | | |
205
- * | | |
206
- * | | |
207
- * +--+--+
208
- */
209
- .highlightLineVertical {
210
- z-index: 3;
211
-
212
- &::before {
213
- position: absolute;
214
- content: "";
215
- // background-color: $highlight-color;
216
- // width: $highlight-line-size;
217
- // margin-left: $highlight-line-size / -2;
218
- left: 50%;
219
- top: 0;
220
- height: 100%;
221
- }
222
-
223
- // @keyframes arrow-pulse {
224
- // $base-multiplier: 10;
225
- // 0% {
226
- // transform: translate(0, 0);
227
- // opacity: 0;
228
- // }
229
- // 30% {
230
- // transform: translate(0, 30% * $base-multiplier);
231
- // opacity: 1;
232
- // }
233
- // 70% {
234
- // transform: translate(0, 70% * $base-multiplier);
235
- // opacity: 1;
236
- // }
237
- // 100% {
238
- // transform: translate(0, 100% * $base-multiplier);
239
- // opacity: 0;
240
- // }
241
- // }
242
-
243
- &::after {
244
- content: "";
245
- position: absolute;
246
- height: 0;
247
- // margin-left: -1 * $highlight-line-size / 2;
248
- left: 50%;
249
- top: 0;
250
- // border-left: $highlight-line-size / 2 solid transparent;
251
- // border-right: $highlight-line-size / 2 solid transparent;
252
- // border-top: $highlight-line-size / 2 solid white;
253
- animation: arrow-pulse 1s infinite linear both;
254
- }
255
- }
256
-
257
- /**
258
- * +-----+
259
- * | |
260
- * | +--+
261
- * | | |
262
- * +--+--+
263
- */
264
- .highlightTopLeftCorner {
265
- &::before {
266
- z-index: 3;
267
- content: "";
268
- position: absolute;
269
- // border-top: solid $highlight-line-size $highlight-color;
270
- // border-left: solid $highlight-line-size $highlight-color;
271
- box-sizing: border-box;
272
- // height: calc(50% + #{$highlight-line-size / 2});
273
- // top: 50%;
274
- // margin-top: $highlight-line-size / -2;
275
- // right: 0;
276
- // width: calc(50% + #{$highlight-line-size / 2});
277
- }
278
- }
279
-
280
- /**
281
- * +--+--+
282
- * | | |
283
- * | | |
284
- * | +->|
285
- * +-----+
286
- */
287
- .highlightBottomLeftCorner {
288
- // $arrow-size: 7px;
289
- z-index: 3;
290
-
291
- &::before {
292
- content: "";
293
- position: absolute;
294
- // border-bottom: solid $highlight-line-size $highlight-color;
295
- // border-left: solid $highlight-line-size $highlight-color;
296
- box-sizing: border-box;
297
- // height: calc(100% + #{$highlight-line-size / 2});
298
- // top: 0;
299
- // right: $arrow-size;
300
- // width: calc(50% - #{$arrow-size - ($highlight-line-size / 2)});
301
- }
302
-
303
- &::after {
304
- content: "";
305
- position: absolute;
306
- height: 0;
307
- right: 0;
308
- top: 100%;
309
- // margin-top: -1 * $arrow-size;
310
- // border-top: $arrow-size solid transparent;
311
- // border-bottom: $arrow-size solid transparent;
312
- // border-left: $arrow-size solid $highlight-color;
313
- }
314
- }
315
- }
316
- }
@@ -1,3 +0,0 @@
1
- import { TreeRenderer } from "react-sortable-tree";
2
- declare const FileThemeTreeNodeRenderer: TreeRenderer;
3
- export default FileThemeTreeNodeRenderer;
@@ -1,21 +0,0 @@
1
- import React, { Children, cloneElement } from "react";
2
- import styles from "./tree-node-renderer.less";
3
- const FileThemeTreeNodeRenderer = (props) => {
4
- const { children, listIndex, swapFrom, swapLength, swapDepth, scaffoldBlockPxWidth, lowerSiblingCounts, connectDropTarget, isOver, draggedNode, canDrop, treeIndex, treeId, // Delete from otherProps
5
- getPrevRow, // Delete from otherProps
6
- node, // Delete from otherProps
7
- path, // Delete from otherProps
8
- rowDirection, ...otherProps } = props;
9
- return connectDropTarget(React.createElement("div", Object.assign({}, otherProps, { className: styles.node }), Children.map(children, child => cloneElement(child, {
10
- isOver,
11
- canDrop,
12
- draggedNode,
13
- lowerSiblingCounts,
14
- listIndex,
15
- swapFrom,
16
- swapLength,
17
- swapDepth
18
- }))));
19
- };
20
- export default FileThemeTreeNodeRenderer;
21
- //# sourceMappingURL=tree-node-renderer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tree-node-renderer.js","sourceRoot":"","sources":["../../../../../../../src/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAa,YAAY,EAAE,MAAM,OAAO,CAAC;AAIjE,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAE/C,MAAM,yBAAyB,GAAiB,CAAC,KAAwB,EAAE,EAAE;IAC5E,MAAM,EACL,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,OAAO,EACP,SAAS,EACT,MAAM,EAAE,yBAAyB;IACjC,UAAU,EAAE,yBAAyB;IACrC,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE,yBAAyB;IAC/B,YAAY,EACZ,GAAG,UAAU,EACb,GAAG,KAAK,CAAC;IACV,OAAO,iBAAiB,CACvB,6CAAS,UAAU,IAAE,SAAS,EAAE,MAAM,CAAC,IAAI,KACzC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,CAC/B,YAAY,CAAC,KAAK,EAAE;QACnB,MAAM;QACN,OAAO;QACP,WAAW;QACX,kBAAkB;QAClB,SAAS;QACT,QAAQ;QACR,UAAU;QACV,SAAS;KACT,CAAC,CACF,CACI,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -1,4 +0,0 @@
1
- .node {
2
- min-width: 100%;
3
- position: relative;
4
- }
@@ -1,4 +0,0 @@
1
- import "react-sortable-tree/style.css";
2
- import { ThemeProps } from "react-sortable-tree";
3
- declare const SortableTreeUnitTheme: ThemeProps;
4
- export default SortableTreeUnitTheme;