@voplus/morpho-document 7.0.5 → 7.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/AddDocOverlay/index.less +52 -52
- package/es/components/AddFormView/index.less +42 -42
- package/es/components/AdvanceSearch/index.less +21 -21
- package/es/components/DescriptionDocumentList/index.less +14 -14
- package/es/components/DocumentCard/index.less +88 -88
- package/es/components/DocumentCardList/index.less +9 -9
- package/es/components/DocumentDriveItem/index.less +38 -38
- package/es/components/DocumentDriveList/index.less +26 -26
- package/es/components/DocumentHeader/index.less +179 -179
- package/es/components/DocumentItem/index.less +209 -209
- package/es/components/DocumentList/index.less +136 -136
- package/es/components/DocumentListCard/index.less +16 -16
- package/es/components/DocumentListView/index.less +111 -111
- package/es/components/DocumentNotificationDialog/index.less +26 -26
- package/es/components/DocumentPageHeadDashboard/index.d.ts +10 -0
- package/es/components/DocumentPageHeadDashboard/index.js +22 -0
- package/es/components/DocumentPageHeadDashboard/index.js.map +1 -0
- package/es/components/DocumentPageHeader/index.less +7 -7
- package/es/components/DocumentPanelHeader/index.less +13 -13
- package/es/components/DocumentProperties/index.less +34 -34
- package/es/components/DocumentPropertiesView/index.less +13 -13
- package/es/components/DocumentSelectDialog/index.less +128 -128
- package/es/components/DocumentTableList/index.less +14 -14
- package/es/components/DocumentTabs/index.less +43 -43
- package/es/components/DocumentTree/index.less +28 -28
- package/es/components/DocumentTree2/index.less +52 -52
- package/es/components/FileViewer/index.less +110 -110
- package/es/components/Icon/index.less +24 -24
- package/es/components/Links/index.less +107 -107
- package/es/components/NewDocumentForm/index.less +87 -87
- package/es/components/NodeList/index.less +5 -5
- package/es/components/PasteListInDocument/index.less +39 -39
- package/es/components/PropertiesPanelHeader/index.less +33 -33
- package/es/components/QuickAccessPanel/index.less +20 -20
- package/es/components/QuickAccessSearch/ObjectItem/index.less +21 -21
- package/es/components/QuickAccessSearch/index.less +23 -23
- package/es/components/SendForm/index.less +45 -45
- package/es/components/TextDefaultView/index.js +5 -21
- package/es/components/TextDefaultView/index.js.map +1 -1
- package/es/components/TextDefaultView/index.less +6 -6
- package/es/components/TextQuickViewDialog/index.less +7 -7
- package/es/components/VersionsModal/index.less +22 -22
- package/es/components/ViewFrame/PathHeader/index.less +13 -13
- package/es/components/ViewFrame/ViewFrameHeader/index.less +16 -16
- package/es/components/ViewFrame/index.js +8 -11
- package/es/components/ViewFrame/index.js.map +1 -1
- package/es/components/ViewFrame/index.less +36 -36
- package/es/components/WordFieldViewer/index.less +7 -7
- package/es/components/WordFields/index.less +9 -9
- package/es/components/WordFillView/index.less +13 -13
- package/es/components/styles/ScrollBar.less +30 -30
- package/es/components/styles/common.less +187 -187
- package/es/components/styles/index.less +13 -13
- package/es/controls/ChildDocumentSelect/index.less +23 -23
- package/es/controls/DataIconBar/index.less +23 -23
- package/es/controls/DescriptionEditor/index.less +59 -59
- package/es/controls/DescriptionEditor2/index.less +39 -39
- package/es/controls/DocumentActionButtons/index.d.ts +7 -0
- package/es/controls/DocumentActionButtons/index.js +17 -0
- package/es/controls/DocumentActionButtons/index.js.map +1 -0
- package/es/controls/DocumentLabel/index.less +12 -12
- package/es/controls/DocumentMenu/SubPasteDropdown/index.less +41 -41
- package/es/controls/DocumentMenu/items/CopyReference.js +11 -11
- package/es/controls/MentionState/index.less +8 -8
- package/es/controls/PDFViewer/Toolbar/buttons/Zoom/index.less +16 -16
- package/es/controls/PDFViewer/Toolbar/index.less +35 -35
- package/es/controls/PDFViewer/index.less +34 -34
- package/es/controls/ReferenceList/index.less +47 -47
- package/es/controls/TimeLog/index.less +91 -91
- package/es/controls/ToolBar/index.less +78 -78
- package/es/controls/data-icons/DescriptionDataIcon/index.less +13 -13
- package/es/controls/data-icons/DocumentDataIcon/index.less +11 -11
- package/es/controls/data-icons/DocumentPathDataIcon/index.less +17 -17
- package/es/controls/data-icons/FlagIcon/index.less +42 -42
- package/es/modules/action-plan/components/ActionItem/index.less +33 -33
- package/es/modules/action-plan/components/ActionList/index.js +6 -0
- package/es/modules/action-plan/components/ActionList/index.js.map +1 -1
- package/es/modules/action-plan/components/ActionPlanItem/index.less +27 -27
- package/es/modules/action-plan/components/ActionPlanList/index.less +16 -16
- package/es/modules/action-plan/components/ActionPlanListQuickView/index.less +11 -11
- package/es/modules/action-plan/components/ActionPlanQuickViewDialog/index.less +15 -15
- package/es/modules/action-plan/components/ActionQuickViewDialog/index.less +15 -15
- package/es/modules/action-plan/components/NewActionPlanForm/index.less +10 -10
- package/es/modules/action-plan/pages/ActionPlanDefaultView/index.less +4 -4
- package/es/modules/action-plan-template/pages/ActionPlanTemplateDefaultView/index.less +4 -4
- package/es/modules/document-register/components/AddRegisterDocumentsTypeDialog/index.less +48 -48
- package/es/modules/document-register/components/DocumentRegisterList/index.less +21 -21
- package/es/modules/document-register/components/DocumentRegisterPropertiesView/index.less +14 -14
- package/es/modules/document-register/components/NewDocumentRegisterForm/index.less +5 -5
- package/es/modules/document-register/components/QuickFilterAccessDialog/index.less +45 -45
- package/es/modules/document-register/controls/DocumentRegisterStatusLabel/index.less +35 -35
- package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.js +3 -20
- package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.js.map +1 -1
- package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.less +4 -4
- package/es/modules/document-register/pages/DocumentRegisterListPage/index.less +14 -14
- package/es/modules/document-register/pages/DocumentRegisterSettings/index.less +9 -9
- package/es/modules/graph/components/GraphViewer/index.less +5 -5
- package/es/modules/graph/pages/GraphDefaultView/index.js +6 -19
- package/es/modules/graph/pages/GraphDefaultView/index.js.map +1 -1
- package/es/modules/graph/pages/GraphDefaultView/index.less +6 -6
- package/es/modules/message-template/components/MessageTemplateContent/index.less +62 -62
- package/es/modules/message-template/components/MessageTemplateList/index.less +16 -16
- package/es/modules/message-template/components/MessageTemplateTableList/index.less +14 -14
- package/es/modules/message-template/components/NewMessageTemplateForm/index.less +47 -47
- package/es/modules/message-template/pages/MessageTemplateDefaultView/index.js +3 -21
- package/es/modules/message-template/pages/MessageTemplateDefaultView/index.js.map +1 -1
- package/es/modules/message-template/pages/MessageTemplateDefaultView/index.less +4 -4
- package/es/modules/page/components/PageItem/index.less +36 -36
- package/es/modules/page/components/PageItemHeader/index.less +39 -39
- package/es/modules/page/components/PageItems/index.less +105 -105
- package/es/modules/page/components/PlusDropDown/index.less +11 -11
- package/es/modules/page/views/PageDefaultView/index.js +5 -22
- package/es/modules/page/views/PageDefaultView/index.js.map +1 -1
- package/es/modules/page/views/PageDefaultView/index.less +12 -12
- package/es/modules/page/views/PagePrintView/index.less +51 -51
- package/es/modules/quick-access/AdvanceFilterForm/index.less +68 -68
- package/es/modules/quick-access/GeneralFilterForm/index.less +54 -54
- package/es/modules/quick-access/QuickAccessPage/index.less +33 -33
- package/es/modules/quick-access/QuickAccessSearchList/index.less +126 -126
- package/es/modules/registered-document/components/Documents/index.less +30 -30
- package/es/modules/registered-document/components/RegisteredDocumentNewForm/index.less +5 -5
- package/es/modules/registered-document/components/RegisteredDocumentPropertiesView/index.less +14 -14
- package/es/modules/registered-document/components/RegisteredDocumentTableList/index.less +78 -78
- package/es/modules/registered-document/components/TypesView/index.less +59 -59
- package/es/modules/registered-document/controls/RegisteredDocumentStatusLabel/index.less +35 -35
- package/es/modules/registered-document/pages/RegisteredDocumentDefaultView/index.less +4 -4
- package/es/modules/tenant-service/components/DynamicFiledList/index.less +5 -5
- package/es/modules/tenant-service/components/TenantServiceHeader/index.less +13 -13
- package/es/modules/tenant-service/components/TenantServiceInterval/index.less +32 -32
- package/es/modules/tenant-service/components/TenantServiceItem/index.less +32 -32
- package/es/modules/tenant-service/components/TenantServiceList/index.less +2 -2
- package/es/modules/tenant-service/components/TenantServicePropertiesView/index.less +4 -4
- package/es/modules/tenant-service/components/TenantServiceQuickViewDialog/index.less +9 -9
- package/es/modules/tenant-service/components/XeroTokenField/index.less +46 -46
- package/es/modules/tenant-service/pages/TenantServiceDefaultView/index.less +17 -17
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionHeader/index.less +13 -13
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionItem/index.less +25 -25
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.less +2 -2
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionMessagesList/index.less +16 -16
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionPropertiesView/index.less +4 -4
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionQuickViewDialog/index.less +9 -9
- package/es/modules/tenant-service-execution/pages/TenantServiceExecutionDefaultView/index.less +17 -17
- package/es/obsolete/DocumentCard/index.less +113 -113
- package/es/obsolete/DocumentPropertiesHeader/index.less +29 -29
- package/es/obsolete/DocumentTree/index.less +4 -4
- package/es/obsolete/EmailTemplate/EmailTemplateDefaultView/index.less +39 -39
- package/es/obsolete/EmailTemplate/EmailTemplateForm/index.less +26 -26
- package/es/obsolete/EmailTemplate/EmailTemplateItem/index.js +4 -4
- package/es/obsolete/EmailTemplate/EmailTemplateItem/index.less +18 -18
- package/es/obsolete/EmailTemplate/EmailTemplateItems/index.less +68 -68
- package/es/obsolete/EmailTemplate/EmailTemplatePropertiesView/index.less +13 -13
- package/es/obsolete/LibraryDefaultView/index.less +226 -226
- package/es/obsolete/Links/index.less +112 -112
- package/es/obsolete/PageDefaultView/index.less +94 -94
- package/es/pages/DocumentDrivePage/index.less +23 -23
- package/es/pages/FileContentPage/index.less +11 -11
- package/es/pages/Library/LibraryDefaultView/index.less +116 -116
- package/es/pages/Library/components/DocumentTree/index.less +23 -23
- package/es/pages/Library/components/LibraryItemDefaultView/index.less +20 -20
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.less +57 -57
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/index.less +89 -89
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/mobile/index.less +86 -86
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/pc/index.less +94 -94
- package/es/pages/Signature/Envelope/EnvelopeReport/index.less +58 -58
- package/es/pages/Signature/Envelope/components/EnvelopePanelHeader/index.less +40 -40
- package/es/pages/Signature/Envelope/components/EnvelopeQuickView/index.less +20 -20
- package/es/pages/Signature/Envelope/components/PropertiesView/index.less +53 -53
- package/es/pages/Signature/Envelope/components/RemindersDialog/index.less +51 -51
- package/es/pages/Signature/Envelope/components/RemoveSignatureDialog/index.less +8 -8
- package/es/pages/Signature/Envelope/components/ReviewCompleteDialog/index.less +55 -55
- package/es/pages/Signature/Envelope/components/ReviewDialog/index.less +15 -15
- package/es/pages/Signature/Envelope/components/SendDialog/index.less +17 -17
- package/es/pages/Signature/Envelope/components/ViewSignaturesDialog/index.less +28 -28
- package/es/pages/Signature/Envelope/controls/EnvelopeFootbar/index.less +55 -55
- package/es/pages/Signature/Envelope/controls/EnvelopeStatusLabel/index.less +20 -20
- package/es/pages/Signature/Envelope/controls/SignaturePercentageDataIcon/index.less +14 -14
- package/es/pages/Signature/Letter/LetterContentHeader/index.less +43 -43
- package/es/pages/Signature/Letter/LetterContentView/index.less +96 -96
- package/es/pages/Signature/Letter/LetterItem/index.less +31 -31
- package/es/pages/Signature/Letter/LetterList/index.less +74 -74
- package/es/pages/Signature/Letter/LetterRecipientItem/index.less +36 -36
- package/es/pages/Signature/Letter/LetterViewer/index.less +76 -76
- package/es/pages/Signature/SignatureRecipient/index.less +20 -20
- package/es/pages/Signature/SignatureTable/index.less +51 -51
- package/es/pages/Signature/components/SigningDropdown/index.less +61 -61
- package/es/pages/TreeViewPage/index.less +5 -5
- package/es/pages/VSubmit/VSubmitDefaultView/index.less +17 -17
- package/es/pages/VSubmit/VSubmitSubmitterView/index.less +34 -34
- package/es/pages/VSubmit/components/DocumentIcon/index.less +43 -43
- package/es/pages/VSubmit/components/DocumentIconList/index.less +85 -85
- package/es/pages/VSubmit/components/EmailRecipients/index.less +56 -56
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.less +16 -16
- package/es/pages/VSubmit/components/SubmitSections/SubmitterSectionItem/index.less +17 -17
- package/es/pages/VSubmit/components/SubmitSections/index.less +61 -61
- package/es/pages/WordFillPage/index.less +16 -16
- package/es/routes.d.ts +21 -0
- package/es/routes.js +40 -40
- package/es/routes.js.map +1 -1
- package/es/services/DocumentActivityLogRenderer.d.ts +0 -3
- package/es/services/DocumentActivityLogRenderer.js +6 -2
- package/es/services/DocumentActivityLogRenderer.js.map +1 -1
- package/es/style/index.less +13 -13
- package/es/views/DocumentTabbedView/index.less +24 -24
- package/es/views/ExplorerView/ExplorerView2.js +6 -30
- package/es/views/ExplorerView/ExplorerView2.js.map +1 -1
- package/es/views/ExplorerView/index.less +9 -9
- package/es/views/TreeView/index.less +25 -25
- package/package.json +67 -67
- package/readme.md +11 -11
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.description-editor {
|
|
3
|
-
padding: 0.75rem 0;
|
|
4
|
-
.description-editor-header {
|
|
5
|
-
padding: 0 1.25rem;
|
|
6
|
-
}
|
|
7
|
-
.editor-toolbar {
|
|
8
|
-
padding: 0.2rem 0.65rem;
|
|
9
|
-
}
|
|
10
|
-
.description-readonly-proseMirror {
|
|
11
|
-
.ProseMirror-container {
|
|
12
|
-
// max-height: 7rem;
|
|
13
|
-
transition: height 0.3s ease-in;
|
|
14
|
-
.ProseMirror {
|
|
15
|
-
padding: 0 1.25rem;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
&.description-collapse-proseMirror {
|
|
19
|
-
.ProseMirror-container {
|
|
20
|
-
max-height: 7rem;
|
|
21
|
-
}
|
|
22
|
-
&.collapseAll {
|
|
23
|
-
.ProseMirror-container {
|
|
24
|
-
max-height: 0 !important;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
&.description-expand-proseMirror .ProseMirror-container {
|
|
29
|
-
max-height: 100%;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.description-editor-proseMirror {
|
|
34
|
-
height: 20rem !important;
|
|
35
|
-
padding: 0 1.25rem;
|
|
36
|
-
.ProseMirror {
|
|
37
|
-
padding: 1rem 1.25rem;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
.more-description-btn {
|
|
41
|
-
width: 44px;
|
|
42
|
-
line-height: 14px;
|
|
43
|
-
margin: auto;
|
|
44
|
-
color: #555;
|
|
45
|
-
text-align: center;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
.svg-inline--fa {
|
|
48
|
-
font-size: 13px;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
.description-editor-footer {
|
|
52
|
-
padding: 0.75rem 1.25rem 0 1.25rem;
|
|
53
|
-
text-align: right;
|
|
54
|
-
.ant-btn {
|
|
55
|
-
margin-left: 10px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.description-editor {
|
|
3
|
+
padding: 0.75rem 0;
|
|
4
|
+
.description-editor-header {
|
|
5
|
+
padding: 0 1.25rem;
|
|
6
|
+
}
|
|
7
|
+
.editor-toolbar {
|
|
8
|
+
padding: 0.2rem 0.65rem;
|
|
9
|
+
}
|
|
10
|
+
.description-readonly-proseMirror {
|
|
11
|
+
.ProseMirror-container {
|
|
12
|
+
// max-height: 7rem;
|
|
13
|
+
transition: height 0.3s ease-in;
|
|
14
|
+
.ProseMirror {
|
|
15
|
+
padding: 0 1.25rem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
&.description-collapse-proseMirror {
|
|
19
|
+
.ProseMirror-container {
|
|
20
|
+
max-height: 7rem;
|
|
21
|
+
}
|
|
22
|
+
&.collapseAll {
|
|
23
|
+
.ProseMirror-container {
|
|
24
|
+
max-height: 0 !important;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
&.description-expand-proseMirror .ProseMirror-container {
|
|
29
|
+
max-height: 100%;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.description-editor-proseMirror {
|
|
34
|
+
height: 20rem !important;
|
|
35
|
+
padding: 0 1.25rem;
|
|
36
|
+
.ProseMirror {
|
|
37
|
+
padding: 1rem 1.25rem;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.more-description-btn {
|
|
41
|
+
width: 44px;
|
|
42
|
+
line-height: 14px;
|
|
43
|
+
margin: auto;
|
|
44
|
+
color: #555;
|
|
45
|
+
text-align: center;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
.svg-inline--fa {
|
|
48
|
+
font-size: 13px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.description-editor-footer {
|
|
52
|
+
padding: 0.75rem 1.25rem 0 1.25rem;
|
|
53
|
+
text-align: right;
|
|
54
|
+
.ant-btn {
|
|
55
|
+
margin-left: 10px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.description-editor_2 {
|
|
3
|
-
.no-description {
|
|
4
|
-
color: #868686;
|
|
5
|
-
font-size: 14px;
|
|
6
|
-
}
|
|
7
|
-
.description-editor-header {
|
|
8
|
-
font-size: 14px;
|
|
9
|
-
font-weight: bold;
|
|
10
|
-
display: flex;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
align-items: center;
|
|
13
|
-
margin: 0 0 0.45rem;
|
|
14
|
-
.edit-icon {
|
|
15
|
-
height: 20px;
|
|
16
|
-
color: #cbcbcb;
|
|
17
|
-
padding: 0 8px;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
.more-description-btn {
|
|
21
|
-
width: 44px;
|
|
22
|
-
line-height: 14px;
|
|
23
|
-
margin: auto;
|
|
24
|
-
color: #868686;
|
|
25
|
-
text-align: center;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
.svg-inline--fa {
|
|
28
|
-
font-size: 13px;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
.description-editor-footer {
|
|
32
|
-
padding-top: 0.75rem;
|
|
33
|
-
text-align: right;
|
|
34
|
-
.ant-btn {
|
|
35
|
-
margin-left: 10px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.description-editor_2 {
|
|
3
|
+
.no-description {
|
|
4
|
+
color: #868686;
|
|
5
|
+
font-size: 14px;
|
|
6
|
+
}
|
|
7
|
+
.description-editor-header {
|
|
8
|
+
font-size: 14px;
|
|
9
|
+
font-weight: bold;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
margin: 0 0 0.45rem;
|
|
14
|
+
.edit-icon {
|
|
15
|
+
height: 20px;
|
|
16
|
+
color: #cbcbcb;
|
|
17
|
+
padding: 0 8px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.more-description-btn {
|
|
21
|
+
width: 44px;
|
|
22
|
+
line-height: 14px;
|
|
23
|
+
margin: auto;
|
|
24
|
+
color: #868686;
|
|
25
|
+
text-align: center;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
.svg-inline--fa {
|
|
28
|
+
font-size: 13px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.description-editor-footer {
|
|
32
|
+
padding-top: 0.75rem;
|
|
33
|
+
text-align: right;
|
|
34
|
+
.ant-btn {
|
|
35
|
+
margin-left: 10px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { useMemo } from "react";
|
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
|
3
|
+
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
|
4
|
+
import SubPasteDropdown from "../DocumentMenu/SubPasteDropdown";
|
|
5
|
+
import { Unlock } from "../DocumentMenu/items";
|
|
6
|
+
import { Space } from "antd";
|
|
7
|
+
const DocumentActionButtons = (props) => {
|
|
8
|
+
const { id, buttons } = props;
|
|
9
|
+
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
10
|
+
return observe(() => (React.createElement(DocumentMenuContext.Provider, { value: menuContext },
|
|
11
|
+
React.createElement(Space, { className: "menu-buttons" },
|
|
12
|
+
React.createElement(SubPasteDropdown, null),
|
|
13
|
+
React.createElement(Unlock, null),
|
|
14
|
+
buttons))));
|
|
15
|
+
};
|
|
16
|
+
export default DocumentActionButtons;
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/DocumentActionButtons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAa,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,gBAAgB,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAE7B,MAAM,qBAAqB,GAAG,CAAC,KAI9B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC9B,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,iBAAiB,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAEnE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW;QAC/C,oBAAC,KAAK,IAAC,SAAS,EAAC,cAAc;YAC9B,oBAAC,gBAAgB,OAAG;YACpB,oBAAC,MAAM,OAAG;YACT,OAAO,CACD,CACsB,CAC/B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.document-label-control {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
color: #42526e;
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
line-height: 1.714;
|
|
6
|
-
font-size: 1em;
|
|
7
|
-
font-weight: normal;
|
|
8
|
-
word-break: break-word;
|
|
9
|
-
background: rgba(9, 30, 66, 0.08);
|
|
10
|
-
border-radius: 20px;
|
|
11
|
-
padding: 0px 6px 2px 6px;
|
|
12
|
-
}
|
|
1
|
+
.document-label-control {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
color: #42526e;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
line-height: 1.714;
|
|
6
|
+
font-size: 1em;
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
word-break: break-word;
|
|
9
|
+
background: rgba(9, 30, 66, 0.08);
|
|
10
|
+
border-radius: 20px;
|
|
11
|
+
padding: 0px 6px 2px 6px;
|
|
12
|
+
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.ant-btn.document-menu-paste-dropdown {
|
|
5
|
-
color: #299117;
|
|
6
|
-
background: #fff;
|
|
7
|
-
border: 1px solid #28c123;
|
|
8
|
-
|
|
9
|
-
&:hover,
|
|
10
|
-
&.ant-btn:hover {
|
|
11
|
-
color: #299117;
|
|
12
|
-
background: #effef2;
|
|
13
|
-
border: 1px solid #28c123;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ant-btn.document-menu-undo-paste {
|
|
18
|
-
color: #faad14;
|
|
19
|
-
background: #fff;
|
|
20
|
-
border: 1px solid #faad14;
|
|
21
|
-
|
|
22
|
-
&:hover,
|
|
23
|
-
&.ant-btn:hover {
|
|
24
|
-
color: #faad14;
|
|
25
|
-
background: #fffbe6;
|
|
26
|
-
border: 1px solid #faad14;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
.ant-btn.document-menu-paste-and-undo-dropdown {
|
|
30
|
-
color: #1677ff;
|
|
31
|
-
background: #fff;
|
|
32
|
-
border: 1px solid #1677ff;
|
|
33
|
-
|
|
34
|
-
&:hover,
|
|
35
|
-
&.ant-btn:hover {
|
|
36
|
-
color: #1677ff;
|
|
37
|
-
background: #e6f4ff;
|
|
38
|
-
border: 1px solid #1677ff;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.ant-btn.document-menu-paste-dropdown {
|
|
5
|
+
color: #299117;
|
|
6
|
+
background: #fff;
|
|
7
|
+
border: 1px solid #28c123;
|
|
8
|
+
|
|
9
|
+
&:hover,
|
|
10
|
+
&.ant-btn:hover {
|
|
11
|
+
color: #299117;
|
|
12
|
+
background: #effef2;
|
|
13
|
+
border: 1px solid #28c123;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ant-btn.document-menu-undo-paste {
|
|
18
|
+
color: #faad14;
|
|
19
|
+
background: #fff;
|
|
20
|
+
border: 1px solid #faad14;
|
|
21
|
+
|
|
22
|
+
&:hover,
|
|
23
|
+
&.ant-btn:hover {
|
|
24
|
+
color: #faad14;
|
|
25
|
+
background: #fffbe6;
|
|
26
|
+
border: 1px solid #faad14;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.ant-btn.document-menu-paste-and-undo-dropdown {
|
|
30
|
+
color: #1677ff;
|
|
31
|
+
background: #fff;
|
|
32
|
+
border: 1px solid #1677ff;
|
|
33
|
+
|
|
34
|
+
&:hover,
|
|
35
|
+
&.ant-btn:hover {
|
|
36
|
+
color: #1677ff;
|
|
37
|
+
background: #e6f4ff;
|
|
38
|
+
border: 1px solid #1677ff;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -13,17 +13,17 @@ const CopyReference = (props) => {
|
|
|
13
13
|
function onClick() {
|
|
14
14
|
if (action)
|
|
15
15
|
return action();
|
|
16
|
-
const content = `
|
|
17
|
-
<p>
|
|
18
|
-
<span
|
|
19
|
-
data-file-id="${document.id}"
|
|
20
|
-
data-file-name="${document.name}"
|
|
21
|
-
class="prosemirror-mention-node"
|
|
22
|
-
contenteditable="false"
|
|
23
|
-
>
|
|
24
|
-
&${document.name}
|
|
25
|
-
</span>
|
|
26
|
-
</p>
|
|
16
|
+
const content = `
|
|
17
|
+
<p>
|
|
18
|
+
<span
|
|
19
|
+
data-file-id="${document.id}"
|
|
20
|
+
data-file-name="${document.name}"
|
|
21
|
+
class="prosemirror-mention-node"
|
|
22
|
+
contenteditable="false"
|
|
23
|
+
>
|
|
24
|
+
&${document.name}
|
|
25
|
+
</span>
|
|
26
|
+
</p>
|
|
27
27
|
`;
|
|
28
28
|
const type = "text/html";
|
|
29
29
|
const blob = new Blob([content], { type });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.contact-item {
|
|
2
|
-
:global {
|
|
3
|
-
padding: 0 0 8px;
|
|
4
|
-
svg {
|
|
5
|
-
margin-right: 8px;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
.contact-item {
|
|
2
|
+
:global {
|
|
3
|
+
padding: 0 0 8px;
|
|
4
|
+
svg {
|
|
5
|
+
margin-right: 8px;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.zoom-select {
|
|
2
|
-
color: #000000a6;
|
|
3
|
-
:global {
|
|
4
|
-
.ant-select-arrow {
|
|
5
|
-
font-size: 12px;
|
|
6
|
-
color: #000000a6;
|
|
7
|
-
> span {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
}
|
|
11
|
-
.icon-down {
|
|
12
|
-
margin-top: -4px;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
.zoom-select {
|
|
2
|
+
color: #000000a6;
|
|
3
|
+
:global {
|
|
4
|
+
.ant-select-arrow {
|
|
5
|
+
font-size: 12px;
|
|
6
|
+
color: #000000a6;
|
|
7
|
+
> span {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
}
|
|
11
|
+
.icon-down {
|
|
12
|
+
margin-top: -4px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.pdf-viewer-toolbar {
|
|
5
|
-
border-bottom: 1px @border-style-base @border-color-1;
|
|
6
|
-
padding: 0.65rem;
|
|
7
|
-
background-color: white;
|
|
8
|
-
z-index: 1;
|
|
9
|
-
color: @default-border-color;
|
|
10
|
-
&.sticky {
|
|
11
|
-
position: sticky;
|
|
12
|
-
top: -1px;
|
|
13
|
-
left: 0;
|
|
14
|
-
&.sticky-active {
|
|
15
|
-
box-shadow: 0 8px 6px -6px lightgray;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.toolbar-button {
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
padding: 3px 5px;
|
|
22
|
-
|
|
23
|
-
svg:hover,
|
|
24
|
-
svg.active {
|
|
25
|
-
color: #40a9ff;
|
|
26
|
-
}
|
|
27
|
-
svg.disable {
|
|
28
|
-
color: #cecece;
|
|
29
|
-
}
|
|
30
|
-
span.active {
|
|
31
|
-
color: #40a9ff;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.pdf-viewer-toolbar {
|
|
5
|
+
border-bottom: 1px @border-style-base @border-color-1;
|
|
6
|
+
padding: 0.65rem;
|
|
7
|
+
background-color: white;
|
|
8
|
+
z-index: 1;
|
|
9
|
+
color: @default-border-color;
|
|
10
|
+
&.sticky {
|
|
11
|
+
position: sticky;
|
|
12
|
+
top: -1px;
|
|
13
|
+
left: 0;
|
|
14
|
+
&.sticky-active {
|
|
15
|
+
box-shadow: 0 8px 6px -6px lightgray;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.toolbar-button {
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
padding: 3px 5px;
|
|
22
|
+
|
|
23
|
+
svg:hover,
|
|
24
|
+
svg.active {
|
|
25
|
+
color: #40a9ff;
|
|
26
|
+
}
|
|
27
|
+
svg.disable {
|
|
28
|
+
color: #cecece;
|
|
29
|
+
}
|
|
30
|
+
span.active {
|
|
31
|
+
color: #40a9ff;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.pdf-viewer {
|
|
5
|
-
height: 100%;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
.panable > .dragable {
|
|
9
|
-
//cursor: auto;
|
|
10
|
-
user-select: unset;
|
|
11
|
-
}
|
|
12
|
-
.react-pdf__Page__textContent {
|
|
13
|
-
span {
|
|
14
|
-
cursor: text;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
&.zoomIn {
|
|
18
|
-
.react-pdf__Page__canvas {
|
|
19
|
-
margin: 0 20px;
|
|
20
|
-
}
|
|
21
|
-
.pdf-viewer-content {
|
|
22
|
-
margin: 20px 0;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
.react-pdf__Page {
|
|
27
|
-
background: transparent !important;
|
|
28
|
-
}
|
|
29
|
-
.react-pdf__Page__canvas {
|
|
30
|
-
margin-left: auto;
|
|
31
|
-
margin-right: auto;
|
|
32
|
-
box-shadow: @left-box-shadow;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.pdf-viewer {
|
|
5
|
+
height: 100%;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
.panable > .dragable {
|
|
9
|
+
//cursor: auto;
|
|
10
|
+
user-select: unset;
|
|
11
|
+
}
|
|
12
|
+
.react-pdf__Page__textContent {
|
|
13
|
+
span {
|
|
14
|
+
cursor: text;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
&.zoomIn {
|
|
18
|
+
.react-pdf__Page__canvas {
|
|
19
|
+
margin: 0 20px;
|
|
20
|
+
}
|
|
21
|
+
.pdf-viewer-content {
|
|
22
|
+
margin: 20px 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.react-pdf__Page {
|
|
27
|
+
background: transparent !important;
|
|
28
|
+
}
|
|
29
|
+
.react-pdf__Page__canvas {
|
|
30
|
+
margin-left: auto;
|
|
31
|
+
margin-right: auto;
|
|
32
|
+
box-shadow: @left-box-shadow;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.reference-list {
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
align-items: center;
|
|
8
|
-
|
|
9
|
-
> .buttons {
|
|
10
|
-
:hover {
|
|
11
|
-
color: @primary-color;
|
|
12
|
-
font-size: 1.05rem;
|
|
13
|
-
|
|
14
|
-
svg {
|
|
15
|
-
filter: drop-shadow(2px 2px 2px @primary-color);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
font-size: 1rem;
|
|
21
|
-
|
|
22
|
-
svg {
|
|
23
|
-
margin-left: 5px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:not(:hover) {
|
|
28
|
-
.edit-icon {
|
|
29
|
-
display: none;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.edit-icon {
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
font-size: 1rem;
|
|
36
|
-
color: lightgray;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.add-info-style {
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.prosemirror-mention-node {
|
|
44
|
-
margin-bottom: unit((8/18), em);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.reference-list {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
align-items: center;
|
|
8
|
+
|
|
9
|
+
> .buttons {
|
|
10
|
+
:hover {
|
|
11
|
+
color: @primary-color;
|
|
12
|
+
font-size: 1.05rem;
|
|
13
|
+
|
|
14
|
+
svg {
|
|
15
|
+
filter: drop-shadow(2px 2px 2px @primary-color);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
font-size: 1rem;
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
margin-left: 5px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:not(:hover) {
|
|
28
|
+
.edit-icon {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.edit-icon {
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
font-size: 1rem;
|
|
36
|
+
color: lightgray;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.add-info-style {
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.prosemirror-mention-node {
|
|
44
|
+
margin-bottom: unit((8/18), em);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|