@voplus/morpho-document 1.0.0-dev275 → 1.0.0-dev278
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 -0
- package/es/components/ActivityLog/ActivityLog2/index.d.ts +6 -1
- package/es/components/ActivityLog/ActivityLog2/index.js +6 -4
- package/es/components/ActivityLog/ActivityLog2/index.js.map +1 -1
- package/es/components/ActivityLog/ActivityLog2/index.less +5 -29
- package/es/components/DocumentCard/index.js +1 -1
- package/es/components/DocumentCard/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/DocumentItem/index.js +1 -1
- package/es/components/DocumentItem/index.js.map +1 -1
- package/es/components/DocumentList/index.js +3 -3
- package/es/components/DocumentList/index.js.map +1 -1
- package/es/components/DocumentList/index.less +3 -0
- package/es/components/DocumentQuickViewDialog/index.js +1 -4
- package/es/components/DocumentQuickViewDialog/index.js.map +1 -1
- package/es/components/DocumentTabs/index.d.ts +2 -0
- package/es/components/DocumentTabs/index.js +4 -3
- package/es/components/DocumentTabs/index.js.map +1 -1
- package/es/components/ExtraDataCardList/index.d.ts +5 -0
- package/es/components/ExtraDataCardList/index.js +38 -0
- package/es/components/ExtraDataCardList/index.js.map +1 -0
- package/es/components/Links/index.less +111 -111
- package/es/components/NewDocumentForm/index.d.ts +1 -0
- package/es/components/NewDocumentForm/index.js +4 -1
- package/es/components/NewDocumentForm/index.js.map +1 -1
- package/es/components/QuickAccessSearch/ObjectItem/index.js +2 -2
- package/es/components/QuickAccessSearch/ObjectItem/index.js.map +1 -1
- package/es/components/QuickViewDialog/QuickSubTab/index.js +2 -6
- package/es/components/QuickViewDialog/QuickSubTab/index.js.map +1 -1
- package/es/components/TextPropertiesView/index.d.ts +6 -0
- package/es/components/TextPropertiesView/index.js +20 -0
- package/es/components/TextPropertiesView/index.js.map +1 -0
- package/es/components/{TextQuickView → TextQuickViewDialog}/index.d.ts +2 -2
- package/es/components/{TextQuickView → TextQuickViewDialog}/index.js +6 -3
- package/es/components/TextQuickViewDialog/index.js.map +1 -0
- package/es/controls/ToolBar/ToolBar2.js +4 -3
- package/es/controls/ToolBar/ToolBar2.js.map +1 -1
- package/es/controls/ToolBar/ToolBarState.d.ts +15 -6
- package/es/controls/ToolBar/ToolBarState.js +11 -3
- package/es/controls/ToolBar/ToolBarState.js.map +1 -1
- package/es/controls/ToolBar/buttons/More.d.ts +2 -2
- package/es/controls/ToolBar/buttons/More.js +3 -3
- package/es/controls/ToolBar/buttons/More.js.map +1 -1
- package/es/controls/ToolBar/buttons/state.js +24 -12
- package/es/controls/ToolBar/buttons/state.js.map +1 -1
- package/es/controls/ToolBar/menus/Access.js +3 -3
- package/es/controls/ToolBar/menus/Access.js.map +1 -1
- package/es/controls/ToolBar/menus/Delete.js +1 -0
- package/es/controls/ToolBar/menus/Delete.js.map +1 -1
- package/es/controls/ToolBar/menus/Lock.js +1 -0
- package/es/controls/ToolBar/menus/Lock.js.map +1 -1
- package/es/controls/ToolBar/menus/Move.js +1 -0
- package/es/controls/ToolBar/menus/Move.js.map +1 -1
- package/es/controls/ToolBar/menus/OpenReferenceView.js +5 -3
- package/es/controls/ToolBar/menus/OpenReferenceView.js.map +1 -1
- package/es/controls/ToolBar/menus/OpenTreeView.js +1 -0
- package/es/controls/ToolBar/menus/OpenTreeView.js.map +1 -1
- package/es/controls/ToolBar/menus/Paste.js +1 -0
- package/es/controls/ToolBar/menus/Paste.js.map +1 -1
- package/es/controls/ToolBar/menus/Publish.js +3 -3
- package/es/controls/ToolBar/menus/Publish.js.map +1 -1
- package/es/controls/ToolBar/menus/PublishLock.js +3 -3
- package/es/controls/ToolBar/menus/PublishLock.js.map +1 -1
- package/es/controls/ToolBar/menus/Revert.js +3 -0
- package/es/controls/ToolBar/menus/Revert.js.map +1 -1
- package/es/modules/unit/components/ChangeUserPassword/index.d.ts +6 -0
- package/es/modules/unit/components/ChangeUserPassword/index.js +37 -0
- package/es/modules/unit/components/ChangeUserPassword/index.js.map +1 -0
- package/es/modules/unit/components/ChangeUserPassword/index.less +13 -0
- package/es/modules/unit/components/ContactUserInfoView/index.d.ts +3 -0
- package/es/modules/unit/components/ContactUserInfoView/index.js +40 -0
- package/es/modules/unit/components/ContactUserInfoView/index.js.map +1 -0
- package/es/modules/unit/components/ContactUserInfoView/index.less +20 -0
- package/es/modules/unit/components/ContactUserInfoView/state.d.ts +5 -0
- package/es/modules/unit/components/ContactUserInfoView/state.js +14 -0
- package/es/modules/unit/components/ContactUserInfoView/state.js.map +1 -0
- package/es/modules/unit/components/Members/index.js +14 -25
- package/es/modules/unit/components/Members/index.js.map +1 -1
- package/es/modules/unit/components/NewUnitForm/index.d.ts +1 -1
- package/es/modules/unit/components/SubUnitList/index.d.ts +6 -2
- package/es/modules/unit/components/SubUnitList/index.js +17 -20
- package/es/modules/unit/components/SubUnitList/index.js.map +1 -1
- package/es/modules/unit/components/SubUnitList/index.less +10 -4
- package/es/modules/unit/components/SubUnitList/state.d.ts +15 -0
- package/es/modules/unit/components/SubUnitList/state.js +36 -1
- package/es/modules/unit/components/SubUnitList/state.js.map +1 -1
- package/es/modules/unit/components/UnitItem/Item.d.ts +17 -0
- package/es/modules/unit/components/UnitItem/Item.js +24 -0
- package/es/modules/unit/components/UnitItem/Item.js.map +1 -0
- package/es/modules/unit/components/UnitItem/index.js +43 -0
- package/es/modules/unit/components/UnitItem/index.js.map +1 -0
- package/es/modules/unit/components/UnitItem/index.less +17 -9
- package/es/modules/unit/components/UnitItem/state.d.ts +2 -2
- package/es/modules/unit/components/UnitItem/state.js.map +1 -1
- package/es/modules/unit/components/UnitList/index.js +4 -4
- package/es/modules/unit/components/UnitList/index.js.map +1 -1
- package/es/modules/unit/components/UnitName/index.d.ts +5 -0
- package/es/modules/unit/components/UnitName/index.js +20 -0
- package/es/modules/unit/components/UnitName/index.js.map +1 -0
- package/es/modules/unit/components/UnitSortableTree/index.js +4 -5
- package/es/modules/unit/components/UnitSortableTree/index.js.map +1 -1
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/index.d.ts +3 -0
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/index.js +22 -0
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/index.js.map +1 -0
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.js +82 -0
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.js.map +1 -0
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/node-content-renderer.less +316 -0
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.js +21 -0
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.js.map +1 -0
- package/es/modules/unit/components/UnitSortableTree/themes/FileExplorerTheme/tree-node-renderer.less +4 -0
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/index.js.map +1 -0
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.d.ts +3 -0
- package/es/modules/unit/components/{SortableTreeUnitTheme → UnitSortableTree/themes/SortableTreeUnitTheme}/node-content-renderer.js +2 -2
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/node-content-renderer.js.map +1 -0
- package/es/modules/unit/components/{SortableTreeUnitTheme → UnitSortableTree/themes/SortableTreeUnitTheme}/node-content-renderer.less +0 -1
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.d.ts +3 -0
- package/es/modules/unit/components/UnitSortableTree/themes/SortableTreeUnitTheme/tree-node-renderer.js.map +1 -0
- package/es/modules/unit/components/UnitTabs/index.js +5 -2
- package/es/modules/unit/components/UnitTabs/index.js.map +1 -1
- package/es/modules/unit/components/UnitsSelectDialog/index.d.ts +9 -0
- package/es/modules/unit/components/UnitsSelectDialog/index.js +35 -0
- package/es/modules/unit/components/UnitsSelectDialog/index.js.map +1 -0
- package/es/modules/unit/components/UnitsSelectDialog/index.less +36 -0
- package/es/modules/unit/components/UnitsSelectDialog/state.d.ts +34 -0
- package/es/modules/unit/components/UnitsSelectDialog/state.js +73 -0
- package/es/modules/unit/components/UnitsSelectDialog/state.js.map +1 -0
- package/es/modules/unit/controls/QuickDataIcon/index.less +12 -0
- package/es/modules/unit/data/UserStore.d.ts +33 -0
- package/es/modules/unit/data/UserStore.js +53 -0
- package/es/modules/unit/data/UserStore.js.map +1 -0
- package/es/modules/unit/data/hooks/useUserInfo.d.ts +6 -0
- package/es/modules/unit/data/hooks/useUserInfo.js +12 -0
- package/es/modules/unit/data/hooks/useUserInfo.js.map +1 -0
- package/es/modules/unit/data/interfaces/IUnit.d.ts +2 -0
- package/es/modules/unit/data/interfaces/IUserInfo.d.ts +12 -0
- package/es/modules/unit/data/interfaces/IUserInfo.js +1 -0
- package/es/modules/unit/data/interfaces/IUserInfo.js.map +1 -0
- package/es/modules/unit/data/interfaces/index.d.ts +1 -0
- package/es/modules/unit/data/interfaces/index.js +1 -0
- package/es/modules/unit/data/interfaces/index.js.map +1 -1
- package/es/modules/unit/pages/UnitTreeView/index.js +1 -1
- package/es/modules/unit/pages/UnitTreeView/index.js.map +1 -1
- package/es/pages/Page/PageDefaultView/index.js +1 -1
- package/es/pages/Page/PageDefaultView/index.js.map +1 -1
- package/es/pages/Page/PageTextItem/index.js +1 -1
- package/es/pages/Page/PageTextItem/index.js.map +1 -1
- package/es/pages/VSubmit/VSubmitDefaultView/index.d.ts +3 -0
- package/es/pages/VSubmit/VSubmitDefaultView/index.js +59 -0
- package/es/pages/VSubmit/VSubmitDefaultView/index.js.map +1 -0
- package/es/pages/VSubmit/VSubmitDefaultView/index.less +10 -0
- package/es/pages/VSubmit/VSubmitDefaultView/state.d.ts +4 -0
- package/es/pages/VSubmit/VSubmitDefaultView/state.js +12 -0
- package/es/pages/VSubmit/VSubmitDefaultView/state.js.map +1 -0
- package/es/pages/VSubmit/VSubmitSubmitterView/index.d.ts +4 -0
- package/es/pages/VSubmit/VSubmitSubmitterView/index.js +35 -0
- package/es/pages/VSubmit/VSubmitSubmitterView/index.js.map +1 -0
- package/es/pages/VSubmit/VSubmitSubmitterView/index.less +30 -0
- package/es/pages/VSubmit/components/DocumentIconCard/index.d.ts +12 -0
- package/es/pages/VSubmit/components/DocumentIconCard/index.js +32 -0
- package/es/pages/VSubmit/components/DocumentIconCard/index.js.map +1 -0
- package/es/pages/VSubmit/components/DocumentIconCard/index.less +37 -0
- package/es/pages/VSubmit/components/DocumentIconView/index.d.ts +13 -0
- package/es/pages/VSubmit/components/DocumentIconView/index.js +61 -0
- package/es/pages/VSubmit/components/DocumentIconView/index.js.map +1 -0
- package/es/pages/VSubmit/components/DocumentIconView/index.less +65 -0
- package/es/pages/VSubmit/components/DocumentIconView/state.d.ts +8 -0
- package/es/pages/VSubmit/components/DocumentIconView/state.js +17 -0
- package/es/pages/VSubmit/components/DocumentIconView/state.js.map +1 -0
- package/es/pages/VSubmit/components/EmailRecipients/index.d.ts +9 -0
- package/es/pages/VSubmit/components/EmailRecipients/index.js +48 -0
- package/es/pages/VSubmit/components/EmailRecipients/index.js.map +1 -0
- package/es/pages/VSubmit/components/EmailRecipients/index.less +27 -0
- package/es/pages/VSubmit/components/EmailRecipients/state.d.ts +8 -0
- package/es/pages/VSubmit/components/EmailRecipients/state.js +23 -0
- package/es/pages/VSubmit/components/EmailRecipients/state.js.map +1 -0
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.d.ts +14 -0
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.js +40 -0
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.js.map +1 -0
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.less +60 -0
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/state.d.ts +8 -0
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/state.js +22 -0
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/state.js.map +1 -0
- package/es/pages/VSubmit/components/SubmitSections/index.d.ts +6 -0
- package/es/pages/VSubmit/components/SubmitSections/index.js +54 -0
- package/es/pages/VSubmit/components/SubmitSections/index.js.map +1 -0
- package/es/pages/VSubmit/components/SubmitSections/index.less +31 -0
- package/es/pages/VSubmit/data/VSubmitStore.d.ts +10 -0
- package/es/pages/VSubmit/data/VSubmitStore.js +16 -0
- package/es/pages/VSubmit/data/VSubmitStore.js.map +1 -0
- package/es/pages/VSubmit/data/hook.d.ts +3 -0
- package/es/pages/VSubmit/data/hook.js +10 -0
- package/es/pages/VSubmit/data/hook.js.map +1 -0
- package/es/pages/VSubmit/data/index.d.ts +3 -0
- package/es/pages/VSubmit/data/index.js +4 -0
- package/es/pages/VSubmit/data/index.js.map +1 -0
- package/es/pages/VSubmit/data/interfaces.d.ts +8 -0
- package/es/pages/VSubmit/data/interfaces.js +1 -0
- package/es/pages/VSubmit/data/interfaces.js.map +1 -0
- package/es/routes.d.ts +12 -0
- package/es/routes.js +27 -1
- package/es/routes.js.map +1 -1
- package/package.json +2 -2
- package/es/components/TextQuickView/index.js.map +0 -1
- package/es/components/TextQuickView/index.less +0 -21
- package/es/modules/unit/components/SortableTreeUnitTheme/index.js.map +0 -1
- package/es/modules/unit/components/SortableTreeUnitTheme/node-content-renderer.js.map +0 -1
- package/es/modules/unit/components/SortableTreeUnitTheme/tree-node-renderer.js.map +0 -1
- package/es/modules/unit/components/UnitItem/DefaultUnitItem.d.ts +0 -4
- package/es/modules/unit/components/UnitItem/DefaultUnitItem.js +0 -29
- package/es/modules/unit/components/UnitItem/DefaultUnitItem.js.map +0 -1
- package/es/modules/unit/components/UnitItem/SubUnitItem.js +0 -45
- package/es/modules/unit/components/UnitItem/SubUnitItem.js.map +0 -1
- /package/es/modules/unit/components/UnitItem/{SubUnitItem.d.ts → index.d.ts} +0 -0
- /package/es/modules/unit/components/{SortableTreeUnitTheme → UnitSortableTree/themes/FileExplorerTheme}/node-content-renderer.d.ts +0 -0
- /package/es/modules/unit/components/{SortableTreeUnitTheme → UnitSortableTree/themes/FileExplorerTheme}/tree-node-renderer.d.ts +0 -0
- /package/es/modules/unit/components/{SortableTreeUnitTheme → UnitSortableTree/themes/SortableTreeUnitTheme}/index.d.ts +0 -0
- /package/es/modules/unit/components/{SortableTreeUnitTheme → UnitSortableTree/themes/SortableTreeUnitTheme}/index.js +0 -0
- /package/es/modules/unit/components/{SortableTreeUnitTheme → UnitSortableTree/themes/SortableTreeUnitTheme}/tree-node-renderer.js +0 -0
- /package/es/modules/unit/components/{SortableTreeUnitTheme → UnitSortableTree/themes/SortableTreeUnitTheme}/tree-node-renderer.less +0 -0
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
-
.reference-view {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
height: 100%;
|
|
6
|
-
:global {
|
|
7
|
-
.reference-header {
|
|
8
|
-
display: flex;
|
|
9
|
-
margin: 5px 20px 0 20px;
|
|
10
|
-
.multiple-remove {
|
|
11
|
-
font-weight: 600;
|
|
12
|
-
color: #000;
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
.ant-btn {
|
|
15
|
-
padding: 0 10px 0 0;
|
|
16
|
-
font-size: 16px;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
.multiple-remove-btn {
|
|
20
|
-
.ant-btn {
|
|
21
|
-
padding: 0 10px;
|
|
22
|
-
font-style: italic;
|
|
23
|
-
}
|
|
24
|
-
.del-btn {
|
|
25
|
-
color: #ff4d4f;
|
|
26
|
-
&:hover {
|
|
27
|
-
color: #ff7875;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.cancel-btn {
|
|
31
|
-
color: #666;
|
|
32
|
-
&:hover {
|
|
33
|
-
color: @primary-color;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.plus-icon {
|
|
38
|
-
display: inline-block;
|
|
39
|
-
padding: 4px;
|
|
40
|
-
margin-left: 10px;
|
|
41
|
-
font-size: 13px;
|
|
42
|
-
line-height: 1px;
|
|
43
|
-
background: #1abc9c;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
.reference-view-page {
|
|
48
|
-
display: block;
|
|
49
|
-
}
|
|
50
|
-
.reference-item {
|
|
51
|
-
display: flex;
|
|
52
|
-
position: relative;
|
|
53
|
-
justify-content: space-between;
|
|
54
|
-
align-items: center;
|
|
55
|
-
padding: 5px 20px;
|
|
56
|
-
&:hover {
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
.reference-item-content {
|
|
59
|
-
opacity: 0.4;
|
|
60
|
-
}
|
|
61
|
-
.reference-status-none {
|
|
62
|
-
display: none;
|
|
63
|
-
}
|
|
64
|
-
.hover-operate-icon {
|
|
65
|
-
display: block;
|
|
66
|
-
opacity: 1;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
.reference-item-content {
|
|
70
|
-
flex: 1;
|
|
71
|
-
color: #000;
|
|
72
|
-
font-weight: 500;
|
|
73
|
-
.reference-content {
|
|
74
|
-
display: flex;
|
|
75
|
-
flex: 1;
|
|
76
|
-
.type-icon {
|
|
77
|
-
font-size: 15px;
|
|
78
|
-
padding-right: 10px;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
.task-item-name.task-item-name_done {
|
|
82
|
-
color: #a8a8a8;
|
|
83
|
-
}
|
|
84
|
-
.task-control {
|
|
85
|
-
display: flex;
|
|
86
|
-
align-items: center;
|
|
87
|
-
padding: 5px 0;
|
|
88
|
-
font-size: 13px;
|
|
89
|
-
color: #444;
|
|
90
|
-
font-weight: normal;
|
|
91
|
-
> span + span {
|
|
92
|
-
margin-left: 15px;
|
|
93
|
-
}
|
|
94
|
-
.svg-inline--fa {
|
|
95
|
-
margin-right: 5px;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.hover-operate-icon {
|
|
101
|
-
display: none;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
.ant-empty {
|
|
105
|
-
font-size: 12px;
|
|
106
|
-
.ant-empty-image {
|
|
107
|
-
height: 35px;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
1
|
+
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
+
.reference-view {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
height: 100%;
|
|
6
|
+
:global {
|
|
7
|
+
.reference-header {
|
|
8
|
+
display: flex;
|
|
9
|
+
margin: 5px 20px 0 20px;
|
|
10
|
+
.multiple-remove {
|
|
11
|
+
font-weight: 600;
|
|
12
|
+
color: #000;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
.ant-btn {
|
|
15
|
+
padding: 0 10px 0 0;
|
|
16
|
+
font-size: 16px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.multiple-remove-btn {
|
|
20
|
+
.ant-btn {
|
|
21
|
+
padding: 0 10px;
|
|
22
|
+
font-style: italic;
|
|
23
|
+
}
|
|
24
|
+
.del-btn {
|
|
25
|
+
color: #ff4d4f;
|
|
26
|
+
&:hover {
|
|
27
|
+
color: #ff7875;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.cancel-btn {
|
|
31
|
+
color: #666;
|
|
32
|
+
&:hover {
|
|
33
|
+
color: @primary-color;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.plus-icon {
|
|
38
|
+
display: inline-block;
|
|
39
|
+
padding: 4px;
|
|
40
|
+
margin-left: 10px;
|
|
41
|
+
font-size: 13px;
|
|
42
|
+
line-height: 1px;
|
|
43
|
+
background: #1abc9c;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.reference-view-page {
|
|
48
|
+
display: block;
|
|
49
|
+
}
|
|
50
|
+
.reference-item {
|
|
51
|
+
display: flex;
|
|
52
|
+
position: relative;
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
align-items: center;
|
|
55
|
+
padding: 5px 20px;
|
|
56
|
+
&:hover {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
.reference-item-content {
|
|
59
|
+
opacity: 0.4;
|
|
60
|
+
}
|
|
61
|
+
.reference-status-none {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
.hover-operate-icon {
|
|
65
|
+
display: block;
|
|
66
|
+
opacity: 1;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
.reference-item-content {
|
|
70
|
+
flex: 1;
|
|
71
|
+
color: #000;
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
.reference-content {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex: 1;
|
|
76
|
+
.type-icon {
|
|
77
|
+
font-size: 15px;
|
|
78
|
+
padding-right: 10px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.task-item-name.task-item-name_done {
|
|
82
|
+
color: #a8a8a8;
|
|
83
|
+
}
|
|
84
|
+
.task-control {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
padding: 5px 0;
|
|
88
|
+
font-size: 13px;
|
|
89
|
+
color: #444;
|
|
90
|
+
font-weight: normal;
|
|
91
|
+
> span + span {
|
|
92
|
+
margin-left: 15px;
|
|
93
|
+
}
|
|
94
|
+
.svg-inline--fa {
|
|
95
|
+
margin-right: 5px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.hover-operate-icon {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
.ant-empty {
|
|
105
|
+
font-size: 12px;
|
|
106
|
+
.ant-empty-image {
|
|
107
|
+
height: 35px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -6,6 +6,7 @@ declare const NewDocumentForm: (props: {
|
|
|
6
6
|
className?: string | undefined;
|
|
7
7
|
type?: "text" | "document" | "dashboard" | "task" | "meeting" | "board" | "graph" | "quotation" | "invoice" | "journal" | "shortcut" | "library" | undefined;
|
|
8
8
|
showView?: boolean | undefined;
|
|
9
|
+
placeholder?: string | undefined;
|
|
9
10
|
onSave?: ((params?: any) => void) | undefined;
|
|
10
11
|
onCancel?: (() => void) | undefined;
|
|
11
12
|
}) => JSX.Element;
|
|
@@ -11,6 +11,7 @@ import { useObserver } from "mobx-react-lite";
|
|
|
11
11
|
/** new document from */
|
|
12
12
|
const NewDocumentForm = (props) => {
|
|
13
13
|
const { Option } = Select;
|
|
14
|
+
const { placeholder } = props;
|
|
14
15
|
const documents = useDocumentStore();
|
|
15
16
|
const asideContext = useAsideContentContext();
|
|
16
17
|
const [state] = useState(new State({ parentId: props.parentId }));
|
|
@@ -23,7 +24,9 @@ const NewDocumentForm = (props) => {
|
|
|
23
24
|
props.type && (React.createElement(Form.Item, null,
|
|
24
25
|
React.createElement(Spin, { spinning: !!state.loading },
|
|
25
26
|
React.createElement("div", { className: "form-item-layout" },
|
|
26
|
-
React.createElement(Input, { autoFocus: true, value: state.params.name, placeholder:
|
|
27
|
+
React.createElement(Input, { autoFocus: true, value: state.params.name, placeholder: placeholder
|
|
28
|
+
? placeholder
|
|
29
|
+
: `Add a ${state.params.type === "document" ? "folder" : state.params.type} for this document`, onChange: e => (state.params.name = e.target.value), onPressEnter: () => state.onSubmit(documents), onKeyDown: (e) => onKeyDown(e) }),
|
|
27
30
|
React.createElement("span", { className: "detailed" },
|
|
28
31
|
React.createElement(FAIcon, { icon: faListAlt, size: "lg" })))))),
|
|
29
32
|
props.showView && (React.createElement(React.Fragment, null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/NewDocumentForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAA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AI,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,QAAQ,EAAE;YACjC,KAAK,CAAC,QAAQ,EAAE,CAAC;SACjB;IACF,CAAC;AACF,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./index.less";
|
|
2
2
|
import DocumentItem from "../../DocumentItem";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import UnitItem from "../../../modules/unit/components/UnitItem
|
|
4
|
+
import UnitItem from "../../../modules/unit/components/UnitItem";
|
|
5
5
|
import { useObserver } from "mobx-react-lite";
|
|
6
6
|
const ObjectItem = (props) => {
|
|
7
7
|
const { id, index, objectType } = { ...props };
|
|
8
8
|
return useObserver(() => (React.createElement(React.Fragment, null,
|
|
9
9
|
objectType === "Document" && React.createElement(DocumentItem, { type: "sub", id: id }),
|
|
10
|
-
objectType === "Unit" && React.createElement(UnitItem, { id: id, index: index }))));
|
|
10
|
+
objectType === "Unit" && React.createElement(UnitItem, { type: "sub", id: id, index: index }))));
|
|
11
11
|
};
|
|
12
12
|
export default ObjectItem;
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/QuickAccessSearch/ObjectItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/QuickAccessSearch/ObjectItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,UAAU,GAAG,CAAC,KAAuE,EAAE,EAAE;IAC9F,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC;IAC/C,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CACxB,oBAAC,KAAK,CAAC,QAAQ;QACb,UAAU,KAAK,UAAU,IAAI,oBAAC,YAAY,IAAC,IAAI,EAAC,KAAK,EAAC,EAAE,EAAE,EAAE,GAAI;QAChE,UAAU,KAAK,MAAM,IAAI,oBAAC,QAAQ,IAAC,IAAI,EAAC,KAAK,EAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI,CACvD,CACjB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Button, Tooltip } from "@voplus/antd";
|
|
2
|
-
import {
|
|
3
|
-
import ActivityLog from "../../ActivityLog";
|
|
4
|
-
import Comment from "@voplus/morpho-collaboration/es/components/Comment";
|
|
2
|
+
import { faFileAlt, faTimes, faUserChart } from "@fortawesome/pro-light-svg-icons";
|
|
3
|
+
import ActivityLog from "../../ActivityLog/ActivityLog2";
|
|
5
4
|
import DocumentList from "../../DocumentList";
|
|
6
5
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
7
6
|
import React from "react";
|
|
@@ -14,8 +13,6 @@ const QuickSubTab = (props) => {
|
|
|
14
13
|
return useObserver(() => (React.createElement(React.Fragment, null,
|
|
15
14
|
type !== "Document" && (React.createElement(Tooltip, { title: "Sub-Documents" }, shape ? (React.createElement(Button, { shape: "circle", onClick: () => showSubTab === null || showSubTab === void 0 ? void 0 : showSubTab("documents") },
|
|
16
15
|
React.createElement(FAIcon, { icon: faFileAlt }))) : (React.createElement(Button, { icon: React.createElement(FAIcon, { icon: faFileAlt }), onClick: () => showSubTab === null || showSubTab === void 0 ? void 0 : showSubTab("documents") })))),
|
|
17
|
-
React.createElement(Tooltip, { title: "Comments" }, shape ? (React.createElement(Button, { shape: "circle", onClick: () => showSubTab === null || showSubTab === void 0 ? void 0 : showSubTab("comments") },
|
|
18
|
-
React.createElement(FAIcon, { icon: faComments }))) : (React.createElement(Button, { icon: React.createElement(FAIcon, { icon: faComments }), onClick: () => showSubTab === null || showSubTab === void 0 ? void 0 : showSubTab("comments") }))),
|
|
19
16
|
React.createElement(Tooltip, { title: "Activities" }, shape ? (React.createElement(Button, { shape: "circle", onClick: () => showSubTab === null || showSubTab === void 0 ? void 0 : showSubTab("activities") },
|
|
20
17
|
React.createElement(FAIcon, { icon: faUserChart }))) : (React.createElement(Button, { icon: React.createElement(FAIcon, { icon: faUserChart }), onClick: () => showSubTab === null || showSubTab === void 0 ? void 0 : showSubTab("activities") }))))));
|
|
21
18
|
};
|
|
@@ -29,7 +26,6 @@ const QuickSubContent = (props) => {
|
|
|
29
26
|
React.createElement("div", { className: "close-icon" }, shape ? (React.createElement(Button, { icon: React.createElement(FAIcon, { icon: faTimes }), onClick: onCancel })) : (React.createElement(FAIcon, { icon: faTimes, onClick: onCancel }))),
|
|
30
27
|
React.createElement("div", { className: "tab-content" },
|
|
31
28
|
type === "documents" && React.createElement(DocumentList, { id: id, exclude: exclude, multiple: true }),
|
|
32
|
-
type === "comments" && React.createElement(Comment, { channelId: document.channelId }),
|
|
33
29
|
type === "activities" && React.createElement(ActivityLog, { id: id })))));
|
|
34
30
|
};
|
|
35
31
|
export { QuickSubTab, QuickSubContent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/QuickViewDialog/QuickSubTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/QuickViewDialog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;QACN,6BAAK,SAAS,EAAC,aAAa;YAC1B,IAAI,KAAK,WAAW,IAAI,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,SAAG;YAC3E,IAAI,KAAK,YAAY,IAAI,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,GAAI,CAC5C,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import DocumentHeader from "../DocumentHeader";
|
|
3
|
+
import DocumentTabs from "../DocumentTabs";
|
|
4
|
+
import TextEditor2 from "@voplus/morpho-text/es/components/TextEditor2";
|
|
5
|
+
import { useDocument } from "@voplus/morpho-document-core";
|
|
6
|
+
import { useObserver } from "mobx-react-lite";
|
|
7
|
+
/** Text PropertiesView */
|
|
8
|
+
const TextPropertiesView = (props) => {
|
|
9
|
+
const id = props.id;
|
|
10
|
+
const document = useDocument(props.id);
|
|
11
|
+
return useObserver(() => (React.createElement("div", { className: "module-detail-view" },
|
|
12
|
+
React.createElement(DocumentHeader, { id: id, size: "h3", quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true }),
|
|
13
|
+
React.createElement(DocumentTabs, { id: id, details: React.createElement(TextEditor2, { id: id, proseMirrorProps: {
|
|
14
|
+
readonly: document.readonly,
|
|
15
|
+
showNoContent: true,
|
|
16
|
+
scroll: true
|
|
17
|
+
} }) }))));
|
|
18
|
+
};
|
|
19
|
+
export default TextPropertiesView;
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TextPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,WAAW,MAAM,+CAA+C,CAAC;AAExE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,0BAA0B;AAC1B,MAAM,kBAAkB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACpD,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAEvC,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CACxB,6BAAK,SAAS,EAAC,oBAAoB;QAClC,oBAAC,cAAc,IACd,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,IAAI,EACT,iBAAiB,EAAC,MAAM,EACxB,eAAe,EAAC,MAAM,EACtB,YAAY,EAAE,IAAI,GACjB;QACF,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,OAAO,EACN,oBAAC,WAAW,IACX,EAAE,EAAE,EAAE,EACN,gBAAgB,EAAE;oBACjB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;oBAC3B,aAAa,EAAE,IAAI;oBACnB,MAAM,EAAE,IAAI;iBACZ,GACA,GAEF,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import QuickViewDialog from "../QuickViewDialog";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import
|
|
3
|
+
import TextEditor2 from "@voplus/morpho-text/es/components/TextEditor2";
|
|
4
4
|
import { useDocument } from "@voplus/morpho-document-core";
|
|
5
5
|
import { useObserver } from "mobx-react-lite";
|
|
6
6
|
const TextQuickViewDialog = (props) => {
|
|
7
7
|
const document = useDocument(props.id);
|
|
8
8
|
return useObserver(() => (React.createElement(QuickViewDialog, { id: props.id, visible: props.visible, onCancel: props.onCancel },
|
|
9
|
-
React.createElement(
|
|
10
|
-
|
|
9
|
+
React.createElement(TextEditor2, { id: props.id, proseMirrorProps: {
|
|
10
|
+
readonly: document.readonly,
|
|
11
|
+
showNoContent: true,
|
|
12
|
+
scroll: true
|
|
13
|
+
} }))));
|
|
11
14
|
};
|
|
12
15
|
export default TextQuickViewDialog;
|
|
13
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TextQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAW,MAAM,+CAA+C,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,mBAAmB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC/F,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAEvC,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CACxB,oBAAC,eAAe,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAC9E,oBAAC,WAAW,IACX,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,gBAAgB,EAAE;gBACjB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;gBAC3B,aAAa,EAAE,IAAI;gBACnB,MAAM,EAAE,IAAI;aACZ,GACA,CACe,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -5,12 +5,13 @@ import { More } from "./buttons";
|
|
|
5
5
|
import { useDocumentStore } from "@voplus/morpho-document-core";
|
|
6
6
|
import { useObserver } from "mobx-react-lite";
|
|
7
7
|
const Toolbar = (props) => {
|
|
8
|
-
const { children, visible,
|
|
8
|
+
const { children, visible, menuProps, showMenu } = props;
|
|
9
9
|
const store = useDocumentStore();
|
|
10
|
-
const [state] = useState(new ToolBarState(store
|
|
10
|
+
const [state] = useState(new ToolBarState(store));
|
|
11
|
+
state.props = props;
|
|
11
12
|
return useObserver(() => (React.createElement(ToolBarContext.Provider, { value: state }, visible !== false ? (React.createElement("span", { className: "tool-bar" },
|
|
12
13
|
children,
|
|
13
|
-
showMenu !== false ? React.createElement(More, {
|
|
14
|
+
showMenu !== false ? React.createElement(More, Object.assign({}, menuProps)) : null)) : null)));
|
|
14
15
|
};
|
|
15
16
|
export default Toolbar;
|
|
16
17
|
//# sourceMappingURL=ToolBar2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolBar2.js","sourceRoot":"","sources":["../../../src/controls/ToolBar/ToolBar2.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,cAAc,EAAgB,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE5E,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,OAAO,GAAG,CAAC,KAAmB,EAAE,EAAE;IACvC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"ToolBar2.js","sourceRoot":"","sources":["../../../src/controls/ToolBar/ToolBar2.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,cAAc,EAAgB,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE5E,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,OAAO,GAAG,CAAC,KAAmB,EAAE,EAAE;IACvC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEzD,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IAEjC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAClD,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;IAEpB,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CACxB,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,IACnC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CACpB,8BAAM,SAAS,EAAC,UAAU;QACxB,QAAQ;QACR,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,oBAAC,IAAI,oBAAK,SAAS,EAAI,CAAC,CAAC,CAAC,IAAI,CAC9C,CACP,CAAC,CAAC,CAAC,IAAI,CACiB,CAC1B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -6,27 +6,36 @@ export declare type ToolBarProps = {
|
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
/** show toolbar */
|
|
8
8
|
visible?: boolean;
|
|
9
|
-
/** item of menus */
|
|
10
|
-
menuItems?: ReactNode[];
|
|
11
9
|
/** show menu */
|
|
12
10
|
showMenu?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
|
|
11
|
+
/** Props of More Button */
|
|
12
|
+
menuProps?: {
|
|
13
|
+
/** item of menus */
|
|
14
|
+
menuItems?: ReactNode[];
|
|
15
|
+
/** url */
|
|
16
|
+
url?: string;
|
|
17
|
+
/** size of Button */
|
|
18
|
+
size?: "small" | "middle" | "large";
|
|
19
|
+
/** function of click of menuItem */
|
|
20
|
+
action?: (option: any) => void;
|
|
21
|
+
};
|
|
15
22
|
};
|
|
16
23
|
export interface IToolBarState {
|
|
17
24
|
disabled?: boolean;
|
|
18
25
|
}
|
|
19
26
|
export declare class ToolBarState {
|
|
20
27
|
store: DocumentStore;
|
|
21
|
-
private props;
|
|
22
28
|
/** Current tools states. */
|
|
23
29
|
private states;
|
|
24
|
-
|
|
30
|
+
props: ToolBarProps;
|
|
31
|
+
constructor(store: DocumentStore);
|
|
25
32
|
/** Try to get an existing icons state or create a new one if it's not already exists.
|
|
26
33
|
* @param key - Key of the icons state.
|
|
27
34
|
* @param factory - factor to create a new option state.
|
|
28
35
|
*/
|
|
29
36
|
getState<T extends IToolBarState>(key: string, factory: () => T): T;
|
|
37
|
+
/** ToolBar menus Button 对默认有的menuItem Button(eg:<Move/) 的Function 做跨级处理 */
|
|
38
|
+
onMenu(option: any): void;
|
|
30
39
|
/** id */
|
|
31
40
|
get id(): string;
|
|
32
41
|
collapsed: boolean;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { createContext, useContext } from "react";
|
|
3
|
-
import { computed, observable } from "mobx";
|
|
3
|
+
import { action, computed, observable } from "mobx";
|
|
4
4
|
export class ToolBarState {
|
|
5
|
-
constructor(store
|
|
5
|
+
constructor(store) {
|
|
6
6
|
this.store = store;
|
|
7
|
-
this.props = props;
|
|
8
7
|
/** Current tools states. */
|
|
9
8
|
this.states = new Map();
|
|
10
9
|
this.collapsed = false;
|
|
@@ -18,11 +17,20 @@ export class ToolBarState {
|
|
|
18
17
|
this.states.set(key, factory());
|
|
19
18
|
return this.states.get(key);
|
|
20
19
|
}
|
|
20
|
+
/** ToolBar menus Button 对默认有的menuItem Button(eg:<Move/) 的Function 做跨级处理 */
|
|
21
|
+
onMenu(option) {
|
|
22
|
+
var _a, _b;
|
|
23
|
+
if ((_a = this.props.menuProps) === null || _a === void 0 ? void 0 : _a.action)
|
|
24
|
+
(_b = this.props.menuProps) === null || _b === void 0 ? void 0 : _b.action(option);
|
|
25
|
+
}
|
|
21
26
|
/** id */
|
|
22
27
|
get id() {
|
|
23
28
|
return (this.props && this.props.id) || "";
|
|
24
29
|
}
|
|
25
30
|
}
|
|
31
|
+
__decorate([
|
|
32
|
+
action
|
|
33
|
+
], ToolBarState.prototype, "onMenu", null);
|
|
26
34
|
__decorate([
|
|
27
35
|
computed
|
|
28
36
|
], ToolBarState.prototype, "id", null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolBarState.js","sourceRoot":"","sources":["../../../src/controls/ToolBar/ToolBarState.ts"],"names":[],"mappings":";AAAA,OAAO,EAAa,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ToolBarState.js","sourceRoot":"","sources":["../../../src/controls/ToolBar/ToolBarState.ts"],"names":[],"mappings":";AAAA,OAAO,EAAa,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AA6BpD,MAAM,OAAO,YAAY;IAMxB,YAA0B,KAAoB;QAApB,UAAK,GAAL,KAAK,CAAe;QAL9C,4BAA4B;QACpB,WAAM,GAA+B,IAAI,GAAG,EAAE,CAAC;QA2BpC,cAAS,GAAG,KAAK,CAAC;IAvBY,CAAC;IAElD;;;OAGG;IACI,QAAQ,CAA0B,GAAW,EAAE,OAAgB;QACrE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC;YAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC;QAC3D,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAM,CAAC;IAClC,CAAC;IAED,4EAA4E;IAErE,MAAM,CAAC,MAAW;;QACxB,UAAI,IAAI,CAAC,KAAK,CAAC,SAAS,0CAAE,MAAM;YAAE,MAAA,IAAI,CAAC,KAAK,CAAC,SAAS,0CAAE,MAAM,CAAC,MAAM,EAAE;IACxE,CAAC;IAED,SAAS;IAET,IAAW,EAAE;QACZ,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC;IAC5C,CAAC;CAGD;AAXA;IADC,MAAM;0CAGN;AAID;IADC,QAAQ;sCAGR;AAEW;IAAX,UAAU;+CAA0B;AAGtC,sCAAsC;AACtC,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAe,IAAW,CAAC,CAAC;AAEvE,yDAAyD;AACzD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -7,11 +7,11 @@ import { useDocument } from "@voplus/morpho-document-core";
|
|
|
7
7
|
import { useObserver } from "mobx-react-lite";
|
|
8
8
|
import { useToolBarContext } from "../ToolBarState";
|
|
9
9
|
const More = (props) => {
|
|
10
|
-
const { menuItems, size } = props;
|
|
10
|
+
const { menuItems, size, url } = props;
|
|
11
11
|
const context = useToolBarContext();
|
|
12
12
|
const [state] = useState(new State());
|
|
13
13
|
state.document = useDocument(context.id);
|
|
14
|
-
const parent = useDocument(state.document.parentId);
|
|
14
|
+
const parent = useDocument(state.document ? state.document.parentId : "");
|
|
15
15
|
return useObserver(() => (React.createElement(Dropdown, { placement: "bottomRight", overlayClassName: "tool-bar-menu", overlay: React.createElement("div", null,
|
|
16
16
|
state.move && !(parent === null || parent === void 0 ? void 0 : parent.readonly) && React.createElement(Move, null),
|
|
17
17
|
state.paste && React.createElement(Paste, null),
|
|
@@ -22,7 +22,7 @@ const More = (props) => {
|
|
|
22
22
|
state.access && React.createElement(Access, null),
|
|
23
23
|
state.revert && React.createElement(Revert, null),
|
|
24
24
|
!state.shortcut && React.createElement(OpenTreeView, null),
|
|
25
|
-
React.createElement(OpenReferenceView,
|
|
25
|
+
React.createElement(OpenReferenceView, { url: url }),
|
|
26
26
|
state.del && React.createElement(Delete, null),
|
|
27
27
|
menuItems) },
|
|
28
28
|
React.createElement(Button, { shape: "circle", size: size },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"More.js","sourceRoot":"","sources":["../../../../src/controls/ToolBar/buttons/More.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EACN,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,iBAAiB,EACjB,YAAY,EACZ,KAAK,EACL,OAAO,EACP,WAAW,EACX,MAAM,EACN,MAAM,EACN,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,MAAM,IAAI,GAAG,CAAC,KAMb,EAAE,EAAE;IACJ,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"More.js","sourceRoot":"","sources":["../../../../src/controls/ToolBar/buttons/More.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EACN,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,iBAAiB,EACjB,YAA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