@voplus/morpho-document 5.0.19 → 5.0.20
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 +157 -157
- package/es/components/DocumentItem/index.less +88 -88
- package/es/components/DocumentList/index.less +100 -100
- package/es/components/DocumentListView/index.less +10 -10
- package/es/components/DocumentNotificationDialog/index.less +26 -26
- package/es/components/DocumentPanelHeader/index.less +12 -12
- package/es/components/DocumentProperties/index.js +6 -6
- package/es/components/DocumentProperties/index.js.map +1 -1
- package/es/components/DocumentProperties/index.less +27 -16
- 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 +335 -335
- 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/FlexDialog/index.less +27 -27
- 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/NodeQuickView/QuickSubTab/index.less +25 -25
- package/es/components/NodeQuickView/index.less +74 -74
- package/es/components/PublishModal/index.less +22 -22
- 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/QuickViewDialog/QuickSubTab/index.less +23 -23
- package/es/components/QuickViewDialog/index.less +82 -82
- 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 +17 -17
- 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/DocumentReference/index.less +13 -13
- 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/ReferenceList/index.less +52 -52
- package/es/controls/RelatedDocument/index.less +11 -11
- package/es/controls/TimeLog/index.less +91 -91
- package/es/controls/ToolBar/buttons/More.js.map +1 -1
- 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/DocumentRegisterProperties/index.js +2 -2
- package/es/modules/document-register/components/DocumentRegisterProperties/index.js.map +1 -1
- package/es/modules/document-register/components/DocumentRegisterPropertiesView/index.less +14 -14
- package/es/modules/document-register/components/DocumentRegisterQuickViewDialog/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/GraphProperties/index.js +1 -1
- package/es/modules/graph/components/GraphProperties/index.js.map +1 -1
- 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 +34 -34
- package/es/modules/page/components/PageItems/index.less +79 -79
- package/es/modules/page/components/PlusDropDown/index.less +11 -11
- package/es/modules/page/views/PageDefaultView/index.less +75 -75
- package/es/modules/page/views/PagePrintView/index.less +44 -44
- 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 +36 -36
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/mobile/index.less +42 -42
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/pc/index.less +70 -70
- 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/EnvelopeProperties/index.js +8 -8
- package/es/pages/Signature/Envelope/components/EnvelopeProperties/index.js.map +1 -1
- package/es/pages/Signature/Envelope/components/EnvelopeQuickView/index.less +53 -53
- package/es/pages/Signature/Envelope/components/PropertiesView/index.less +47 -47
- 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 +72 -72
- package/es/pages/Signature/Letter/LetterViewer/index.less +76 -76
- package/es/pages/Signature/SignatureRecipient/index.less +18 -18
- 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/style/index.less +13 -13
- package/es/style/print.less +18 -18
- package/es/views/DocumentTabbedView/index.less +24 -24
- package/package.json +66 -66
- package/readme.md +9 -9
- package/es/controls/PropertiesSection/index.d.ts +0 -6
- package/es/controls/PropertiesSection/index.js +0 -17
- package/es/controls/PropertiesSection/index.js.map +0 -1
- package/es/controls/PropertiesSection/index.less +0 -25
|
@@ -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
|
}
|
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
|
+
}
|
package/es/style/print.less
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
@media print {
|
|
2
|
-
body {
|
|
3
|
-
color: #000;
|
|
4
|
-
background: #fff;
|
|
5
|
-
/* font-size: 10cm !important; */
|
|
6
|
-
}
|
|
7
|
-
section {
|
|
8
|
-
page-break-before: always;
|
|
9
|
-
}
|
|
10
|
-
h1 {
|
|
11
|
-
page-break-after: always;
|
|
12
|
-
}
|
|
13
|
-
p {
|
|
14
|
-
page-break-inside: avoid;
|
|
15
|
-
orphans: 3;
|
|
16
|
-
widows: 2;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
@media print {
|
|
2
|
+
body {
|
|
3
|
+
color: #000;
|
|
4
|
+
background: #fff;
|
|
5
|
+
/* font-size: 10cm !important; */
|
|
6
|
+
}
|
|
7
|
+
section {
|
|
8
|
+
page-break-before: always;
|
|
9
|
+
}
|
|
10
|
+
h1 {
|
|
11
|
+
page-break-after: always;
|
|
12
|
+
}
|
|
13
|
+
p {
|
|
14
|
+
page-break-inside: avoid;
|
|
15
|
+
orphans: 3;
|
|
16
|
+
widows: 2;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
.document-tabbed-view {
|
|
2
|
-
:global {
|
|
3
|
-
.document-tabbed-tabs {
|
|
4
|
-
.ant-tabs-nav {
|
|
5
|
-
padding: 0 20px;
|
|
6
|
-
}
|
|
7
|
-
.ant-tabs-tab > div {
|
|
8
|
-
max-width: 10em;
|
|
9
|
-
white-space: nowrap;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
text-overflow: ellipsis;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
.loading {
|
|
15
|
-
margin: 20px 0;
|
|
16
|
-
margin-bottom: 20px;
|
|
17
|
-
padding: 30px 50px;
|
|
18
|
-
text-align: center;
|
|
19
|
-
}
|
|
20
|
-
.ant-empty {
|
|
21
|
-
margin: 32px 0;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
.document-tabbed-view {
|
|
2
|
+
:global {
|
|
3
|
+
.document-tabbed-tabs {
|
|
4
|
+
.ant-tabs-nav {
|
|
5
|
+
padding: 0 20px;
|
|
6
|
+
}
|
|
7
|
+
.ant-tabs-tab > div {
|
|
8
|
+
max-width: 10em;
|
|
9
|
+
white-space: nowrap;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
text-overflow: ellipsis;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.loading {
|
|
15
|
+
margin: 20px 0;
|
|
16
|
+
margin-bottom: 20px;
|
|
17
|
+
padding: 30px 50px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
}
|
|
20
|
+
.ant-empty {
|
|
21
|
+
margin: 32px 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
package/package.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@voplus/morpho-document",
|
|
3
|
-
"version": "5.0.
|
|
4
|
-
"repository": {
|
|
5
|
-
"type": "git",
|
|
6
|
-
"url": "https://voplus.visualstudio.com/morpho-document/_git/morpho-document"
|
|
7
|
-
},
|
|
8
|
-
"description": "Morpho document module.",
|
|
9
|
-
"main": "es/index.js",
|
|
10
|
-
"module": "es/index.js",
|
|
11
|
-
"types": "es/index.d.ts",
|
|
12
|
-
"files": [
|
|
13
|
-
"es"
|
|
14
|
-
],
|
|
15
|
-
"author": "ALEX KWOK",
|
|
16
|
-
"license": "SEE LICENSE IN LICENSE",
|
|
17
|
-
"scripts": {
|
|
18
|
-
"copy-less": "cpx src/**/*.less lib && cpx src/**/*.less es && cpx src/**/*.css es",
|
|
19
|
-
"copy-less-mac": "cpx 'src/**/*.less' lib && cpx 'src/**/*.less' es && cpx 'src/**/*.css' es",
|
|
20
|
-
"clean": "del-cli es && jest --clearCache",
|
|
21
|
-
"storybook": "start-storybook -p 9001 -c .storybook -s ./public",
|
|
22
|
-
"lint": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src",
|
|
23
|
-
"build": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less",
|
|
24
|
-
"build:mac": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less-mac",
|
|
25
|
-
"test": "jest"
|
|
26
|
-
},
|
|
27
|
-
"husky": {
|
|
28
|
-
"hooks": {
|
|
29
|
-
"pre-push": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"@codemirror/lang-javascript": "^6.1.9",
|
|
34
|
-
"@uiw/react-codemirror": "4.x",
|
|
35
|
-
"@voplus/morpho-org": "5.x",
|
|
36
|
-
"@voplus/morpho-text": "5.x",
|
|
37
|
-
"file-saver": "2.x",
|
|
38
|
-
"iframe-resizer-react": "1.x",
|
|
39
|
-
"qrcode.react": "^3.1.0",
|
|
40
|
-
"react-pdf": "7.x",
|
|
41
|
-
"react-signature-canvas": "^1.0.3",
|
|
42
|
-
"reactour": "^1.18.3"
|
|
43
|
-
},
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"@types/file-saver": "2.x",
|
|
46
|
-
"@types/qrcode.react": "^1.0.1",
|
|
47
|
-
"@types/react-signature-canvas": "^1.0.1",
|
|
48
|
-
"@types/reactour": "^1.18.1",
|
|
49
|
-
"@voplus/morpho-build": "5.x",
|
|
50
|
-
"@voplus/morpho-client-test": "5.x",
|
|
51
|
-
"@voplus/morpho-storybook": "5.x",
|
|
52
|
-
"@voplus/morpho-test": "2.x",
|
|
53
|
-
"qrcode.react": "^3.1.0",
|
|
54
|
-
"react": "18.x",
|
|
55
|
-
"react-dom": "18.x"
|
|
56
|
-
},
|
|
57
|
-
"peerDependencies": {
|
|
58
|
-
"react": "18.x",
|
|
59
|
-
"react-dom": "18.x"
|
|
60
|
-
},
|
|
61
|
-
"sideEffects": [
|
|
62
|
-
"*.less",
|
|
63
|
-
"*.css",
|
|
64
|
-
"./src/**/PDFViewer/index.tsx"
|
|
65
|
-
]
|
|
66
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@voplus/morpho-document",
|
|
3
|
+
"version": "5.0.20",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://voplus.visualstudio.com/morpho-document/_git/morpho-document"
|
|
7
|
+
},
|
|
8
|
+
"description": "Morpho document module.",
|
|
9
|
+
"main": "es/index.js",
|
|
10
|
+
"module": "es/index.js",
|
|
11
|
+
"types": "es/index.d.ts",
|
|
12
|
+
"files": [
|
|
13
|
+
"es"
|
|
14
|
+
],
|
|
15
|
+
"author": "ALEX KWOK",
|
|
16
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
17
|
+
"scripts": {
|
|
18
|
+
"copy-less": "cpx src/**/*.less lib && cpx src/**/*.less es && cpx src/**/*.css es",
|
|
19
|
+
"copy-less-mac": "cpx 'src/**/*.less' lib && cpx 'src/**/*.less' es && cpx 'src/**/*.css' es",
|
|
20
|
+
"clean": "del-cli es && jest --clearCache",
|
|
21
|
+
"storybook": "start-storybook -p 9001 -c .storybook -s ./public",
|
|
22
|
+
"lint": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src",
|
|
23
|
+
"build": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less",
|
|
24
|
+
"build:mac": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less-mac",
|
|
25
|
+
"test": "jest"
|
|
26
|
+
},
|
|
27
|
+
"husky": {
|
|
28
|
+
"hooks": {
|
|
29
|
+
"pre-push": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@codemirror/lang-javascript": "^6.1.9",
|
|
34
|
+
"@uiw/react-codemirror": "4.x",
|
|
35
|
+
"@voplus/morpho-org": "5.x",
|
|
36
|
+
"@voplus/morpho-text": "5.x",
|
|
37
|
+
"file-saver": "2.x",
|
|
38
|
+
"iframe-resizer-react": "1.x",
|
|
39
|
+
"qrcode.react": "^3.1.0",
|
|
40
|
+
"react-pdf": "7.x",
|
|
41
|
+
"react-signature-canvas": "^1.0.3",
|
|
42
|
+
"reactour": "^1.18.3"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@types/file-saver": "2.x",
|
|
46
|
+
"@types/qrcode.react": "^1.0.1",
|
|
47
|
+
"@types/react-signature-canvas": "^1.0.1",
|
|
48
|
+
"@types/reactour": "^1.18.1",
|
|
49
|
+
"@voplus/morpho-build": "5.x",
|
|
50
|
+
"@voplus/morpho-client-test": "5.x",
|
|
51
|
+
"@voplus/morpho-storybook": "5.x",
|
|
52
|
+
"@voplus/morpho-test": "2.x",
|
|
53
|
+
"qrcode.react": "^3.1.0",
|
|
54
|
+
"react": "18.x",
|
|
55
|
+
"react-dom": "18.x"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"react": "18.x",
|
|
59
|
+
"react-dom": "18.x"
|
|
60
|
+
},
|
|
61
|
+
"sideEffects": [
|
|
62
|
+
"*.less",
|
|
63
|
+
"*.css",
|
|
64
|
+
"./src/**/PDFViewer/index.tsx"
|
|
65
|
+
]
|
|
66
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# 2020-01-05
|
|
2
|
-
|
|
3
|
-
Changed tsconfig.json
|
|
4
|
-
"target" changed from "esnext" to "es2018" due to "unexpected token" error webpack when using optional chaining.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
**MacOS build时 cpx命令需要给文件目录加上引号**
|
|
8
|
-
```shell
|
|
9
|
-
"copy-less": "cpx 'src/**/*.less' lib && cpx 'src/**/*.less' es && cpx 'src/**/*.css' es",
|
|
1
|
+
# 2020-01-05
|
|
2
|
+
|
|
3
|
+
Changed tsconfig.json
|
|
4
|
+
"target" changed from "esnext" to "es2018" due to "unexpected token" error webpack when using optional chaining.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
**MacOS build时 cpx命令需要给文件目录加上引号**
|
|
8
|
+
```shell
|
|
9
|
+
"copy-less": "cpx 'src/**/*.less' lib && cpx 'src/**/*.less' es && cpx 'src/**/*.css' es",
|
|
10
10
|
```
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
2
|
-
import { observe } from "@voplus/morpho-ui";
|
|
3
|
-
import { DownOutlined, UpOutlined } from "@ant-design/icons";
|
|
4
|
-
import classnames from "classnames";
|
|
5
|
-
import styles from "./index.less";
|
|
6
|
-
const PropertiesSection = (props) => {
|
|
7
|
-
const [iconDirectionUp, setIconDirectionUp] = useState(true);
|
|
8
|
-
return observe(() => (React.createElement("div", { className: styles["properties-section"] },
|
|
9
|
-
props.title && (React.createElement("div", { className: "properties-section-header" },
|
|
10
|
-
React.createElement("div", { className: "properties-section-title" }, props.title),
|
|
11
|
-
React.createElement("div", { className: "properties-section-icon", onClick: () => setIconDirectionUp(!iconDirectionUp) }, iconDirectionUp ? React.createElement(UpOutlined, null) : React.createElement(DownOutlined, null)))),
|
|
12
|
-
React.createElement("div", { className: classnames("prperties-content", {
|
|
13
|
-
show: !iconDirectionUp,
|
|
14
|
-
}) }, props.properties))));
|
|
15
|
-
};
|
|
16
|
-
export default PropertiesSection;
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/PropertiesSection/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,iBAAiB,GAAG,CAAC,KAAsD,EAAE,EAAE;IACpF,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC;QAC1C,KAAK,CAAC,KAAK,IAAI,CACf,6BAAK,SAAS,EAAC,2BAA2B;YACzC,6BAAK,SAAS,EAAC,0BAA0B,IAAE,KAAK,CAAC,KAAK,CAAO;YAC7D,6BAAK,SAAS,EAAC,yBAAyB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,CAAC,eAAe,CAAC,IAC1F,eAAe,CAAC,CAAC,CAAC,oBAAC,UAAU,OAAG,CAAC,CAAC,CAAC,oBAAC,YAAY,OAAG,CAC/C,CACD,CACN;QACD,6BACC,SAAS,EAAE,UAAU,CAAC,mBAAmB,EAAE;gBAC1C,IAAI,EAAE,CAAC,eAAe;aACtB,CAAC,IAED,KAAK,CAAC,UAAU,CACZ,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.properties-section {
|
|
2
|
-
:global {
|
|
3
|
-
.properties-section-header {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
padding-right: 7px;
|
|
8
|
-
|
|
9
|
-
.properties-section-title {
|
|
10
|
-
font-size: 1.22222222em;
|
|
11
|
-
font-weight: 500;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.properties-section-icon {
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.prperties-content {
|
|
20
|
-
&.show {
|
|
21
|
-
display: none;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|