@voplus/morpho-document 1.0.0-dev294 → 1.0.0-dev296
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/changelog.md +4 -0
- package/es/components/DocumentHeader/index.less +1 -0
- package/es/components/FileViewer/PDF/index.js +5 -2
- package/es/components/FileViewer/PDF/index.js.map +1 -1
- package/es/components/TextPropertiesView/index.js +6 -5
- package/es/components/TextPropertiesView/index.js.map +1 -1
- package/es/components/TextQuickViewDialog/index.js +1 -7
- package/es/components/TextQuickViewDialog/index.js.map +1 -1
- package/es/controls/PDFViewer/Toolbar/index.d.ts +2 -0
- package/es/controls/PDFViewer/Toolbar/index.js +1 -1
- package/es/controls/PDFViewer/Toolbar/index.js.map +1 -1
- package/es/modules/unit/components/Members/index.js +1 -1
- package/es/modules/unit/components/Members/index.js.map +1 -1
- package/es/modules/unit/components/UnitItem/index.d.ts +6 -1
- package/es/modules/unit/components/UnitItem/index.js +6 -3
- package/es/modules/unit/components/UnitItem/index.js.map +1 -1
- package/es/modules/unit/components/UnitItem/state.d.ts +2 -0
- package/es/modules/unit/components/UnitItem/state.js.map +1 -1
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.js +2 -19
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.js.map +1 -1
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/index.js +5 -4
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/index.js.map +1 -1
- package/es/pages/Signature/Envelope/EnvelopeRecipientView/index.less +9 -16
- package/es/pages/Signature/Letter/LetterContentView/index.js +14 -7
- package/es/pages/Signature/Letter/LetterContentView/index.js.map +1 -1
- package/es/pages/Signature/Letter/LetterContentView/index.less +22 -0
- package/es/pages/Signature/Letter/LetterItem/index.d.ts +6 -0
- package/es/pages/Signature/Letter/LetterItem/index.js +12 -4
- package/es/pages/Signature/Letter/LetterItem/index.js.map +1 -1
- package/es/pages/Signature/Letter/LetterItem/index.less +1 -0
- package/es/pages/Signature/Letter/LetterList/index.d.ts +6 -0
- package/es/pages/Signature/Letter/LetterList/index.js +16 -2
- package/es/pages/Signature/Letter/LetterList/index.js.map +1 -1
- package/es/pages/VSubmit/VSubmitDefaultView/index.js +5 -3
- package/es/pages/VSubmit/VSubmitDefaultView/index.js.map +1 -1
- package/es/pages/VSubmit/VSubmitDefaultView/index.less +2 -2
- package/es/pages/VSubmit/VSubmitSubmitterView/index.js +1 -1
- package/es/pages/VSubmit/VSubmitSubmitterView/index.js.map +1 -1
- package/es/pages/VSubmit/VSubmitSubmitterView/index.less +2 -2
- package/es/pages/VSubmit/components/DocumentIconList/index.js +4 -4
- package/es/pages/VSubmit/components/DocumentIconList/index.js.map +1 -1
- package/es/pages/VSubmit/components/DocumentIconList/index.less +23 -7
- package/es/pages/VSubmit/components/EmailRecipients/index.js +49 -18
- package/es/pages/VSubmit/components/EmailRecipients/index.js.map +1 -1
- package/es/pages/VSubmit/components/EmailRecipients/index.less +21 -8
- package/es/pages/VSubmit/components/EmailRecipients/state.d.ts +2 -1
- package/es/pages/VSubmit/components/EmailRecipients/state.js +5 -6
- package/es/pages/VSubmit/components/EmailRecipients/state.js.map +1 -1
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.d.ts +2 -0
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.js +8 -7
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.js.map +1 -1
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.less +18 -1
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/state.js +1 -1
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/state.js.map +1 -1
- package/es/pages/VSubmit/components/SubmitSections/index.js +2 -6
- package/es/pages/VSubmit/components/SubmitSections/index.js.map +1 -1
- package/es/pages/VSubmit/components/SubmitSections/index.less +11 -2
- package/package.json +2 -2
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useRenderOnChange } from "@voplus/morpho-ui";
|
|
2
2
|
import { useAutoUpdateListData, useDocumentListEffect, useDocumentStore } from "@voplus/morpho-document-core";
|
|
3
3
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
4
4
|
import React, { useState } from "react";
|
|
5
5
|
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
|
6
6
|
import NewDocumentForm from "../../../../components/NewDocumentForm";
|
|
7
7
|
import SectionItem from "./SectionItem";
|
|
8
|
-
import classnames from "classnames";
|
|
9
8
|
import styles from "./index.less";
|
|
10
9
|
import { useObserver } from "mobx-react-lite";
|
|
11
10
|
const SubmitSections = (props) => {
|
|
@@ -33,10 +32,7 @@ const SubmitSections = (props) => {
|
|
|
33
32
|
sortable: false,
|
|
34
33
|
addAble: readonly ? false : true,
|
|
35
34
|
onAdd: () => setAddAble(!addAble)
|
|
36
|
-
}, moveAfter: moveAfter, renderItem: ({ item, index, connectDragSource }) => (React.createElement(
|
|
37
|
-
"sections-item-card_zero": index === 0
|
|
38
|
-
}) },
|
|
39
|
-
React.createElement(SectionItem, { key: item.id, id: item.id, readonly: readonly, connectDragSource: connectDragSource }))) }))),
|
|
35
|
+
}, moveAfter: moveAfter, renderItem: ({ item, index, connectDragSource }) => (React.createElement(SectionItem, { key: item.id, id: item.id, index: index, readonly: readonly, connectDragSource: connectDragSource })) }))),
|
|
40
36
|
addAble && (React.createElement(NewDocumentForm, { parentId: props.id, type: "document", placeholder: "Enter a title for this section", className: "new-section-form", onCancel: () => setAddAble(false) })))));
|
|
41
37
|
// order by sub task
|
|
42
38
|
async function moveAfter(id, afterId) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/VSubmit/components/SubmitSections/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/VSubmit/components/SubmitSections/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ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AC,EAAE,EAAE,OAAO,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:global {
|
|
7
7
|
.submit-sections-list {
|
|
8
8
|
flex: 1;
|
|
9
|
-
.list-view-header{
|
|
9
|
+
.list-view-header {
|
|
10
10
|
background: #ffffff;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -20,8 +20,17 @@
|
|
|
20
20
|
padding-top: 20px;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
.new-section-form{
|
|
23
|
+
.new-section-form {
|
|
24
24
|
background: #ffffff;
|
|
25
|
+
border-top: 1px solid #f0f0f0;
|
|
26
|
+
.ant-input {
|
|
27
|
+
padding: 4px 0;
|
|
28
|
+
border: none;
|
|
29
|
+
box-shadow: none;
|
|
30
|
+
}
|
|
31
|
+
.detailed {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
25
34
|
}
|
|
26
35
|
}
|
|
27
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voplus/morpho-document",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-dev296",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://voplus.visualstudio.com/morpho-document/_git/morpho-document"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@voplus/morpho-data": "^1.0.0-dev110",
|
|
61
61
|
"@voplus/morpho-document-core": "^1.0.0-dev012",
|
|
62
62
|
"@voplus/morpho-org": "^1.0.0-dev034",
|
|
63
|
-
"@voplus/morpho-text": "^1.0.0-
|
|
63
|
+
"@voplus/morpho-text": "^1.0.0-dev080",
|
|
64
64
|
"@voplus/morpho-ui": "^1.0.0-dev147",
|
|
65
65
|
"react-dnd": "^9.5.1",
|
|
66
66
|
"react-dnd-html5-backend": "^9.5.1"
|