@voplus/morpho-document 5.0.17 → 5.0.19

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.
Files changed (123) hide show
  1. package/es/components/AddDocDropdown/index.less +61 -61
  2. package/es/components/AddFormView/index.less +42 -42
  3. package/es/components/AdvanceSearch/index.less +21 -21
  4. package/es/components/DescriptionDocumentList/index.less +14 -14
  5. package/es/components/DocumentCard/index.less +116 -116
  6. package/es/components/DocumentCardList/index.less +9 -9
  7. package/es/components/DocumentHeader/index.less +157 -157
  8. package/es/components/DocumentItem/index.less +88 -88
  9. package/es/components/DocumentList/index.less +100 -100
  10. package/es/components/DocumentListView/index.less +10 -10
  11. package/es/components/DocumentNotificationDialog/index.less +26 -26
  12. package/es/components/DocumentPanelHeader/index.less +12 -12
  13. package/es/components/DocumentProperties/index.less +15 -15
  14. package/es/components/DocumentPropertiesView/index.less +9 -9
  15. package/es/components/DocumentSelectDialog/index.less +54 -54
  16. package/es/components/DocumentSortableTree/index.less +22 -22
  17. package/es/components/DocumentSortableTree/themes/FileExplorerTheme/node-content-renderer.less +335 -335
  18. package/es/components/DocumentSortableTree/themes/FileExplorerTheme/tree-node-renderer.less +4 -4
  19. package/es/components/DocumentSortableTree/themes/SortableTreeDocumentTheme/node-content-renderer.less +64 -64
  20. package/es/components/DocumentSortableTree/themes/SortableTreeDocumentTheme/tree-node-renderer.less +18 -18
  21. package/es/components/DocumentTabs/index.less +12 -12
  22. package/es/components/DocumentTree/index.less +4 -4
  23. package/es/components/FileViewer/index.less +93 -93
  24. package/es/components/FlexDialog/index.less +27 -27
  25. package/es/components/Icon/index.less +24 -24
  26. package/es/components/Links/index.less +140 -140
  27. package/es/components/NewDocumentForm/index.less +63 -63
  28. package/es/components/NodeQuickView/QuickSubTab/index.less +25 -25
  29. package/es/components/NodeQuickView/index.less +74 -74
  30. package/es/components/PublishModal/index.less +22 -22
  31. package/es/components/QuickAccessPanel/index.less +20 -20
  32. package/es/components/QuickAccessSearch/ObjectItem/index.less +21 -21
  33. package/es/components/QuickAccessSearch/index.less +23 -23
  34. package/es/components/QuickViewDialog/QuickSubTab/index.less +23 -23
  35. package/es/components/QuickViewDialog/index.less +82 -82
  36. package/es/components/SendForm/index.less +48 -48
  37. package/es/components/TagView/index.less +106 -106
  38. package/es/components/TextQuickViewDialog/index.less +7 -7
  39. package/es/components/VersionsModal/index.less +31 -31
  40. package/es/components/ViewFrame/ViewFrameHeader/index.less +16 -16
  41. package/es/components/ViewFrame/index.less +12 -12
  42. package/es/components/WordFieldViewer/index.less +5 -5
  43. package/es/components/WordFields/index.less +9 -9
  44. package/es/components/WordFillView/index.less +13 -13
  45. package/es/components/styles/ScrollBar.less +30 -30
  46. package/es/components/styles/common.less +187 -187
  47. package/es/components/styles/index.less +13 -13
  48. package/es/controls/ChildDocumentSelect/index.less +23 -23
  49. package/es/controls/DataIconBar/index.less +17 -17
  50. package/es/controls/DescriptionEditor/index.less +59 -59
  51. package/es/controls/DocumentLabel/index.less +12 -12
  52. package/es/controls/DocumentMenu/items/CopyReference.js +11 -11
  53. package/es/controls/DocumentReference/index.less +13 -13
  54. package/es/controls/FolderEdit/index.less +39 -39
  55. package/es/controls/MentionState/index.less +8 -8
  56. package/es/controls/PDFViewer/Toolbar/buttons/Zoom/index.less +16 -16
  57. package/es/controls/PDFViewer/Toolbar/index.less +36 -36
  58. package/es/controls/PDFViewer/index.d.ts +2 -1
  59. package/es/controls/PDFViewer/index.js +2 -1
  60. package/es/controls/PDFViewer/index.js.map +1 -1
  61. package/es/controls/PDFViewer/index.less +20 -20
  62. package/es/controls/PropertiesSection/index.less +24 -24
  63. package/es/controls/ReferenceList/index.less +52 -52
  64. package/es/controls/RelatedDocument/index.less +11 -11
  65. package/es/controls/TimeLog/index.less +91 -91
  66. package/es/controls/ToolBar/index.less +76 -76
  67. package/es/controls/data-icons/DescriptionDataIcon/index.less +13 -13
  68. package/es/controls/data-icons/DocumentDataIcon/index.less +11 -11
  69. package/es/controls/data-icons/DocumentPathDataIcon/index.less +17 -17
  70. package/es/controls/data-icons/FlagIcon/index.less +42 -42
  71. package/es/modules/document-register/components/DocumentRegisterItem/index.less +45 -45
  72. package/es/modules/document-register/components/DocumentRegisterList/index.less +15 -15
  73. package/es/modules/document-register/components/DocumentRegisterPropertiesView/index.less +14 -14
  74. package/es/modules/document-register/components/DocumentRegisterQuickViewDialog/index.less +14 -14
  75. package/es/modules/document-register/controls/DocumentRegisterStatusLabel/index.less +35 -35
  76. package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.less +21 -21
  77. package/es/modules/graph/components/GraphViewer/index.less +5 -5
  78. package/es/modules/graph/pages/GraphDefaultView/index.less +17 -17
  79. package/es/modules/page/components/PageItem/index.less +36 -36
  80. package/es/modules/page/components/PageItemHeader/index.less +34 -34
  81. package/es/modules/page/components/PageItems/index.less +79 -79
  82. package/es/modules/page/components/PlusDropDown/index.less +11 -11
  83. package/es/modules/page/views/PageDefaultView/index.less +75 -75
  84. package/es/modules/page/views/PagePrintView/index.less +44 -44
  85. package/es/obsolete/Links/index.less +112 -112
  86. package/es/pages/EmailTemplate/EmailTemplateDefaultView/index.less +39 -39
  87. package/es/pages/EmailTemplate/EmailTemplateForm/index.less +26 -26
  88. package/es/pages/EmailTemplate/EmailTemplateItem/index.js +4 -4
  89. package/es/pages/EmailTemplate/EmailTemplateItem/index.less +18 -18
  90. package/es/pages/EmailTemplate/EmailTemplateItems/index.less +68 -68
  91. package/es/pages/EmailTemplate/EmailTemplatePropertiesView/index.less +13 -13
  92. package/es/pages/Library/LibraryDefaultView/index.less +165 -165
  93. package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.less +57 -57
  94. package/es/pages/Signature/Envelope/EnvelopeRecipientView/index.less +36 -36
  95. package/es/pages/Signature/Envelope/EnvelopeRecipientView/mobile/index.less +42 -42
  96. package/es/pages/Signature/Envelope/EnvelopeRecipientView/pc/index.less +70 -70
  97. package/es/pages/Signature/Envelope/EnvelopeReport/index.less +49 -49
  98. package/es/pages/Signature/Envelope/components/EnvelopeCard/index.less +64 -64
  99. package/es/pages/Signature/Envelope/components/EnvelopeQuickView/index.less +53 -53
  100. package/es/pages/Signature/Envelope/components/PropertiesView/index.less +47 -47
  101. package/es/pages/Signature/Envelope/controls/EnvelopeStatusLabel/index.less +20 -20
  102. package/es/pages/Signature/Envelope/controls/SignaturePercentageDataIcon/index.less +14 -14
  103. package/es/pages/Signature/Letter/LetterContentView/index.less +86 -86
  104. package/es/pages/Signature/Letter/LetterItem/index.less +31 -31
  105. package/es/pages/Signature/Letter/LetterList/index.less +72 -72
  106. package/es/pages/Signature/Letter/LetterViewer/index.less +76 -76
  107. package/es/pages/Signature/SignatureRecipient/index.less +18 -18
  108. package/es/pages/Signature/SignatureTable/index.less +51 -51
  109. package/es/pages/TreeViewPage/index.less +31 -31
  110. package/es/pages/VSubmit/VSubmitDefaultView/index.less +17 -17
  111. package/es/pages/VSubmit/VSubmitSubmitterView/index.less +34 -34
  112. package/es/pages/VSubmit/components/DocumentIcon/index.less +43 -43
  113. package/es/pages/VSubmit/components/DocumentIconList/index.less +85 -85
  114. package/es/pages/VSubmit/components/EmailRecipients/index.less +56 -56
  115. package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.less +16 -16
  116. package/es/pages/VSubmit/components/SubmitSections/SubmitterSectionItem/index.less +17 -17
  117. package/es/pages/VSubmit/components/SubmitSections/index.less +61 -61
  118. package/es/pages/WordFillPage/index.less +12 -12
  119. package/es/style/index.less +13 -13
  120. package/es/style/print.less +18 -18
  121. package/es/views/DocumentTabbedView/index.less +24 -24
  122. package/package.json +66 -67
  123. package/readme.md +9 -9
@@ -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
  }
@@ -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
+ }
@@ -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,67 +1,66 @@
1
- {
2
- "name": "@voplus/morpho-document",
3
- "version": "5.0.17",
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": "5.7.2",
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-pdf": "5.0.9",
48
- "@types/react-signature-canvas": "^1.0.1",
49
- "@types/reactour": "^1.18.1",
50
- "@voplus/morpho-build": "5.x",
51
- "@voplus/morpho-client-test": "5.x",
52
- "@voplus/morpho-storybook": "5.x",
53
- "@voplus/morpho-test": "2.x",
54
- "qrcode.react": "^3.1.0",
55
- "react": "18.x",
56
- "react-dom": "18.x"
57
- },
58
- "peerDependencies": {
59
- "react": "18.x",
60
- "react-dom": "18.x"
61
- },
62
- "sideEffects": [
63
- "*.less",
64
- "*.css",
65
- "./src/**/PDFViewer/index.tsx"
66
- ]
67
- }
1
+ {
2
+ "name": "@voplus/morpho-document",
3
+ "version": "5.0.19",
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
  ```