@voplus/morpho-document 1.0.0-dev300 → 1.0.0-dev302
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.
- package/changelog.md +1 -1
- package/es/Modules.js +1 -1
- package/es/Modules.js.map +1 -1
- package/es/components/ActivityLog/ActivityLog2/index.js.map +1 -1
- package/es/components/ActivityLog/index.js.map +1 -1
- package/es/components/ActivityLog/state.d.ts +1 -1
- package/es/components/ActivityLog/state.js.map +1 -1
- package/es/components/AvatarList/AvatarItem/index.js +2 -2
- package/es/components/AvatarList/AvatarItem/index.js.map +1 -1
- package/es/components/AvatarList/index.js +2 -2
- package/es/components/AvatarList/index.js.map +1 -1
- package/es/components/DocumentHeader/index.js +1 -1
- package/es/components/DocumentHeader/index.js.map +1 -1
- package/es/components/DocumentSortableTree/themes/FileExplorerTheme/node-content-renderer.less +13 -2
- package/es/components/QuickAccessSearch/ObjectItem/index.js +1 -1
- package/es/controls/DescriptionEditor/index.d.ts +6 -1
- package/es/controls/DescriptionEditor/index.js +24 -6
- package/es/controls/DescriptionEditor/index.js.map +1 -1
- package/es/controls/DescriptionEditor/index.less +20 -1
- package/es/controls/DescriptionEditor/state.d.ts +6 -0
- package/es/controls/DescriptionEditor/state.js +10 -0
- package/es/controls/DescriptionEditor/state.js.map +1 -1
- package/es/controls/ToolBar/buttons/Versions.js +7 -4
- package/es/controls/ToolBar/buttons/Versions.js.map +1 -1
- package/es/controls/ToolBar/index.js +1 -1
- package/es/controls/ToolBar/index.js.map +1 -1
- package/es/controls/ToolBar/menus/Access.js +1 -1
- package/es/controls/ToolBar/menus/Access.js.map +1 -1
- package/es/pages/Page/PageDefaultView/index.js +3 -4
- package/es/pages/Page/PageDefaultView/index.js.map +1 -1
- package/es/pages/Page/PageItem/index.js +3 -1
- package/es/pages/Page/PageItem/index.js.map +1 -1
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/index.js +15 -9
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/index.js.map +1 -1
- package/es/pages/Signature/Letter/LetterContentView/index.d.ts +2 -7
- package/es/pages/Signature/Letter/LetterContentView/index.js +35 -26
- package/es/pages/Signature/Letter/LetterContentView/index.js.map +1 -1
- package/es/pages/Signature/Letter/LetterContentView/state.d.ts +19 -0
- package/es/pages/Signature/Letter/LetterContentView/state.js +27 -0
- package/es/pages/Signature/Letter/LetterContentView/state.js.map +1 -0
- package/es/pages/Signature/Letter/LetterItem/index.js +24 -10
- package/es/pages/Signature/Letter/LetterItem/index.js.map +1 -1
- package/es/pages/Signature/Letter/LetterItem/index.less +7 -10
- package/es/pages/Signature/Letter/LetterList/index.js +1 -2
- package/es/pages/Signature/Letter/LetterList/index.js.map +1 -1
- package/es/pages/Signature/Letter/LetterViewer/index.less +0 -3
- package/es/pages/Signature/SignatureDialog/index.d.ts +2 -0
- package/es/pages/Signature/SignatureDialog/index.js +17 -12
- package/es/pages/Signature/SignatureDialog/index.js.map +1 -1
- package/es/pages/Signature/SignatureDialog/index.less +15 -1
- package/es/pages/Signature/SignatureRecipient/index.js +5 -12
- package/es/pages/Signature/SignatureRecipient/index.js.map +1 -1
- package/es/pages/Signature/SignatureRecipient/index.less +8 -2
- package/es/pages/Signature/SignatureTable/index.less +1 -1
- package/es/pages/Signature/SignerSelect/index.js +24 -12
- package/es/pages/Signature/SignerSelect/index.js.map +1 -1
- package/es/pages/Signature/SignerSelect/state.d.ts +2 -2
- package/es/pages/Signature/SignerSelect/state.js.map +1 -1
- package/es/pages/Signature/data/envelope/EnvelopeStore.d.ts +1 -1
- package/es/pages/VSubmit/components/EmailRecipients/index.d.ts +1 -1
- package/es/pages/VSubmit/components/EmailRecipients/index.js +1 -1
- package/es/pages/VSubmit/components/EmailRecipients/index.js.map +1 -1
- package/es/pages/VSubmit/components/EmailRecipients/state.d.ts +1 -1
- package/es/routes.js +3 -3
- package/es/routes.js.map +1 -1
- package/package.json +5 -5
- package/es/components/PeopleAccess/NewAccessSelector.d.ts +0 -19
- package/es/components/PeopleAccess/NewAccessSelector.js +0 -117
- package/es/components/PeopleAccess/NewAccessSelector.js.map +0 -1
- package/es/components/PeopleAccess/PeopleAccess.d.ts +0 -8
- package/es/components/PeopleAccess/PeopleAccess.js +0 -95
- package/es/components/PeopleAccess/PeopleAccess.js.map +0 -1
- package/es/components/PeopleAccess/PeopleAccessState.d.ts +0 -25
- package/es/components/PeopleAccess/PeopleAccessState.js +0 -145
- package/es/components/PeopleAccess/PeopleAccessState.js.map +0 -1
- package/es/components/PeopleAccess/RoleSelector.d.ts +0 -13
- package/es/components/PeopleAccess/RoleSelector.js +0 -50
- package/es/components/PeopleAccess/RoleSelector.js.map +0 -1
- package/es/components/PeopleAccess/constants.d.ts +0 -14
- package/es/components/PeopleAccess/constants.js +0 -15
- package/es/components/PeopleAccess/constants.js.map +0 -1
- package/es/components/PeopleAccess/index.d.ts +0 -1
- package/es/components/PeopleAccess/index.js +0 -2
- package/es/components/PeopleAccess/index.js.map +0 -1
- package/es/components/PeopleAccess/index.less +0 -65
- package/es/controls/PermissionModal/index.d.ts +0 -6
- package/es/controls/PermissionModal/index.js +0 -10
- package/es/controls/PermissionModal/index.js.map +0 -1
- package/es/controls/PermissionModal/index.less +0 -7
- package/es/modules/unit/UnitUIService.d.ts +0 -6
- package/es/modules/unit/UnitUIService.js +0 -13
- package/es/modules/unit/UnitUIService.js.map +0 -1
- package/es/modules/unit/components/ActivityLog/index.d.ts +0 -6
- package/es/modules/unit/components/ActivityLog/index.js +0 -62
- package/es/modules/unit/components/ActivityLog/index.js.map +0 -1
- package/es/modules/unit/components/ActivityLog/index.less +0 -64
- package/es/modules/unit/components/ActivityLog/state.d.ts +0 -14
- package/es/modules/unit/components/ActivityLog/state.js +0 -51
- package/es/modules/unit/components/ActivityLog/state.js.map +0 -1
- package/es/modules/unit/components/AddUnitDropdown/index.d.ts +0 -10
- package/es/modules/unit/components/AddUnitDropdown/index.js +0 -41
- package/es/modules/unit/components/AddUnitDropdown/index.js.map +0 -1
- package/es/modules/unit/components/AddUnitDropdown/index.less +0 -58
- package/es/modules/unit/components/AddUnitDropdown/state.d.ts +0 -28
- package/es/modules/unit/components/AddUnitDropdown/state.js +0 -86
- package/es/modules/unit/components/AddUnitDropdown/state.js.map +0 -1
- package/es/modules/unit/components/BreadCrumbsHeader/index.d.ts +0 -6
- package/es/modules/unit/components/BreadCrumbsHeader/index.js +0 -27
- package/es/modules/unit/components/BreadCrumbsHeader/index.js.map +0 -1
- package/es/modules/unit/components/BreadCrumbsHeader/index.less +0 -10
- package/es/modules/unit/components/BreadCrumbsHeader/state.d.ts +0 -5
- package/es/modules/unit/components/BreadCrumbsHeader/state.js +0 -19
- package/es/modules/unit/components/BreadCrumbsHeader/state.js.map +0 -1
- package/es/modules/unit/components/ChangeUserPassword/index.d.ts +0 -6
- package/es/modules/unit/components/ChangeUserPassword/index.js +0 -37
- package/es/modules/unit/components/ChangeUserPassword/index.js.map +0 -1
- package/es/modules/unit/components/ChangeUserPassword/index.less +0 -13
- package/es/modules/unit/components/ContactUserInfoView/index.d.ts +0 -6
- package/es/modules/unit/components/ContactUserInfoView/index.js +0 -43
- package/es/modules/unit/components/ContactUserInfoView/index.js.map +0 -1
- package/es/modules/unit/components/ContactUserInfoView/index.less +0 -30
- package/es/modules/unit/components/ContactUserInfoView/state.d.ts +0 -5
- package/es/modules/unit/components/ContactUserInfoView/state.js +0 -14
- package/es/modules/unit/components/ContactUserInfoView/state.js.map +0 -1
- package/es/modules/unit/components/Members/index.d.ts +0 -4
- package/es/modules/unit/components/Members/index.js +0 -67
- package/es/modules/unit/components/Members/index.js.map +0 -1
- package/es/modules/unit/components/Members/index.less +0 -19
- package/es/modules/unit/components/Members/state.d.ts +0 -16
- package/es/modules/unit/components/Members/state.js +0 -25
- package/es/modules/unit/components/Members/state.js.map +0 -1
- package/es/modules/unit/components/NewUnitForm/index.d.ts +0 -12
- package/es/modules/unit/components/NewUnitForm/index.js +0 -51
- package/es/modules/unit/components/NewUnitForm/index.js.map +0 -1
- package/es/modules/unit/components/NewUnitForm/index.less +0 -33
- package/es/modules/unit/components/NewUnitForm/state.d.ts +0 -22
- package/es/modules/unit/components/NewUnitForm/state.js +0 -49
- package/es/modules/unit/components/NewUnitForm/state.js.map +0 -1
- package/es/modules/unit/components/SubUnitList/index.d.ts +0 -9
- package/es/modules/unit/components/SubUnitList/index.js +0 -68
- package/es/modules/unit/components/SubUnitList/index.js.map +0 -1
- package/es/modules/unit/components/SubUnitList/index.less +0 -28
- package/es/modules/unit/components/SubUnitList/state.d.ts +0 -33
- package/es/modules/unit/components/SubUnitList/state.js +0 -67
- package/es/modules/unit/components/SubUnitList/state.js.map +0 -1
- package/es/modules/unit/components/UnitAvatar/index.d.ts +0 -16
- package/es/modules/unit/components/UnitAvatar/index.js +0 -30
- package/es/modules/unit/components/UnitAvatar/index.js.map +0 -1
- package/es/modules/unit/components/UnitAvatar/index.less +0 -7
- package/es/modules/unit/components/UnitDetails/index.d.ts +0 -5
- package/es/modules/unit/components/UnitDetails/index.js +0 -123
- package/es/modules/unit/components/UnitDetails/index.js.map +0 -1
- package/es/modules/unit/components/UnitDetails/index.less +0 -63
- package/es/modules/unit/components/UnitDetails/state.d.ts +0 -8
- package/es/modules/unit/components/UnitDetails/state.js +0 -24
- package/es/modules/unit/components/UnitDetails/state.js.map +0 -1
- package/es/modules/unit/components/UnitHead/index.d.ts +0 -7
- package/es/modules/unit/components/UnitHead/index.js +0 -38
- package/es/modules/unit/components/UnitHead/index.js.map +0 -1
- package/es/modules/unit/components/UnitHead/index.less +0 -26
- package/es/modules/unit/components/UnitHead/state.d.ts +0 -11
- package/es/modules/unit/components/UnitHead/state.js +0 -8
- package/es/modules/unit/components/UnitHead/state.js.map +0 -1
- package/es/modules/unit/components/UnitItem/Item.d.ts +0 -18
- package/es/modules/unit/components/UnitItem/Item.js +0 -34
- package/es/modules/unit/components/UnitItem/Item.js.map +0 -1
- package/es/modules/unit/components/UnitItem/index.d.ts +0 -9
- package/es/modules/unit/components/UnitItem/index.js +0 -46
- package/es/modules/unit/components/UnitItem/index.js.map +0 -1
- package/es/modules/unit/components/UnitItem/index.less +0 -46
- package/es/modules/unit/components/UnitItem/state.d.ts +0 -25
- package/es/modules/unit/components/UnitItem/state.js +0 -20
- package/es/modules/unit/components/UnitItem/state.js.map +0 -1
- package/es/modules/unit/components/UnitList/index.d.ts +0 -4
- package/es/modules/unit/components/UnitList/index.js +0 -37
- package/es/modules/unit/components/UnitList/index.js.map +0 -1
- package/es/modules/unit/components/UnitList/index.less +0 -0
- package/es/modules/unit/components/UnitList/state.d.ts +0 -15
- package/es/modules/unit/components/UnitList/state.js +0 -31
- package/es/modules/unit/components/UnitList/state.js.map +0 -1
- package/es/modules/unit/components/UnitName/index.d.ts +0 -5
- package/es/modules/unit/components/UnitName/index.js +0 -20
- package/es/modules/unit/components/UnitName/index.js.map +0 -1
- package/es/modules/unit/components/UnitPropertiesView/index.d.ts +0 -6
- package/es/modules/unit/components/UnitPropertiesView/index.js +0 -22
- package/es/modules/unit/components/UnitPropertiesView/index.js.map +0 -1
- package/es/modules/unit/components/UnitPropertiesView/index.less +0 -0
- package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.d.ts +0 -15
- package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.js +0 -50
- package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.js.map +0 -1
- package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.less +0 -22
- package/es/modules/unit/components/UnitQuickView/index.d.ts +0 -9
- package/es/modules/unit/components/UnitQuickView/index.js +0 -30
- package/es/modules/unit/components/UnitQuickView/index.js.map +0 -1
- package/es/modules/unit/components/UnitQuickView/index.less +0 -63
- package/es/modules/unit/components/UnitQuickView/state.d.ts +0 -8
- package/es/modules/unit/components/UnitQuickView/state.js +0 -26
- package/es/modules/unit/components/UnitQuickView/state.js.map +0 -1
- package/es/modules/unit/components/UnitSortableTree/index.d.ts +0 -10
- package/es/modules/unit/components/UnitSortableTree/index.js +0 -70
- package/es/modules/unit/components/UnitSortableTree/index.js.map +0 -1
- package/es/modules/unit/components/UnitSortableTree/state.d.ts +0 -55
- package/es/modules/unit/components/UnitSortableTree/state.js +0 -166
- package/es/modules/unit/components/UnitSortableTree/state.js.map +0 -1
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/index.d.ts +0 -3
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/index.js +0 -22
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/index.js.map +0 -1
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.d.ts +0 -3
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.js +0 -82
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.js.map +0 -1
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.less +0 -316
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.d.ts +0 -3
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.js +0 -21
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.js.map +0 -1
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.less +0 -4
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/index.d.ts +0 -4
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/index.js +0 -23
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/index.js.map +0 -1
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.d.ts +0 -3
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.js +0 -58
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.js.map +0 -1
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.less +0 -45
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.d.ts +0 -3
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.js +0 -73
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.js.map +0 -1
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.less +0 -12
- package/es/modules/unit/components/UnitTabs/index.d.ts +0 -6
- package/es/modules/unit/components/UnitTabs/index.js +0 -35
- package/es/modules/unit/components/UnitTabs/index.js.map +0 -1
- package/es/modules/unit/components/UnitsSelectDialog/index.d.ts +0 -9
- package/es/modules/unit/components/UnitsSelectDialog/index.js +0 -35
- package/es/modules/unit/components/UnitsSelectDialog/index.js.map +0 -1
- package/es/modules/unit/components/UnitsSelectDialog/index.less +0 -36
- package/es/modules/unit/components/UnitsSelectDialog/state.d.ts +0 -22
- package/es/modules/unit/components/UnitsSelectDialog/state.js +0 -73
- package/es/modules/unit/components/UnitsSelectDialog/state.js.map +0 -1
- package/es/modules/unit/controls/ContactSelect/index.d.ts +0 -9
- package/es/modules/unit/controls/ContactSelect/index.js +0 -78
- package/es/modules/unit/controls/ContactSelect/index.js.map +0 -1
- package/es/modules/unit/controls/ContactSelect/state.d.ts +0 -23
- package/es/modules/unit/controls/ContactSelect/state.js +0 -43
- package/es/modules/unit/controls/ContactSelect/state.js.map +0 -1
- package/es/modules/unit/controls/QuickDataIcon/UnitTeamsIcon/index.d.ts +0 -6
- package/es/modules/unit/controls/QuickDataIcon/UnitTeamsIcon/index.js +0 -32
- package/es/modules/unit/controls/QuickDataIcon/UnitTeamsIcon/index.js.map +0 -1
- package/es/modules/unit/controls/QuickDataIcon/UnitTeamsIcon/index.less +0 -21
- package/es/modules/unit/controls/QuickDataIcon/index.d.ts +0 -21
- package/es/modules/unit/controls/QuickDataIcon/index.js +0 -36
- package/es/modules/unit/controls/QuickDataIcon/index.js.map +0 -1
- package/es/modules/unit/controls/QuickDataIcon/index.less +0 -12
- package/es/modules/unit/controls/ToolBar/ContactMenu/index.d.ts +0 -13
- package/es/modules/unit/controls/ToolBar/ContactMenu/index.js +0 -66
- package/es/modules/unit/controls/ToolBar/ContactMenu/index.js.map +0 -1
- package/es/modules/unit/controls/ToolBar/ContactMenu/index.less +0 -20
- package/es/modules/unit/controls/ToolBar/ContactMenu/state.d.ts +0 -36
- package/es/modules/unit/controls/ToolBar/ContactMenu/state.js +0 -78
- package/es/modules/unit/controls/ToolBar/ContactMenu/state.js.map +0 -1
- package/es/modules/unit/controls/ToolBar/index.d.ts +0 -12
- package/es/modules/unit/controls/ToolBar/index.js +0 -56
- package/es/modules/unit/controls/ToolBar/index.js.map +0 -1
- package/es/modules/unit/controls/ToolBar/index.less +0 -18
- package/es/modules/unit/controls/ToolBar/state.d.ts +0 -42
- package/es/modules/unit/controls/ToolBar/state.js +0 -62
- package/es/modules/unit/controls/ToolBar/state.js.map +0 -1
- package/es/modules/unit/controls/UnitTypeFilter/index.d.ts +0 -3
- package/es/modules/unit/controls/UnitTypeFilter/index.js +0 -21
- package/es/modules/unit/controls/UnitTypeFilter/index.js.map +0 -1
- package/es/modules/unit/controls/UnitTypeFilter/state.d.ts +0 -18
- package/es/modules/unit/controls/UnitTypeFilter/state.js +0 -63
- package/es/modules/unit/controls/UnitTypeFilter/state.js.map +0 -1
- package/es/modules/unit/data/StoreContext/index.d.ts +0 -3
- package/es/modules/unit/data/StoreContext/index.js +0 -4
- package/es/modules/unit/data/StoreContext/index.js.map +0 -1
- package/es/modules/unit/data/UnitContext/index.d.ts +0 -18
- package/es/modules/unit/data/UnitContext/index.js +0 -32
- package/es/modules/unit/data/UnitContext/index.js.map +0 -1
- package/es/modules/unit/data/UnitStore.d.ts +0 -124
- package/es/modules/unit/data/UnitStore.js +0 -226
- package/es/modules/unit/data/UnitStore.js.map +0 -1
- package/es/modules/unit/data/UnitType.d.ts +0 -1
- package/es/modules/unit/data/UnitType.js +0 -18
- package/es/modules/unit/data/UnitType.js.map +0 -1
- package/es/modules/unit/data/UserStore.d.ts +0 -33
- package/es/modules/unit/data/UserStore.js +0 -53
- package/es/modules/unit/data/UserStore.js.map +0 -1
- package/es/modules/unit/data/hooks/index.d.ts +0 -7
- package/es/modules/unit/data/hooks/index.js +0 -8
- package/es/modules/unit/data/hooks/index.js.map +0 -1
- package/es/modules/unit/data/hooks/member-events/index.d.ts +0 -3
- package/es/modules/unit/data/hooks/member-events/index.js +0 -4
- package/es/modules/unit/data/hooks/member-events/index.js.map +0 -1
- package/es/modules/unit/data/hooks/member-events/useAutoUpdateMemberListData.d.ts +0 -4
- package/es/modules/unit/data/hooks/member-events/useAutoUpdateMemberListData.js +0 -13
- package/es/modules/unit/data/hooks/member-events/useAutoUpdateMemberListData.js.map +0 -1
- package/es/modules/unit/data/hooks/member-events/useOnDeleteMember.d.ts +0 -4
- package/es/modules/unit/data/hooks/member-events/useOnDeleteMember.js +0 -17
- package/es/modules/unit/data/hooks/member-events/useOnDeleteMember.js.map +0 -1
- package/es/modules/unit/data/hooks/member-events/useOnNewMember.d.ts +0 -4
- package/es/modules/unit/data/hooks/member-events/useOnNewMember.js +0 -17
- package/es/modules/unit/data/hooks/member-events/useOnNewMember.js.map +0 -1
- package/es/modules/unit/data/hooks/unit-events/index.d.ts +0 -3
- package/es/modules/unit/data/hooks/unit-events/index.js +0 -4
- package/es/modules/unit/data/hooks/unit-events/index.js.map +0 -1
- package/es/modules/unit/data/hooks/unit-events/useAutoUpdateUnitListData.d.ts +0 -4
- package/es/modules/unit/data/hooks/unit-events/useAutoUpdateUnitListData.js +0 -13
- package/es/modules/unit/data/hooks/unit-events/useAutoUpdateUnitListData.js.map +0 -1
- package/es/modules/unit/data/hooks/unit-events/useOnDeleteUnit.d.ts +0 -4
- package/es/modules/unit/data/hooks/unit-events/useOnDeleteUnit.js +0 -17
- package/es/modules/unit/data/hooks/unit-events/useOnDeleteUnit.js.map +0 -1
- package/es/modules/unit/data/hooks/unit-events/useOnNewUnit.d.ts +0 -4
- package/es/modules/unit/data/hooks/unit-events/useOnNewUnit.js +0 -17
- package/es/modules/unit/data/hooks/unit-events/useOnNewUnit.js.map +0 -1
- package/es/modules/unit/data/hooks/useTeamListEffect.d.ts +0 -8
- package/es/modules/unit/data/hooks/useTeamListEffect.js +0 -27
- package/es/modules/unit/data/hooks/useTeamListEffect.js.map +0 -1
- package/es/modules/unit/data/hooks/useUnit.d.ts +0 -6
- package/es/modules/unit/data/hooks/useUnit.js +0 -12
- package/es/modules/unit/data/hooks/useUnit.js.map +0 -1
- package/es/modules/unit/data/hooks/useUnitActivityListEffect.d.ts +0 -8
- package/es/modules/unit/data/hooks/useUnitActivityListEffect.js +0 -16
- package/es/modules/unit/data/hooks/useUnitActivityListEffect.js.map +0 -1
- package/es/modules/unit/data/hooks/useUnitListEffect.d.ts +0 -8
- package/es/modules/unit/data/hooks/useUnitListEffect.js +0 -28
- package/es/modules/unit/data/hooks/useUnitListEffect.js.map +0 -1
- package/es/modules/unit/data/hooks/useUserInfo.d.ts +0 -6
- package/es/modules/unit/data/hooks/useUserInfo.js +0 -12
- package/es/modules/unit/data/hooks/useUserInfo.js.map +0 -1
- package/es/modules/unit/data/index.d.ts +0 -4
- package/es/modules/unit/data/index.js +0 -5
- package/es/modules/unit/data/index.js.map +0 -1
- package/es/modules/unit/data/interfaces/IAddress.d.ts +0 -14
- package/es/modules/unit/data/interfaces/IAddress.js +0 -1
- package/es/modules/unit/data/interfaces/IAddress.js.map +0 -1
- package/es/modules/unit/data/interfaces/IEntityName.d.ts +0 -6
- package/es/modules/unit/data/interfaces/IEntityName.js +0 -1
- package/es/modules/unit/data/interfaces/IEntityName.js.map +0 -1
- package/es/modules/unit/data/interfaces/IUnit.d.ts +0 -51
- package/es/modules/unit/data/interfaces/IUnit.js +0 -1
- package/es/modules/unit/data/interfaces/IUnit.js.map +0 -1
- package/es/modules/unit/data/interfaces/IUserInfo.d.ts +0 -12
- package/es/modules/unit/data/interfaces/IUserInfo.js +0 -1
- package/es/modules/unit/data/interfaces/IUserInfo.js.map +0 -1
- package/es/modules/unit/data/interfaces/index.d.ts +0 -4
- package/es/modules/unit/data/interfaces/index.js +0 -5
- package/es/modules/unit/data/interfaces/index.js.map +0 -1
- package/es/modules/unit/pages/UnitDefaultView/index.d.ts +0 -3
- package/es/modules/unit/pages/UnitDefaultView/index.js +0 -47
- package/es/modules/unit/pages/UnitDefaultView/index.js.map +0 -1
- package/es/modules/unit/pages/UnitDefaultView/index.less +0 -17
- package/es/modules/unit/pages/UnitListView/index.d.ts +0 -3
- package/es/modules/unit/pages/UnitListView/index.js +0 -10
- package/es/modules/unit/pages/UnitListView/index.js.map +0 -1
- package/es/modules/unit/pages/UnitTreeView/index.d.ts +0 -3
- package/es/modules/unit/pages/UnitTreeView/index.js +0 -47
- package/es/modules/unit/pages/UnitTreeView/index.js.map +0 -1
- package/es/modules/unit/pages/UnitTreeView/index.less +0 -31
- package/es/modules/unit/pages/UnitTreeView/state.d.ts +0 -5
- package/es/modules/unit/pages/UnitTreeView/state.js +0 -14
- package/es/modules/unit/pages/UnitTreeView/state.js.map +0 -1
|
@@ -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,MAAM,MAAM,8BAA8B,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,SAAS,YAAY,CAAC,KAAU,EAAE,OAAY;IAC7C,OAAO,CACN,CAAC,CAAC,KAAK,CAAC,QAAQ;QAChB,OAAO,KAAK,CAAC,QAAQ,KAAK,UAAU;QACpC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,KAAK,OAAO,IAAI,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CACtF,CAAC;AACH,CAAC;AAED,MAAM,4BAA4B,GAAiB,CAAC,KAAwB,EAAE,EAAE;IAC/E,MAAM,EACL,oBAAoB,EACpB,wBAAwB,EACxB,kBAAkB,EAClB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C;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
|
-
}
|
package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.js
DELETED
|
@@ -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,23 +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 "react-sortable-tree/style.css";
|
|
13
|
-
import nodeContentRenderer from "./node-content-renderer";
|
|
14
|
-
import treeNodeRenderer from "./tree-node-renderer";
|
|
15
|
-
const SortableTreeUnitTheme = {
|
|
16
|
-
nodeContentRenderer,
|
|
17
|
-
treeNodeRenderer,
|
|
18
|
-
scaffoldBlockPxWidth: 44,
|
|
19
|
-
rowHeight: 85,
|
|
20
|
-
slideRegionSize: 50
|
|
21
|
-
};
|
|
22
|
-
export default SortableTreeUnitTheme;
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/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;AAEvC,OAAO,+BAA+B,CAAC;AAGvC,OAAO,mBAAmB,MAAM,yBAAyB,CAAC;AAC1D,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AAEpD,MAAM,qBAAqB,GAAe;IACzC,mBAAmB;IACnB,gBAAgB;IAChB,oBAAoB,EAAE,EAAE;IACxB,SAAS,EAAE,EAAE;IACb,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
2
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
3
|
-
import { Spin } from "@voplus/antd";
|
|
4
|
-
import UnitItem from "../../../UnitItem";
|
|
5
|
-
import classnames from "classnames";
|
|
6
|
-
import { faBars } from "@fortawesome/pro-light-svg-icons";
|
|
7
|
-
import styles from "./node-content-renderer.less";
|
|
8
|
-
/**
|
|
9
|
-
* Check if a node is a descendant of another node.
|
|
10
|
-
*
|
|
11
|
-
* @param {!Object} older - Potential ancestor of younger node
|
|
12
|
-
* @param {!Object} younger - Potential descendant of older node
|
|
13
|
-
*
|
|
14
|
-
* @return {boolean}
|
|
15
|
-
*/
|
|
16
|
-
function isDescendant(older, younger) {
|
|
17
|
-
return (!!older.children &&
|
|
18
|
-
typeof older.children !== "function" &&
|
|
19
|
-
older.children.some((child) => child === younger || isDescendant(child, younger)));
|
|
20
|
-
}
|
|
21
|
-
const FileThemeNodeContentRenderer = (props) => {
|
|
22
|
-
const { scaffoldBlockPxWidth, toggleChildrenVisibility, connectDragPreview, connectDragSource, isDragging, canDrop, canDrag, node, title, subtitle, draggedNode, path, treeIndex, isSearchMatch, isSearchFocus, icons, buttons, className, style, didDrop, lowerSiblingCounts, listIndex, swapFrom, swapLength, swapDepth, treeId, // Not needed, but preserved for other renderers
|
|
23
|
-
isOver, // Not needed, but preserved for other renderers
|
|
24
|
-
parentNode, // Needed for dndManager
|
|
25
|
-
rowDirection, ...otherProps } = props;
|
|
26
|
-
const [isHover, setIsHover] = useState(false);
|
|
27
|
-
const isDraggedDescendant = draggedNode && isDescendant(draggedNode, node);
|
|
28
|
-
const isLandingPadActive = !didDrop && isDragging;
|
|
29
|
-
const buttonStyle = { left: -0.5 * scaffoldBlockPxWidth };
|
|
30
|
-
const handle = (React.createElement(React.Fragment, null, canDrag && (React.createElement(React.Fragment, null, node.childrenListLoading && node.expanded ? (
|
|
31
|
-
// Show a loading symbol on the handle when the children are expanded
|
|
32
|
-
React.createElement("div", { className: styles["doc-moveHandle"] },
|
|
33
|
-
React.createElement(Spin, null))) : (
|
|
34
|
-
// Show the handle used to initiate a drag-and-drop
|
|
35
|
-
connectDragSource(React.createElement("div", { className: styles["doc-moveHandle"] },
|
|
36
|
-
React.createElement(FAIcon, { icon: faBars })), {
|
|
37
|
-
dropEffect: "copy"
|
|
38
|
-
}))))));
|
|
39
|
-
return (React.createElement("div", Object.assign({ style: { height: "100%" }, className: styles["theme-nodeContent"] }, otherProps),
|
|
40
|
-
toggleChildrenVisibility &&
|
|
41
|
-
node.children &&
|
|
42
|
-
(node.children.length > 0 || typeof node.children === "function") && (React.createElement("div", null,
|
|
43
|
-
React.createElement("button", { type: "button", "aria-label": node.expanded ? "Collapse" : "Expand", className: classnames(node.expanded ? "rst__collapseButton" : "rst__expandButton"), style: buttonStyle, onClick: () => toggleChildrenVisibility({
|
|
44
|
-
node,
|
|
45
|
-
path,
|
|
46
|
-
treeIndex
|
|
47
|
-
}) }),
|
|
48
|
-
node.expanded && !isDragging && (React.createElement("div", { style: { width: scaffoldBlockPxWidth }, className: classnames("rst__lineChildren") })))),
|
|
49
|
-
React.createElement("div", { className: classnames("rst__rowWrapper") }, connectDragPreview(React.createElement("div", { className: classnames("doc-row", isLandingPadActive && "rst__rowLandingPad", isLandingPadActive && !canDrop && "rst__rowCancelPad", isSearchMatch && "rst__rowSearchMatch", isSearchFocus && "rst__rowSearchFocus", className), style: {
|
|
50
|
-
opacity: isDraggedDescendant ? 0.5 : 1,
|
|
51
|
-
...style
|
|
52
|
-
} },
|
|
53
|
-
handle,
|
|
54
|
-
React.createElement("div", { className: classnames("doc-rowContents", !canDrag && "rst__rowContentsDragDisabled") },
|
|
55
|
-
React.createElement(UnitItem, { id: node.id, type: "tree", className: "unit-tree-item" })))))));
|
|
56
|
-
};
|
|
57
|
-
export default FileThemeNodeContentRenderer;
|
|
58
|
-
//# 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/SortableTreeUnitTheme/node-content-renderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AACzC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,MAAM,MAAM,8BAA8B,CAAC;AAElD;;;;;;;GAOG;AACH,SAAS,YAAY,CAAC,KAAU,EAAE,OAAY;IAC7C,OAAO,CACN,CAAC,CAAC,KAAK,CAAC,QAAQ;QAChB,OAAO,KAAK,CAAC,QAAQ,KAAK,UAAU;QACpC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,KAAK,OAAO,IAAI,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CACtF,CAAC;AACH,CAAC;AAED,MAAM,4BAA4B,GAAiB,CAAC,KAAwB,EAAE,EAAE;IAC/E,MAAM,EACL,oBAAoB,EACpB,wBAAwB,EACxB,kBAAkB,EAClB,iBAAiB,EACjB,UAAU,EACV,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,SAAS,EACT,aAAa,EACb,aAAa,EACb,KAAK,EACL,OAAO,EACP,SAAS,EACT,KAAK,EACL,OAAO,EACP,k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
|
1
|
-
.theme-nodeContent {
|
|
2
|
-
:global {
|
|
3
|
-
.rst__collapseButton,
|
|
4
|
-
.rst__expandButton {
|
|
5
|
-
box-shadow: 0 0 0 1px #cccccc;
|
|
6
|
-
}
|
|
7
|
-
.rst__lineChildren::after {
|
|
8
|
-
background-color: #cccccc;
|
|
9
|
-
}
|
|
10
|
-
.doc-row {
|
|
11
|
-
height: 100%;
|
|
12
|
-
white-space: nowrap;
|
|
13
|
-
display: flex;
|
|
14
|
-
border: solid #bbb 1px;
|
|
15
|
-
box-shadow: 0 2px 2px -2px;
|
|
16
|
-
padding: 0 5px 0 10px;
|
|
17
|
-
border-radius: 2px;
|
|
18
|
-
.doc-rowContents {
|
|
19
|
-
position: relative;
|
|
20
|
-
height: 100%;
|
|
21
|
-
min-width: 230px;
|
|
22
|
-
flex: 1 0 auto;
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
justify-content: space-between;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
}
|
|
28
|
-
.unit-tree-item {
|
|
29
|
-
min-width: 100%;
|
|
30
|
-
margin: 0;
|
|
31
|
-
border-bottom: none;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
.doc-moveHandle {
|
|
37
|
-
width: 20px;
|
|
38
|
-
font-size: 20px;
|
|
39
|
-
color: #ccc;
|
|
40
|
-
cursor: move;
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
z-index: 1;
|
|
45
|
-
}
|