@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,105 +1,105 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.page-items {
|
|
5
|
-
height: 100%;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
|
|
9
|
-
.page-items-view {
|
|
10
|
-
flex: 1;
|
|
11
|
-
background: unset;
|
|
12
|
-
|
|
13
|
-
.list-view-header {
|
|
14
|
-
display: none;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// set height
|
|
18
|
-
.page-scroll-view {
|
|
19
|
-
height: 100%;
|
|
20
|
-
|
|
21
|
-
&.dataEmpty {
|
|
22
|
-
> div {
|
|
23
|
-
height: auto;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.ant-empty {
|
|
27
|
-
height: 100%;
|
|
28
|
-
margin: 0 auto;
|
|
29
|
-
padding: 50px 0;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
> div {
|
|
34
|
-
height: 100%;
|
|
35
|
-
background-color: @background-color-base;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.page-dd-item-container {
|
|
39
|
-
background-color: @background-color-base;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// end ugly code to set items height
|
|
44
|
-
|
|
45
|
-
.page-item-card {
|
|
46
|
-
max-width: 70rem;
|
|
47
|
-
margin-left: auto;
|
|
48
|
-
margin-right: auto;
|
|
49
|
-
padding: 0 1rem 0 1rem;
|
|
50
|
-
background-color: @background-color-base;
|
|
51
|
-
|
|
52
|
-
&.page-item-card_zero {
|
|
53
|
-
padding-top: 1rem;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.page-item-header {
|
|
57
|
-
padding: 10px 0;
|
|
58
|
-
margin: 0 20px;
|
|
59
|
-
border-bottom: 1px solid #eee;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.new-page-item-form {
|
|
65
|
-
width: 100%;
|
|
66
|
-
margin: 0;
|
|
67
|
-
height: auto;
|
|
68
|
-
background-color: #fff;
|
|
69
|
-
border-top: 0 @border-style-base @border-color-split;
|
|
70
|
-
transition: height 0.3s, opacity 0.2s ease-out, border-color 0.1s;
|
|
71
|
-
|
|
72
|
-
&.show {
|
|
73
|
-
border-top-width: @border-width-base;
|
|
74
|
-
|
|
75
|
-
.ant-input {
|
|
76
|
-
padding: 4px 0;
|
|
77
|
-
border: none;
|
|
78
|
-
box-shadow: none;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.detailed {
|
|
83
|
-
display: none;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.plus-icon.plus-icon-position {
|
|
88
|
-
position: absolute;
|
|
89
|
-
bottom: 20px;
|
|
90
|
-
right: 20px;
|
|
91
|
-
width: 26px;
|
|
92
|
-
height: 26px;
|
|
93
|
-
line-height: 26px;
|
|
94
|
-
font-size: 18px;
|
|
95
|
-
border-radius: 2px;
|
|
96
|
-
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
97
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
98
|
-
transition: width 0.3s, opacity 0.2s ease-out, color 0.3s;
|
|
99
|
-
|
|
100
|
-
&.hide {
|
|
101
|
-
display: none;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.page-items {
|
|
5
|
+
height: 100%;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
|
|
9
|
+
.page-items-view {
|
|
10
|
+
flex: 1;
|
|
11
|
+
background: unset;
|
|
12
|
+
|
|
13
|
+
.list-view-header {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// set height
|
|
18
|
+
.page-scroll-view {
|
|
19
|
+
height: 100%;
|
|
20
|
+
|
|
21
|
+
&.dataEmpty {
|
|
22
|
+
> div {
|
|
23
|
+
height: auto;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ant-empty {
|
|
27
|
+
height: 100%;
|
|
28
|
+
margin: 0 auto;
|
|
29
|
+
padding: 50px 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
> div {
|
|
34
|
+
height: 100%;
|
|
35
|
+
background-color: @background-color-base;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.page-dd-item-container {
|
|
39
|
+
background-color: @background-color-base;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// end ugly code to set items height
|
|
44
|
+
|
|
45
|
+
.page-item-card {
|
|
46
|
+
max-width: 70rem;
|
|
47
|
+
margin-left: auto;
|
|
48
|
+
margin-right: auto;
|
|
49
|
+
padding: 0 1rem 0 1rem;
|
|
50
|
+
background-color: @background-color-base;
|
|
51
|
+
|
|
52
|
+
&.page-item-card_zero {
|
|
53
|
+
padding-top: 1rem;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.page-item-header {
|
|
57
|
+
padding: 10px 0;
|
|
58
|
+
margin: 0 20px;
|
|
59
|
+
border-bottom: 1px solid #eee;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.new-page-item-form {
|
|
65
|
+
width: 100%;
|
|
66
|
+
margin: 0;
|
|
67
|
+
height: auto;
|
|
68
|
+
background-color: #fff;
|
|
69
|
+
border-top: 0 @border-style-base @border-color-split;
|
|
70
|
+
transition: height 0.3s, opacity 0.2s ease-out, border-color 0.1s;
|
|
71
|
+
|
|
72
|
+
&.show {
|
|
73
|
+
border-top-width: @border-width-base;
|
|
74
|
+
|
|
75
|
+
.ant-input {
|
|
76
|
+
padding: 4px 0;
|
|
77
|
+
border: none;
|
|
78
|
+
box-shadow: none;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.detailed {
|
|
83
|
+
display: none;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.plus-icon.plus-icon-position {
|
|
88
|
+
position: absolute;
|
|
89
|
+
bottom: 20px;
|
|
90
|
+
right: 20px;
|
|
91
|
+
width: 26px;
|
|
92
|
+
height: 26px;
|
|
93
|
+
line-height: 26px;
|
|
94
|
+
font-size: 18px;
|
|
95
|
+
border-radius: 2px;
|
|
96
|
+
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
97
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
98
|
+
transition: width 0.3s, opacity 0.2s ease-out, color 0.3s;
|
|
99
|
+
|
|
100
|
+
&.hide {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.plus-icon {
|
|
3
|
-
display: inline-block;
|
|
4
|
-
width: 20px;
|
|
5
|
-
height: 20px;
|
|
6
|
-
background: #1abc9c;
|
|
7
|
-
color: #fff;
|
|
8
|
-
text-align: center;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.plus-icon {
|
|
3
|
+
display: inline-block;
|
|
4
|
+
width: 20px;
|
|
5
|
+
height: 20px;
|
|
6
|
+
background: #1abc9c;
|
|
7
|
+
color: #fff;
|
|
8
|
+
text-align: center;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1,30 +1,19 @@
|
|
|
1
|
-
import React, { useEffect, useState
|
|
2
|
-
import { Skeleton
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
|
+
import { Skeleton } from "antd";
|
|
3
3
|
import { PageContext, PageContextState, usePage } from "../../data";
|
|
4
|
-
import { faEllipsisVerticalSolid, faBookBlankSolid, FontAwesomeIcon as FAIcon, } from "@voplus/morpho-ui/es/faIcons";
|
|
5
4
|
import { useTabItem } from "@voplus/morpho-data";
|
|
6
5
|
import { observe } from "@voplus/morpho-ui";
|
|
7
6
|
import { runInAction } from "mobx";
|
|
8
|
-
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
|
9
|
-
import { useFrame } from "../../../../components/ViewFrame/ViewFrameContext";
|
|
10
7
|
import DocumentTabs from "../../../../components/DocumentTabs";
|
|
11
|
-
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
12
8
|
import PageItems from "../../components/PageItems";
|
|
13
|
-
import {
|
|
9
|
+
import { Print } from "../../../../controls/DocumentMenu/items";
|
|
14
10
|
import DocumentProperties from "../../../../components/DocumentProperties";
|
|
15
|
-
import DocumentBreadCrumbsPath from "../../../../components/DocumentBreadCrumbsPath";
|
|
16
|
-
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
17
11
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
12
|
+
import DocumentPageHeadDashboard from "../../../../components/DocumentPageHeadDashboard";
|
|
18
13
|
import "./index.less";
|
|
19
14
|
/** The Page Page component with router parameters support. */
|
|
20
15
|
const PageDefaultView = ({ id }) => {
|
|
21
|
-
const frame = useFrame();
|
|
22
|
-
if (frame) {
|
|
23
|
-
frame.header = null;
|
|
24
|
-
}
|
|
25
16
|
const [context] = useState(new PageContextState());
|
|
26
|
-
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
27
|
-
const [packUp, setPackUp] = useState(false);
|
|
28
17
|
const page = usePage(id, { reload: true, includes: "tags,versions" });
|
|
29
18
|
const tab = useTabItem();
|
|
30
19
|
useEffect(() => {
|
|
@@ -32,13 +21,7 @@ const PageDefaultView = ({ id }) => {
|
|
|
32
21
|
}, [page === null || page === void 0 ? void 0 : page.name]);
|
|
33
22
|
return observe(() => (React.createElement(PageContext.Provider, { value: context },
|
|
34
23
|
React.createElement(Skeleton, { active: true, loading: !page.loaded },
|
|
35
|
-
React.createElement(DefaultViewLayout, { className: "page-default-view", header: React.createElement(
|
|
36
|
-
React.createElement(Space, { className: "menu-buttons" },
|
|
37
|
-
React.createElement(Print, { url: `page/print/${page.id}` }),
|
|
38
|
-
React.createElement(Lock, null),
|
|
39
|
-
React.createElement(Unlock, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
|
|
40
|
-
icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }),
|
|
41
|
-
}, blankMenu: packUp ? [] : ["Print", "Lock", "Unlock"] }) }), properties: React.createElement("div", { className: "properties-list document-properties-list" },
|
|
24
|
+
React.createElement(DefaultViewLayout, { className: "page-default-view", header: React.createElement(DocumentPageHeadDashboard, { id: id, actionButtons: React.createElement(Print, { url: `page/print/${page.id}` }), blankMenu: ["Print"] }), properties: React.createElement("div", { className: "properties-list document-properties-list" },
|
|
42
25
|
React.createElement(DocumentProperties, { id: id })) },
|
|
43
26
|
React.createElement(DocumentTabs, { id: id, details:
|
|
44
27
|
/* pageItem List */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/page/views/PageDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/page/views/PageDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,YAAY,MAAM,qCAAqC,CAAC;AAC/D,OAAO,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AAChE,OAAO,kBAAkB,MAAM,2CAA2C,CAAC;AAC3E,OAAO,iBAAiB,MAAM,0DAA0D,CAAC;AACzF,OAAO,yBAAyB,MAAM,kDAAkD,CAAC;AACzF,OAAO,cAAc,CAAC;AAEtB,8DAA8D;AAC9D,MAAM,eAAe,GAAG,CAAC,EAAE,EAAE,EAAkB,EAAE,EAAE;IAClD,MAAM,CAAC,OAAO,CAAC,GAAG,QAAQ,CAAC,IAAI,gBAAgB,EAAE,CAAC,CAAC;IACnD,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC,CAAC;IAEtE,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IACzB,SAAS,CAAC,GAAG,EAAE;QACd,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC5C,CAAC,EAAE,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,CAAC,CAAC,CAAC;IAEjB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO;QACnC,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM;YACrC,oBAAC,iBAAiB,IACjB,SAAS,EAAC,mBAAmB,EAC7B,MAAM,EACL,oBAAC,yBAAyB,IACzB,EAAE,EAAE,EAAE,EACN,aAAa,EAAE,oBAAC,KAAK,IAAC,GAAG,EAAE,cAAc,IAAI,CAAC,EAAE,EAAE,GAAI,EACtD,SAAS,EAAE,CAAC,OAAO,CAAC,GACnB,EAEH,UAAU,EACT,6BAAK,SAAS,EAAC,0CAA0C;oBACxD,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,GAAI,CACzB;gBAGP,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,OAAO;oBACN,mBAAmB;oBACnB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,OAAO,CAAC,MAAM;wBACxC,oBAAC,SAAS,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAI,CACpC,GAEX,CACiB,CACV,CACW,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,CAAC,YAAY,GAAG;IAC9B,MAAM,EAAE,KAAK;CACb,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.page-default-view {
|
|
5
|
-
height: 100%;
|
|
6
|
-
position: relative;
|
|
7
|
-
|
|
8
|
-
.list-view-header {
|
|
9
|
-
display: none;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.page-default-view {
|
|
5
|
+
height: 100%;
|
|
6
|
+
position: relative;
|
|
7
|
+
|
|
8
|
+
.list-view-header {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/print.less" print;
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
@media print {
|
|
5
|
-
.print-pre-view {
|
|
6
|
-
.page-items-view .page-item-card {
|
|
7
|
-
padding: 0;
|
|
8
|
-
}
|
|
9
|
-
.page-items-view .page-item-card .page-item-header {
|
|
10
|
-
margin: 0;
|
|
11
|
-
}
|
|
12
|
-
.ProseMirror {
|
|
13
|
-
padding-left: 0;
|
|
14
|
-
padding-right: 0;
|
|
15
|
-
padding-bottom: 3.5rem;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.print-pre-view {
|
|
21
|
-
// display: flex;
|
|
22
|
-
// flex-direction: column;
|
|
23
|
-
height: 100%;
|
|
24
|
-
overflow-y: auto;
|
|
25
|
-
padding: 0 20px;
|
|
26
|
-
|
|
27
|
-
.print-view-header {
|
|
28
|
-
padding: 0.27cm 0.54cm;
|
|
29
|
-
background-color: #ffffff;
|
|
30
|
-
|
|
31
|
-
.print-item-name {
|
|
32
|
-
font-weight: 600;
|
|
33
|
-
font-size: 0.55cm;
|
|
34
|
-
margin-bottom: 0.13cm;
|
|
35
|
-
color: #000;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.page-items {
|
|
40
|
-
height: calc(100% - 84px);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.page-scroll-view {
|
|
44
|
-
overflow-y: auto;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.plus-icon-position {
|
|
48
|
-
display: none;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/print.less" print;
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
@media print {
|
|
5
|
+
.print-pre-view {
|
|
6
|
+
.page-items-view .page-item-card {
|
|
7
|
+
padding: 0;
|
|
8
|
+
}
|
|
9
|
+
.page-items-view .page-item-card .page-item-header {
|
|
10
|
+
margin: 0;
|
|
11
|
+
}
|
|
12
|
+
.ProseMirror {
|
|
13
|
+
padding-left: 0;
|
|
14
|
+
padding-right: 0;
|
|
15
|
+
padding-bottom: 3.5rem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.print-pre-view {
|
|
21
|
+
// display: flex;
|
|
22
|
+
// flex-direction: column;
|
|
23
|
+
height: 100%;
|
|
24
|
+
overflow-y: auto;
|
|
25
|
+
padding: 0 20px;
|
|
26
|
+
|
|
27
|
+
.print-view-header {
|
|
28
|
+
padding: 0.27cm 0.54cm;
|
|
29
|
+
background-color: #ffffff;
|
|
30
|
+
|
|
31
|
+
.print-item-name {
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
font-size: 0.55cm;
|
|
34
|
+
margin-bottom: 0.13cm;
|
|
35
|
+
color: #000;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.page-items {
|
|
40
|
+
height: calc(100% - 84px);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.page-scroll-view {
|
|
44
|
+
overflow-y: auto;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.plus-icon-position {
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
.advance-filter-content {
|
|
2
|
-
:global {
|
|
3
|
-
.properties-section-header {
|
|
4
|
-
margin: 0 0 15px;
|
|
5
|
-
border-bottom: none;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.properties-section___h2l0v {
|
|
9
|
-
padding: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.prop-item {
|
|
13
|
-
margin-bottom: 15px;
|
|
14
|
-
|
|
15
|
-
.prop-item-title {
|
|
16
|
-
flex: 1;
|
|
17
|
-
font-weight: 500;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.mention-list {
|
|
21
|
-
min-height: 32px;
|
|
22
|
-
padding: 0 10px;
|
|
23
|
-
border-radius: 5px;
|
|
24
|
-
border: 1px solid #d9d9d9;
|
|
25
|
-
|
|
26
|
-
&:hover {
|
|
27
|
-
border-color: #1677ff;
|
|
28
|
-
box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.form-item-title {
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
justify-content: space-between;
|
|
37
|
-
|
|
38
|
-
.ant-select-selection-item {
|
|
39
|
-
color: #868686;
|
|
40
|
-
text-align: right;
|
|
41
|
-
// text-decoration: underline;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.create-by-btn {
|
|
45
|
-
color: #868686;
|
|
46
|
-
text-align: right;
|
|
47
|
-
text-decoration: underline;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
:global {
|
|
54
|
-
.advance-filter-form {
|
|
55
|
-
& > header {
|
|
56
|
-
border-bottom: none;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
& > div.flex-1.mx-4.py-5.sm\:mx-6 {
|
|
60
|
-
padding-top: 0;
|
|
61
|
-
padding-bottom: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.side-form-title {
|
|
65
|
-
color: #217eb2;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
1
|
+
.advance-filter-content {
|
|
2
|
+
:global {
|
|
3
|
+
.properties-section-header {
|
|
4
|
+
margin: 0 0 15px;
|
|
5
|
+
border-bottom: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.properties-section___h2l0v {
|
|
9
|
+
padding: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.prop-item {
|
|
13
|
+
margin-bottom: 15px;
|
|
14
|
+
|
|
15
|
+
.prop-item-title {
|
|
16
|
+
flex: 1;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.mention-list {
|
|
21
|
+
min-height: 32px;
|
|
22
|
+
padding: 0 10px;
|
|
23
|
+
border-radius: 5px;
|
|
24
|
+
border: 1px solid #d9d9d9;
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
border-color: #1677ff;
|
|
28
|
+
box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.form-item-title {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: space-between;
|
|
37
|
+
|
|
38
|
+
.ant-select-selection-item {
|
|
39
|
+
color: #868686;
|
|
40
|
+
text-align: right;
|
|
41
|
+
// text-decoration: underline;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.create-by-btn {
|
|
45
|
+
color: #868686;
|
|
46
|
+
text-align: right;
|
|
47
|
+
text-decoration: underline;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:global {
|
|
54
|
+
.advance-filter-form {
|
|
55
|
+
& > header {
|
|
56
|
+
border-bottom: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
& > div.flex-1.mx-4.py-5.sm\:mx-6 {
|
|
60
|
+
padding-top: 0;
|
|
61
|
+
padding-bottom: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.side-form-title {
|
|
65
|
+
color: #217eb2;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
.general-filter-form {
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
|
|
6
|
-
:global {
|
|
7
|
-
.properties-section-header {
|
|
8
|
-
margin: 0 0 15px;
|
|
9
|
-
border-bottom: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.prop-item {
|
|
13
|
-
margin-bottom: 15px;
|
|
14
|
-
|
|
15
|
-
.prop-item-title {
|
|
16
|
-
flex: 1;
|
|
17
|
-
font-weight: 500;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.mention-list {
|
|
21
|
-
min-height: 32px;
|
|
22
|
-
padding: 0 10px;
|
|
23
|
-
border-radius: 5px;
|
|
24
|
-
border: 1px solid #d9d9d9;
|
|
25
|
-
|
|
26
|
-
&:hover {
|
|
27
|
-
border-color: #1677ff;
|
|
28
|
-
box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.form-item-title {
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
justify-content: space-between;
|
|
37
|
-
|
|
38
|
-
.ant-select-selection-item {
|
|
39
|
-
color: #868686;
|
|
40
|
-
text-align: right;
|
|
41
|
-
// text-decoration: underline;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.create-by-btn {
|
|
45
|
-
color: #868686;
|
|
46
|
-
text-align: right;
|
|
47
|
-
text-decoration: underline;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.general-filter-btn {
|
|
52
|
-
margin-top: 12px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
1
|
+
.general-filter-form {
|
|
2
|
+
height: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
|
|
6
|
+
:global {
|
|
7
|
+
.properties-section-header {
|
|
8
|
+
margin: 0 0 15px;
|
|
9
|
+
border-bottom: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.prop-item {
|
|
13
|
+
margin-bottom: 15px;
|
|
14
|
+
|
|
15
|
+
.prop-item-title {
|
|
16
|
+
flex: 1;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.mention-list {
|
|
21
|
+
min-height: 32px;
|
|
22
|
+
padding: 0 10px;
|
|
23
|
+
border-radius: 5px;
|
|
24
|
+
border: 1px solid #d9d9d9;
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
border-color: #1677ff;
|
|
28
|
+
box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.form-item-title {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: space-between;
|
|
37
|
+
|
|
38
|
+
.ant-select-selection-item {
|
|
39
|
+
color: #868686;
|
|
40
|
+
text-align: right;
|
|
41
|
+
// text-decoration: underline;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.create-by-btn {
|
|
45
|
+
color: #868686;
|
|
46
|
+
text-align: right;
|
|
47
|
+
text-decoration: underline;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.general-filter-btn {
|
|
52
|
+
margin-top: 12px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
55
|
}
|