@voplus/morpho-document 6.0.33 → 6.0.35
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/AddDocDropdown/index.less +61 -61
- 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 +116 -116
- package/es/components/DocumentCardList/index.less +9 -9
- package/es/components/DocumentHeader/index.less +179 -179
- package/es/components/DocumentItem/index.less +102 -102
- package/es/components/DocumentList/index.less +101 -101
- package/es/components/DocumentListView/index.less +10 -10
- package/es/components/DocumentNotificationDialog/index.less +26 -26
- package/es/components/DocumentPanelHeader/index.less +13 -13
- package/es/components/DocumentProperties/index.less +34 -34
- package/es/components/DocumentPropertiesView/index.less +9 -9
- package/es/components/DocumentSelectDialog/index.less +54 -54
- package/es/components/DocumentSortableTree/index.less +22 -22
- package/es/components/DocumentSortableTree/themes/FileExplorerTheme/node-content-renderer.less +350 -350
- package/es/components/DocumentSortableTree/themes/FileExplorerTheme/tree-node-renderer.less +4 -4
- package/es/components/DocumentSortableTree/themes/SortableTreeDocumentTheme/node-content-renderer.less +64 -64
- package/es/components/DocumentSortableTree/themes/SortableTreeDocumentTheme/tree-node-renderer.less +18 -18
- package/es/components/DocumentTabs/index.less +12 -12
- package/es/components/DocumentTree/index.less +4 -4
- package/es/components/FileViewer/index.less +93 -93
- package/es/components/Icon/index.less +24 -24
- package/es/components/Links/index.less +140 -140
- package/es/components/NewDocumentForm/index.less +63 -63
- package/es/components/PasteListInDocument/index.less +25 -25
- 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 +48 -48
- package/es/components/TagView/index.less +106 -106
- package/es/components/TextQuickViewDialog/index.less +7 -7
- package/es/components/VersionsModal/index.less +31 -31
- package/es/components/ViewFrame/ViewFrameHeader/index.less +16 -16
- package/es/components/ViewFrame/index.less +12 -12
- package/es/components/WordFieldViewer/index.less +5 -5
- 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/DocumentLabel/index.less +12 -12
- package/es/controls/DocumentMenu/items/CopyReference.js +11 -11
- package/es/controls/FolderEdit/index.less +39 -39
- 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 +36 -36
- package/es/controls/PDFViewer/index.less +20 -20
- package/es/controls/QuickViewDialog/QuickSubTab/index.less +23 -23
- package/es/controls/QuickViewDialog/index.less +76 -72
- package/es/controls/ReferenceList/index.less +47 -47
- package/es/controls/RelatedDocument/index.less +11 -11
- package/es/controls/TimeLog/index.less +91 -91
- package/es/controls/ToolBar/index.less +76 -76
- 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/document-register/components/DocumentRegisterItem/index.less +45 -45
- package/es/modules/document-register/components/DocumentRegisterList/index.less +15 -15
- package/es/modules/document-register/components/DocumentRegisterPropertiesView/index.less +14 -14
- package/es/modules/document-register/controls/DocumentRegisterStatusLabel/index.less +35 -35
- package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.less +21 -21
- package/es/modules/graph/components/GraphViewer/index.less +5 -5
- package/es/modules/graph/pages/GraphDefaultView/index.less +17 -17
- 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 +89 -89
- package/es/modules/page/components/PlusDropDown/index.less +11 -11
- package/es/modules/page/views/PageDefaultView/index.less +92 -92
- package/es/modules/page/views/PagePrintView/index.less +51 -51
- package/es/obsolete/Links/index.less +112 -112
- package/es/pages/EmailTemplate/EmailTemplateDefaultView/index.less +39 -39
- package/es/pages/EmailTemplate/EmailTemplateForm/index.less +26 -26
- package/es/pages/EmailTemplate/EmailTemplateItem/index.js +4 -4
- package/es/pages/EmailTemplate/EmailTemplateItem/index.less +18 -18
- package/es/pages/EmailTemplate/EmailTemplateItems/index.less +68 -68
- package/es/pages/EmailTemplate/EmailTemplatePropertiesView/index.less +13 -13
- package/es/pages/Library/LibraryDefaultView/index.less +165 -165
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.less +57 -57
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/index.less +59 -59
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/mobile/index.less +42 -42
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/pc/index.less +77 -77
- package/es/pages/Signature/Envelope/EnvelopeReport/index.less +49 -49
- package/es/pages/Signature/Envelope/components/EnvelopeCard/index.less +64 -64
- 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 +44 -44
- package/es/pages/Signature/Envelope/components/RemoveSignatureDialog/index.less +8 -8
- package/es/pages/Signature/Envelope/components/SendDialog/index.less +10 -10
- package/es/pages/Signature/Envelope/components/ViewSignaturesDialog/index.less +28 -28
- 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/LetterContentView/index.less +86 -86
- 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 +27 -27
- 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/TreeViewPage/index.less +31 -31
- 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 +12 -12
- package/es/services/MentionViewer/index.js +9 -4
- package/es/services/MentionViewer/index.js.map +1 -1
- package/es/style/index.less +13 -13
- package/es/views/DocumentTabbedView/index.less +24 -24
- package/package.json +66 -66
- package/readme.md +9 -9
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.document-icon-view {
|
|
5
|
-
font-size: 13px;
|
|
6
|
-
margin-right: 20px;
|
|
7
|
-
> span {
|
|
8
|
-
display: block;
|
|
9
|
-
max-width: 7rem;
|
|
10
|
-
text-align: center;
|
|
11
|
-
// padding: 0 10px;
|
|
12
|
-
}
|
|
13
|
-
.document-icon-small {
|
|
14
|
-
font-size: 22px;
|
|
15
|
-
line-height: 22px;
|
|
16
|
-
}
|
|
17
|
-
.document-icon-normal {
|
|
18
|
-
font-size: 32px;
|
|
19
|
-
line-height: 32px;
|
|
20
|
-
}
|
|
21
|
-
.document-icon-large {
|
|
22
|
-
font-size: 44px;
|
|
23
|
-
line-height: 44px;
|
|
24
|
-
}
|
|
25
|
-
.document-icon-name {
|
|
26
|
-
position: relative;
|
|
27
|
-
max-height: 60px;
|
|
28
|
-
overflow: hidden;
|
|
29
|
-
word-break: break-all;
|
|
30
|
-
&:hover {
|
|
31
|
-
color: @primary-color;
|
|
32
|
-
}
|
|
33
|
-
&:after {
|
|
34
|
-
content: "...";
|
|
35
|
-
position: absolute;
|
|
36
|
-
font-weight: 500;
|
|
37
|
-
right: 0;
|
|
38
|
-
top: 40px;
|
|
39
|
-
height: 20px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.document-icon-view {
|
|
5
|
+
font-size: 13px;
|
|
6
|
+
margin-right: 20px;
|
|
7
|
+
> span {
|
|
8
|
+
display: block;
|
|
9
|
+
max-width: 7rem;
|
|
10
|
+
text-align: center;
|
|
11
|
+
// padding: 0 10px;
|
|
12
|
+
}
|
|
13
|
+
.document-icon-small {
|
|
14
|
+
font-size: 22px;
|
|
15
|
+
line-height: 22px;
|
|
16
|
+
}
|
|
17
|
+
.document-icon-normal {
|
|
18
|
+
font-size: 32px;
|
|
19
|
+
line-height: 32px;
|
|
20
|
+
}
|
|
21
|
+
.document-icon-large {
|
|
22
|
+
font-size: 44px;
|
|
23
|
+
line-height: 44px;
|
|
24
|
+
}
|
|
25
|
+
.document-icon-name {
|
|
26
|
+
position: relative;
|
|
27
|
+
max-height: 60px;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
word-break: break-all;
|
|
30
|
+
&:hover {
|
|
31
|
+
color: @primary-color;
|
|
32
|
+
}
|
|
33
|
+
&:after {
|
|
34
|
+
content: "...";
|
|
35
|
+
position: absolute;
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
right: 0;
|
|
38
|
+
top: 40px;
|
|
39
|
+
height: 20px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.documents-icon-list-view {
|
|
3
|
-
display: flex;
|
|
4
|
-
padding: 0 20px;
|
|
5
|
-
.attachments-header {
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
// align-items: center;
|
|
9
|
-
padding: 10px 0;
|
|
10
|
-
min-width: 110px;
|
|
11
|
-
.attachments-title {
|
|
12
|
-
color: #000;
|
|
13
|
-
font-size: 15px;
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
}
|
|
16
|
-
.download-btn {
|
|
17
|
-
padding: 0;
|
|
18
|
-
height: 26px;
|
|
19
|
-
font-size: 18px;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.attachments-cards {
|
|
23
|
-
flex: 1;
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-wrap: wrap;
|
|
26
|
-
// margin: 0 20px;
|
|
27
|
-
padding: 10px 0;
|
|
28
|
-
background-color: #fff;
|
|
29
|
-
position: relative;
|
|
30
|
-
> span {
|
|
31
|
-
display: flex;
|
|
32
|
-
width: 100%;
|
|
33
|
-
flex-direction: column-reverse;
|
|
34
|
-
// padding: 0 0.5rem;
|
|
35
|
-
.ant-upload-disabled {
|
|
36
|
-
cursor: auto !important;
|
|
37
|
-
}
|
|
38
|
-
.ant-upload.ant-upload-drag {
|
|
39
|
-
border: none;
|
|
40
|
-
background-color: transparent;
|
|
41
|
-
text-align: left;
|
|
42
|
-
.ant-upload {
|
|
43
|
-
padding: 0;
|
|
44
|
-
.ant-upload-drag-container {
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-wrap: wrap;
|
|
47
|
-
.document-icon-card {
|
|
48
|
-
width: 18rem;
|
|
49
|
-
margin: 0.5rem;
|
|
50
|
-
}
|
|
51
|
-
.ant-upload-hint {
|
|
52
|
-
width: 100%;
|
|
53
|
-
padding: 1rem 0;
|
|
54
|
-
// margin: 0.25rem 0.75rem 0 0.75rem;
|
|
55
|
-
background-color: #fff;
|
|
56
|
-
.svg-inline--fa {
|
|
57
|
-
margin: 0 10px 0 0;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
.ant-empty {
|
|
61
|
-
width: 100%;
|
|
62
|
-
padding: 10px 0;
|
|
63
|
-
margin: 0.25rem 0.5rem 0 0.5rem;
|
|
64
|
-
background-color: #fff;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
.attachments-download {
|
|
71
|
-
position: absolute;
|
|
72
|
-
right: -6px;
|
|
73
|
-
top: 0;
|
|
74
|
-
z-index: 10;
|
|
75
|
-
// .download-btn {
|
|
76
|
-
// padding: 0;
|
|
77
|
-
// color: #000;
|
|
78
|
-
// border-color: #000;
|
|
79
|
-
// height: 26px;
|
|
80
|
-
// font-size: 18px;
|
|
81
|
-
// }
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.documents-icon-list-view {
|
|
3
|
+
display: flex;
|
|
4
|
+
padding: 0 20px;
|
|
5
|
+
.attachments-header {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
// align-items: center;
|
|
9
|
+
padding: 10px 0;
|
|
10
|
+
min-width: 110px;
|
|
11
|
+
.attachments-title {
|
|
12
|
+
color: #000;
|
|
13
|
+
font-size: 15px;
|
|
14
|
+
font-weight: 600;
|
|
15
|
+
}
|
|
16
|
+
.download-btn {
|
|
17
|
+
padding: 0;
|
|
18
|
+
height: 26px;
|
|
19
|
+
font-size: 18px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.attachments-cards {
|
|
23
|
+
flex: 1;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-wrap: wrap;
|
|
26
|
+
// margin: 0 20px;
|
|
27
|
+
padding: 10px 0;
|
|
28
|
+
background-color: #fff;
|
|
29
|
+
position: relative;
|
|
30
|
+
> span {
|
|
31
|
+
display: flex;
|
|
32
|
+
width: 100%;
|
|
33
|
+
flex-direction: column-reverse;
|
|
34
|
+
// padding: 0 0.5rem;
|
|
35
|
+
.ant-upload-disabled {
|
|
36
|
+
cursor: auto !important;
|
|
37
|
+
}
|
|
38
|
+
.ant-upload.ant-upload-drag {
|
|
39
|
+
border: none;
|
|
40
|
+
background-color: transparent;
|
|
41
|
+
text-align: left;
|
|
42
|
+
.ant-upload {
|
|
43
|
+
padding: 0;
|
|
44
|
+
.ant-upload-drag-container {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-wrap: wrap;
|
|
47
|
+
.document-icon-card {
|
|
48
|
+
width: 18rem;
|
|
49
|
+
margin: 0.5rem;
|
|
50
|
+
}
|
|
51
|
+
.ant-upload-hint {
|
|
52
|
+
width: 100%;
|
|
53
|
+
padding: 1rem 0;
|
|
54
|
+
// margin: 0.25rem 0.75rem 0 0.75rem;
|
|
55
|
+
background-color: #fff;
|
|
56
|
+
.svg-inline--fa {
|
|
57
|
+
margin: 0 10px 0 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.ant-empty {
|
|
61
|
+
width: 100%;
|
|
62
|
+
padding: 10px 0;
|
|
63
|
+
margin: 0.25rem 0.5rem 0 0.5rem;
|
|
64
|
+
background-color: #fff;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
.attachments-download {
|
|
71
|
+
position: absolute;
|
|
72
|
+
right: -6px;
|
|
73
|
+
top: 0;
|
|
74
|
+
z-index: 10;
|
|
75
|
+
// .download-btn {
|
|
76
|
+
// padding: 0;
|
|
77
|
+
// color: #000;
|
|
78
|
+
// border-color: #000;
|
|
79
|
+
// height: 26px;
|
|
80
|
+
// font-size: 18px;
|
|
81
|
+
// }
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.email-recipients {
|
|
3
|
-
// padding: 10px 20px;
|
|
4
|
-
color: #000;
|
|
5
|
-
display: flex;
|
|
6
|
-
padding: 0 20px;
|
|
7
|
-
.email-recipients-title {
|
|
8
|
-
min-width: 110px;
|
|
9
|
-
font-size: 15px;
|
|
10
|
-
font-weight: 600;
|
|
11
|
-
padding: 10px 0;
|
|
12
|
-
}
|
|
13
|
-
.email-recipients-info{
|
|
14
|
-
flex: 1;
|
|
15
|
-
}
|
|
16
|
-
.ant-select {
|
|
17
|
-
padding: 10px 0 0;
|
|
18
|
-
.ant-select-selection-item {
|
|
19
|
-
border: 0;
|
|
20
|
-
background-color: #fff;
|
|
21
|
-
border-radius: 0;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
.recipients-list {
|
|
25
|
-
padding: 10px 0 0;
|
|
26
|
-
.recipient-item {
|
|
27
|
-
margin-right: 10px;
|
|
28
|
-
&:last-child {
|
|
29
|
-
margin-right: 0;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
.ant-alert {
|
|
34
|
-
padding: 3px 15px;
|
|
35
|
-
margin: 10px 20px 0 20px;
|
|
36
|
-
font-size: 13px;
|
|
37
|
-
&.ant-alert-no-icon .ant-alert-close-icon {
|
|
38
|
-
top: 7.0005px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.email-recipients-footer {
|
|
42
|
-
padding: 10px 0 0;
|
|
43
|
-
text-align: right;
|
|
44
|
-
.ant-btn + .ant-btn {
|
|
45
|
-
margin-left: 10px;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.recipients-tip {
|
|
49
|
-
padding: 10px 0 0;
|
|
50
|
-
color: #999;
|
|
51
|
-
.svg-inline--fa {
|
|
52
|
-
margin-right: 5px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.email-recipients {
|
|
3
|
+
// padding: 10px 20px;
|
|
4
|
+
color: #000;
|
|
5
|
+
display: flex;
|
|
6
|
+
padding: 0 20px;
|
|
7
|
+
.email-recipients-title {
|
|
8
|
+
min-width: 110px;
|
|
9
|
+
font-size: 15px;
|
|
10
|
+
font-weight: 600;
|
|
11
|
+
padding: 10px 0;
|
|
12
|
+
}
|
|
13
|
+
.email-recipients-info{
|
|
14
|
+
flex: 1;
|
|
15
|
+
}
|
|
16
|
+
.ant-select {
|
|
17
|
+
padding: 10px 0 0;
|
|
18
|
+
.ant-select-selection-item {
|
|
19
|
+
border: 0;
|
|
20
|
+
background-color: #fff;
|
|
21
|
+
border-radius: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.recipients-list {
|
|
25
|
+
padding: 10px 0 0;
|
|
26
|
+
.recipient-item {
|
|
27
|
+
margin-right: 10px;
|
|
28
|
+
&:last-child {
|
|
29
|
+
margin-right: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.ant-alert {
|
|
34
|
+
padding: 3px 15px;
|
|
35
|
+
margin: 10px 20px 0 20px;
|
|
36
|
+
font-size: 13px;
|
|
37
|
+
&.ant-alert-no-icon .ant-alert-close-icon {
|
|
38
|
+
top: 7.0005px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.email-recipients-footer {
|
|
42
|
+
padding: 10px 0 0;
|
|
43
|
+
text-align: right;
|
|
44
|
+
.ant-btn + .ant-btn {
|
|
45
|
+
margin-left: 10px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.recipients-tip {
|
|
49
|
+
padding: 10px 0 0;
|
|
50
|
+
color: #999;
|
|
51
|
+
.svg-inline--fa {
|
|
52
|
+
margin-right: 5px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.section-item {
|
|
3
|
-
flex: 1;
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
position: relative;
|
|
6
|
-
background: #ffffff;
|
|
7
|
-
&:after {
|
|
8
|
-
position: absolute;
|
|
9
|
-
content: "";
|
|
10
|
-
left: 20px;
|
|
11
|
-
bottom: 0;
|
|
12
|
-
right: 20px;
|
|
13
|
-
border-bottom: 1px solid #d9d9d9;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.section-item {
|
|
3
|
+
flex: 1;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
position: relative;
|
|
6
|
+
background: #ffffff;
|
|
7
|
+
&:after {
|
|
8
|
+
position: absolute;
|
|
9
|
+
content: "";
|
|
10
|
+
left: 20px;
|
|
11
|
+
bottom: 0;
|
|
12
|
+
right: 20px;
|
|
13
|
+
border-bottom: 1px solid #d9d9d9;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.sections-item-card {
|
|
5
|
-
width: 100%;
|
|
6
|
-
margin-left: auto;
|
|
7
|
-
margin-right: auto;
|
|
8
|
-
padding: 0 20px 20px 20px;
|
|
9
|
-
background-color: @background-color-base;
|
|
10
|
-
&.sections-item-card_zero {
|
|
11
|
-
padding-top: 20px;
|
|
12
|
-
}
|
|
13
|
-
.section-item-content {
|
|
14
|
-
background: #ffffff;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.sections-item-card {
|
|
5
|
+
width: 100%;
|
|
6
|
+
margin-left: auto;
|
|
7
|
+
margin-right: auto;
|
|
8
|
+
padding: 0 20px 20px 20px;
|
|
9
|
+
background-color: @background-color-base;
|
|
10
|
+
&.sections-item-card_zero {
|
|
11
|
+
padding-top: 20px;
|
|
12
|
+
}
|
|
13
|
+
.section-item-content {
|
|
14
|
+
background: #ffffff;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
.submit-sections {
|
|
4
|
-
height: 100%;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
:global {
|
|
8
|
-
.submit-sections-list {
|
|
9
|
-
flex: 1;
|
|
10
|
-
.list-view-header {
|
|
11
|
-
background: #ffffff;
|
|
12
|
-
}
|
|
13
|
-
.section-item-content,
|
|
14
|
-
.section-item {
|
|
15
|
-
.document-header-default {
|
|
16
|
-
padding: 10px 20px;
|
|
17
|
-
background-color: transparent;
|
|
18
|
-
.document-pre {
|
|
19
|
-
width: 28px;
|
|
20
|
-
margin-right: 0 !important;
|
|
21
|
-
> div {
|
|
22
|
-
margin-right: 0.5rem;
|
|
23
|
-
}
|
|
24
|
-
.page-move {
|
|
25
|
-
color: #000;
|
|
26
|
-
cursor: move;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.section-document {
|
|
31
|
-
height: 280px;
|
|
32
|
-
}
|
|
33
|
-
.section-item-tools {
|
|
34
|
-
display: inline-block;
|
|
35
|
-
margin-right: 8px;
|
|
36
|
-
}
|
|
37
|
-
.collapse-arrow {
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
.submit-sections-list-readonly {
|
|
44
|
-
.list-view-main {
|
|
45
|
-
background-color: @background-color-base;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.new-section-form {
|
|
49
|
-
background: #ffffff;
|
|
50
|
-
border-top: 1px solid #f0f0f0;
|
|
51
|
-
.ant-input {
|
|
52
|
-
padding: 4px 0;
|
|
53
|
-
border: none;
|
|
54
|
-
box-shadow: none;
|
|
55
|
-
}
|
|
56
|
-
.detailed {
|
|
57
|
-
display: none;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
.submit-sections {
|
|
4
|
+
height: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
:global {
|
|
8
|
+
.submit-sections-list {
|
|
9
|
+
flex: 1;
|
|
10
|
+
.list-view-header {
|
|
11
|
+
background: #ffffff;
|
|
12
|
+
}
|
|
13
|
+
.section-item-content,
|
|
14
|
+
.section-item {
|
|
15
|
+
.document-header-default {
|
|
16
|
+
padding: 10px 20px;
|
|
17
|
+
background-color: transparent;
|
|
18
|
+
.document-pre {
|
|
19
|
+
width: 28px;
|
|
20
|
+
margin-right: 0 !important;
|
|
21
|
+
> div {
|
|
22
|
+
margin-right: 0.5rem;
|
|
23
|
+
}
|
|
24
|
+
.page-move {
|
|
25
|
+
color: #000;
|
|
26
|
+
cursor: move;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.section-document {
|
|
31
|
+
height: 280px;
|
|
32
|
+
}
|
|
33
|
+
.section-item-tools {
|
|
34
|
+
display: inline-block;
|
|
35
|
+
margin-right: 8px;
|
|
36
|
+
}
|
|
37
|
+
.collapse-arrow {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.submit-sections-list-readonly {
|
|
44
|
+
.list-view-main {
|
|
45
|
+
background-color: @background-color-base;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.new-section-form {
|
|
49
|
+
background: #ffffff;
|
|
50
|
+
border-top: 1px solid #f0f0f0;
|
|
51
|
+
.ant-input {
|
|
52
|
+
padding: 4px 0;
|
|
53
|
+
border: none;
|
|
54
|
+
box-shadow: none;
|
|
55
|
+
}
|
|
56
|
+
.detailed {
|
|
57
|
+
display: none;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
.word-fill-page {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
background: white;
|
|
7
|
-
|
|
8
|
-
:global {
|
|
9
|
-
.word-fill-context {
|
|
10
|
-
height: 100%;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
.word-fill-page {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
background: white;
|
|
7
|
+
|
|
8
|
+
:global {
|
|
9
|
+
.word-fill-context {
|
|
10
|
+
height: 100%;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
13
|
}
|
|
@@ -7,9 +7,11 @@ import Viewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
|
|
|
7
7
|
import { observe } from "@voplus/morpho-ui";
|
|
8
8
|
import { useActivityStore } from "@voplus/morpho-org/es/data/ActivityStore";
|
|
9
9
|
import NoteAlertTip from "@voplus/morpho-org/es/components/NoteAlertTip";
|
|
10
|
+
import { useCurrentContactContext } from "@voplus/morpho-document-core/es/data/context/CurrentContactContext";
|
|
10
11
|
const MentionViewer = (props) => {
|
|
11
12
|
const store = useActivityStore();
|
|
12
13
|
const context = useApplicationContext();
|
|
14
|
+
const current = useCurrentContactContext();
|
|
13
15
|
const [state] = useState(new State());
|
|
14
16
|
useEffect(() => {
|
|
15
17
|
return () => {
|
|
@@ -20,14 +22,17 @@ const MentionViewer = (props) => {
|
|
|
20
22
|
};
|
|
21
23
|
}, []);
|
|
22
24
|
return observe(() => (React.createElement(Viewer, { html: props.html, onPrepareMention: (mention, unitId) => {
|
|
25
|
+
var _a;
|
|
23
26
|
state.renderMention = document.createElement("i");
|
|
24
27
|
state.renderMention.className = "mention-state";
|
|
25
28
|
ReactDOM.render(React.createElement(MentionState, { store: store, activityId: props.activityId, unitId: unitId }), state.renderMention);
|
|
26
29
|
mention.appendChild(state.renderMention);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
React.createElement(
|
|
30
|
-
|
|
30
|
+
if (unitId !== ((_a = current === null || current === void 0 ? void 0 : current.contact) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
31
|
+
state.renderUnitNote = document.createElement("span");
|
|
32
|
+
ReactDOM.render(React.createElement(ApplicationContext.Provider, { value: context },
|
|
33
|
+
React.createElement(NoteAlertTip, { id: unitId })), state.renderUnitNote);
|
|
34
|
+
mention.appendChild(state.renderUnitNote);
|
|
35
|
+
}
|
|
31
36
|
} })));
|
|
32
37
|
};
|
|
33
38
|
export default MentionViewer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/MentionViewer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,QAAQ,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,YAAY,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/MentionViewer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,QAAQ,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,YAAY,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC;AAE9G,MAAM,aAAa,GAAG,CAAC,KAA4C,EAAE,EAAE;IACtE,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,OAAO,GAAG,wBAAwB,EAAE,CAAC;IAC3C,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,SAAS,CAAC,GAAG,EAAE;QACd,OAAO,GAAG,EAAE;YACX,IAAI,KAAK,CAAC,aAAa;gBAAE,QAAQ,CAAC,sBAAsB,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;YAC9E,IAAI,KAAK,CAAC,cAAc;gBAAE,QAAQ,CAAC,sBAAsB,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;QACjF,CAAC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,MAAM,IACN,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,gBAAgB,EAAE,CAAC,OAAgB,EAAE,MAAc,EAAE,EAAE;;YACtD,KAAK,CAAC,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;YAClD,KAAK,CAAC,aAAa,CAAC,SAAS,GAAG,eAAe,CAAC;YAChD,QAAQ,CAAC,MAAM,CACd,oBAAC,YAAY,IAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,GAAI,EAC5E,KAAK,CAAC,aAAa,CACnB,CAAC;YACF,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,aAAc,CAAC,CAAC;YAE1C,IAAI,MAAM,MAAK,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,0CAAE,EAAE,CAAA,EAAE,CAAC;gBACrC,KAAK,CAAC,cAAc,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;gBACtD,QAAQ,CAAC,MAAM,CACd,oBAAC,kBAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO;oBAC1C,oBAAC,YAAY,IAAC,EAAE,EAAE,MAAM,GAAI,CACC,EAC9B,KAAK,CAAC,cAAc,CACpB,CAAC;gBACF,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,cAAe,CAAC,CAAC;YAC5C,CAAC;QACF,CAAC,GACA,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/es/style/index.less
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
.themed {
|
|
4
|
-
:global {
|
|
5
|
-
.ant-btn-primary {
|
|
6
|
-
background-color: @success-color;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.app {
|
|
12
|
-
color: @primary-color;
|
|
13
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
.themed {
|
|
4
|
+
:global {
|
|
5
|
+
.ant-btn-primary {
|
|
6
|
+
background-color: @success-color;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.app {
|
|
12
|
+
color: @primary-color;
|
|
13
|
+
}
|