@voplus/morpho-document 1.0.0-dev282 → 1.0.0-dev289
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 +0 -5
- package/es/components/DocumentDescription/index.js +3 -8
- package/es/components/DocumentDescription/index.js.map +1 -1
- package/es/components/DocumentHeader/index.d.ts +1 -0
- package/es/components/DocumentHeader/index.js +6 -3
- package/es/components/DocumentHeader/index.js.map +1 -1
- package/es/components/DocumentHeader/state.d.ts +2 -0
- package/es/components/DocumentHeader/state.js.map +1 -1
- package/es/components/Links/index.less +111 -111
- package/es/components/QuickViewDialog/index.less +0 -1
- package/es/controls/DataIconBar/index.less +1 -0
- package/es/controls/DescriptionEditor/index.d.ts +2 -4
- package/es/controls/DescriptionEditor/index.js +16 -9
- package/es/controls/DescriptionEditor/index.js.map +1 -1
- package/es/controls/DescriptionEditor/index.less +13 -4
- package/es/controls/DescriptionEditor/state.d.ts +11 -0
- package/es/controls/DescriptionEditor/state.js.map +1 -1
- package/es/controls/DocumentDataIconBar/index.js +2 -3
- package/es/controls/DocumentDataIconBar/index.js.map +1 -1
- package/es/controls/PDFViewer/Toolbar/index.d.ts +1 -2
- package/es/controls/PDFViewer/Toolbar/index.js +2 -2
- package/es/controls/PDFViewer/Toolbar/index.js.map +1 -1
- package/es/controls/data-icons/DescriptionDataIcon/index.d.ts +1 -0
- package/es/controls/data-icons/DescriptionDataIcon/index.js +6 -7
- package/es/controls/data-icons/DescriptionDataIcon/index.js.map +1 -1
- package/es/controls/data-icons/DescriptionDataIcon/index.less +5 -2
- package/es/modules/unit/UnitUIService.d.ts +2 -3
- package/es/modules/unit/UnitUIService.js +1 -5
- package/es/modules/unit/UnitUIService.js.map +1 -1
- package/es/modules/unit/components/ContactUserInfoView/index.d.ts +1 -4
- package/es/modules/unit/components/ContactUserInfoView/index.js +15 -18
- package/es/modules/unit/components/ContactUserInfoView/index.js.map +1 -1
- package/es/modules/unit/components/ContactUserInfoView/index.less +16 -26
- package/es/modules/unit/components/NewUnitForm/index.d.ts +1 -1
- package/es/modules/unit/components/UnitItem/Item.d.ts +0 -1
- package/es/modules/unit/components/UnitItem/Item.js +9 -19
- package/es/modules/unit/components/UnitItem/Item.js.map +1 -1
- package/es/modules/unit/components/UnitItem/index.js +1 -1
- package/es/modules/unit/components/UnitItem/index.js.map +1 -1
- package/es/modules/unit/components/UnitItem/index.less +0 -1
- package/es/modules/unit/components/UnitTabs/index.js +1 -1
- package/es/modules/unit/components/UnitTabs/index.js.map +1 -1
- package/es/modules/unit/data/hooks/index.d.ts +0 -1
- package/es/modules/unit/data/hooks/index.js +0 -1
- package/es/modules/unit/data/hooks/index.js.map +1 -1
- package/es/pages/Library/LibraryDefaultView/Content.js +4 -6
- package/es/pages/Library/LibraryDefaultView/Content.js.map +1 -1
- package/es/pages/Page/PageDefaultView/index.js +4 -5
- package/es/pages/Page/PageDefaultView/index.js.map +1 -1
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.js +1 -1
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.js.map +1 -1
- package/es/pages/Signature/Letter/LetterContentView/index.js +4 -5
- package/es/pages/Signature/Letter/LetterContentView/index.js.map +1 -1
- package/es/pages/Signature/Letter/LetterViewer/index.js +2 -6
- package/es/pages/Signature/Letter/LetterViewer/index.js.map +1 -1
- package/es/pages/VSubmit/VSubmitDefaultView/index.d.ts +0 -1
- package/es/pages/VSubmit/VSubmitDefaultView/index.js +12 -16
- package/es/pages/VSubmit/VSubmitDefaultView/index.js.map +1 -1
- package/es/pages/VSubmit/VSubmitDefaultView/index.less +5 -12
- package/es/pages/VSubmit/VSubmitSubmitterView/index.js +4 -7
- package/es/pages/VSubmit/VSubmitSubmitterView/index.js.map +1 -1
- package/es/pages/VSubmit/VSubmitSubmitterView/index.less +3 -0
- package/es/pages/VSubmit/components/DocumentIcon/index.less +6 -6
- package/es/pages/VSubmit/components/DocumentIconList/index.d.ts +5 -0
- package/es/pages/VSubmit/components/DocumentIconList/index.js +2 -2
- package/es/pages/VSubmit/components/DocumentIconList/index.js.map +1 -1
- package/es/pages/VSubmit/components/EmailRecipients/index.js +22 -7
- package/es/pages/VSubmit/components/EmailRecipients/index.js.map +1 -1
- package/es/pages/VSubmit/components/EmailRecipients/index.less +14 -0
- package/es/pages/VSubmit/components/EmailRecipients/state.d.ts +2 -0
- package/es/pages/VSubmit/components/EmailRecipients/state.js +5 -0
- package/es/pages/VSubmit/components/EmailRecipients/state.js.map +1 -1
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.d.ts +4 -0
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.js +22 -20
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.js.map +1 -1
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/index.less +48 -12
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/state.d.ts +4 -4
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/state.js +6 -6
- package/es/pages/VSubmit/components/SubmitSections/SectionItem/state.js.map +1 -1
- package/es/pages/VSubmit/components/SubmitSections/index.js +14 -7
- package/es/pages/VSubmit/components/SubmitSections/index.js.map +1 -1
- package/es/pages/VSubmit/components/SubmitSections/index.less +0 -11
- package/package.json +5 -4
- package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.d.ts +0 -15
- package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.js +0 -50
- package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.js.map +0 -1
- package/es/modules/unit/components/UnitQuickView/QuickSubTab/index.less +0 -22
- package/es/modules/unit/components/UnitQuickView/index.d.ts +0 -9
- package/es/modules/unit/components/UnitQuickView/index.js +0 -30
- package/es/modules/unit/components/UnitQuickView/index.js.map +0 -1
- package/es/modules/unit/components/UnitQuickView/index.less +0 -63
- package/es/modules/unit/components/UnitQuickView/state.d.ts +0 -8
- package/es/modules/unit/components/UnitQuickView/state.js +0 -26
- package/es/modules/unit/components/UnitQuickView/state.js.map +0 -1
package/changelog.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { useDocument, useDocumentStore } from "@voplus/morpho-document-core";
|
|
3
|
-
import
|
|
4
|
-
import RichTextEditor from "@voplus/morpho-ui/es/controls/RichTextEditor";
|
|
3
|
+
import DescriptionEditor from "../../controls/DescriptionEditor";
|
|
5
4
|
import { Skeleton } from "@voplus/antd";
|
|
6
5
|
import SubDocumentList from "../DocumentList";
|
|
7
|
-
import { faEdit } from "@fortawesome/pro-light-svg-icons";
|
|
8
6
|
import styles from "./index.less";
|
|
9
7
|
import { useObserver } from "mobx-react-lite";
|
|
10
8
|
/** Document PropertiesView tabs 第一页Details*/
|
|
@@ -17,11 +15,8 @@ const DocumentDescription = (props) => {
|
|
|
17
15
|
setReload(props.readonly ? true : false);
|
|
18
16
|
}, [props.readonly]);
|
|
19
17
|
return useObserver(() => (React.createElement("div", { className: styles["sub-task-tab-view"] },
|
|
20
|
-
React.createElement("div", { className: "task-description" },
|
|
21
|
-
React.createElement(Skeleton, { loading: document.loading, active: true },
|
|
22
|
-
React.createElement(RichTextEditor, { readOnly: document.readonly, editable: false, defaultValue: id, content: document.description || "", placeholder: document.readonly ? ("No description") : (React.createElement("span", null,
|
|
23
|
-
React.createElement(FAIcon, { icon: faEdit }),
|
|
24
|
-
"Add Description")), onSave: v => documents.edit(document.id, { Description: v }) }))),
|
|
18
|
+
document.loading ? (React.createElement("div", { className: "task-description" },
|
|
19
|
+
React.createElement(Skeleton, { loading: document.loading, active: true }))) : (React.createElement(DescriptionEditor, { id: id, description: document.description, readonly: document.readonly, padding: "0 0 0.75rem 0" })),
|
|
25
20
|
React.createElement(SubDocumentList, { id: id, parentName: document.name, reload: document.readonly, multiple: true, addAble: !document.readonly }))));
|
|
26
21
|
};
|
|
27
22
|
export default DocumentDescription;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/DocumentDescription/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAE7E,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/DocumentDescription/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAE7E,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,eAAe,MAAM,iBAAiB,CAAC;AAG9C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,6CAA6C;AAC7C,MAAM,mBAAmB,GAAG,CAAC,KAG5B,EAAE,EAAE;IACJ,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IACrC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ;IACrD,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAErD,SAAS,CAAC,GAAG,EAAE;QACd,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAErB,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CACxB,6BAAK,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;QACzC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CACnB,6BAAK,SAAS,EAAC,kBAAkB;YAChC,oBAAC,QAAQ,IAAC,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,SAAG,CACzC,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,iBAAiB,IACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,QAAQ,CAAC,WAAW,EACjC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAC3B,OAAO,EAAC,eAAe,GACtB,CACF;QACD,oBAAC,eAAe,IACf,EAAE,EAAE,EAAE,EACN,UAAU,EAAE,QAAQ,CAAC,IAAI,EACzB,MAAM,EAAE,QAAQ,CAAC,QAAQ,EACzB,QAAQ,QACR,OAAO,EAAE,CAAC,QAAQ,CAAC,QAAQ,GAC1B,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,mBAAmB,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { State } from "./state";
|
|
|
4
4
|
import { Input, Skeleton } from "@voplus/antd";
|
|
5
5
|
import React, { useEffect, useState } from "react";
|
|
6
6
|
import { useDocument, useDocumentStore } from "@voplus/morpho-document-core";
|
|
7
|
+
import { DescriptionDataIcon } from "../../controls/data-icons";
|
|
7
8
|
import DocumentDataIconBar from "../../controls/DocumentDataIconBar";
|
|
8
9
|
import DocumentQuickViewDialog from "../DocumentQuickViewDialog";
|
|
9
10
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
@@ -17,7 +18,7 @@ import { useDocumentListContext } from "../../data/contexts/DocumentListContext"
|
|
|
17
18
|
import { useMetaStore } from "../../data";
|
|
18
19
|
import { useObserver } from "mobx-react-lite";
|
|
19
20
|
const DocumentHeader = (props) => {
|
|
20
|
-
const { id, pre, preVisible, tagsVisible, flagVisible, statusVisible, size, quickDataBar, quickDataBarAlign, tools, quickVisible, quickDataBarVisible, editMode, skeletonVisible, className, itemHover, onChange } = props;
|
|
21
|
+
const { id, pre, preVisible, tagsVisible, flagVisible, statusVisible, size, quickDataBar, quickDataBarAlign, tools, quickVisible, quickDataBarVisible, editMode, skeletonVisible, descriptionVisible, className, itemHover, onChange } = props;
|
|
21
22
|
const context = useDocumentListContext();
|
|
22
23
|
const documentStore = useDocumentStore();
|
|
23
24
|
const document = useDocument(id, {
|
|
@@ -45,7 +46,8 @@ const DocumentHeader = (props) => {
|
|
|
45
46
|
flagVisible && React.createElement(FlagIcon, { id: id, flag: document.flag, editable: !document.readonly }),
|
|
46
47
|
statusVisible && document.status === "Draft" && (React.createElement("span", { className: "file-draft" }, "draft")),
|
|
47
48
|
statusVisible && document.status === "Readonly" && (React.createElement(FAIcon, { className: "file-lock", icon: faLock })),
|
|
48
|
-
tagsVisible && React.createElement(TagView, { id: id, tags: document.tags, editable: !document.readonly })
|
|
49
|
+
tagsVisible && React.createElement(TagView, { id: id, tags: document.tags, editable: !document.readonly }),
|
|
50
|
+
descriptionVisible && React.createElement(DescriptionDataIcon, { id: props.id, className: "file-lock" }))))));
|
|
49
51
|
const QuickDataBar = () => quickDataBarVisible === true ? (React.createElement("div", { className: "quick-data-bar" }, quickDataBar || React.createElement(DocumentDataIconBar, { id: id }))) : null;
|
|
50
52
|
const headerClassName = {};
|
|
51
53
|
headerClassName[`document-header-${size}`] = size !== "normal";
|
|
@@ -113,7 +115,8 @@ DocumentHeader.defaultProps = {
|
|
|
113
115
|
statusVisible: true,
|
|
114
116
|
skeletonVisible: true,
|
|
115
117
|
quickDataBarVisible: true,
|
|
116
|
-
toolsVisible: true
|
|
118
|
+
toolsVisible: true,
|
|
119
|
+
descriptionVisible: true
|
|
117
120
|
};
|
|
118
121
|
export default DocumentHeader;
|
|
119
122
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/DocumentHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CA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AAC,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;YAC3B,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;SACzB;aAAM;YACN,eAAe,EAAE,CAAC;SAClB;IACF,CAAC;AACF,CAAC,CAAC;AACF,cAAc,CAAC,YAAY,GAAG;IAC7B,eAAe,EAAE,SAAS;IAC1B,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,IAAI;IACjB,IAAI,EAAE,QAAQ;IACd,iBAAiB,EAAE,OAAO;IAC1B,YAAY,EAAE,IAAI;IAClB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,YAAY,EAAE,IAAI;IAClB,kBAAkB,EAAE,IAAI;CACxB,CAAC;AACF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/DocumentHeader/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/DocumentHeader/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AA4DpD,MAAM,OAAO,KAAK;IAajB,YAA2B,KAAoB;QAApB,UAAK,GAAL,KAAK,CAAe;QAX/C,uBAAuB;QACJ,SAAI,GAAG,EAAE,CAAC;QAC7B,2BAA2B;QACR,gBAAW,GAAG,KAAK,CAAC;QACvC,2BAA2B;QACR,qBAAgB,GAAG,KAAK,CAAC;QAC5C,2CAA2C;QACxB,YAAO,GAAG,KAAK,CAAC;QACnC,2BAA2B;QACR,YAAO,GAAG,KAAK,CAAC;QAInC,kBAAkB;QAEX,WAAM,GAAG,GAAG,EAAE;YACpB,6BAA6B;QAC9B,CAAC,C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ction: column;
|
|
5
|
-
height: 100%;
|
|
6
|
-
:global {
|
|
7
|
-
.reference-header {
|
|
8
|
-
display: flex;
|
|
9
|
-
margin: 5px 20px 0 20px;
|
|
10
|
-
.multiple-remove {
|
|
11
|
-
font-weight: 600;
|
|
12
|
-
color: #000;
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
.ant-btn {
|
|
15
|
-
padding: 0 10px 0 0;
|
|
16
|
-
font-size: 16px;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
.multiple-remove-btn {
|
|
20
|
-
.ant-btn {
|
|
21
|
-
padding: 0 10px;
|
|
22
|
-
font-style: italic;
|
|
23
|
-
}
|
|
24
|
-
.del-btn {
|
|
25
|
-
color: #ff4d4f;
|
|
26
|
-
&:hover {
|
|
27
|
-
color: #ff7875;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.cancel-btn {
|
|
31
|
-
color: #666;
|
|
32
|
-
&:hover {
|
|
33
|
-
color: @primary-color;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.plus-icon {
|
|
38
|
-
display: inline-block;
|
|
39
|
-
padding: 4px;
|
|
40
|
-
margin-left: 10px;
|
|
41
|
-
font-size: 13px;
|
|
42
|
-
line-height: 1px;
|
|
43
|
-
background: #1abc9c;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
.reference-view-page {
|
|
48
|
-
display: block;
|
|
49
|
-
}
|
|
50
|
-
.reference-item {
|
|
51
|
-
display: flex;
|
|
52
|
-
position: relative;
|
|
53
|
-
justify-content: space-between;
|
|
54
|
-
align-items: center;
|
|
55
|
-
padding: 5px 20px;
|
|
56
|
-
&:hover {
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
.reference-item-content {
|
|
59
|
-
opacity: 0.4;
|
|
60
|
-
}
|
|
61
|
-
.reference-status-none {
|
|
62
|
-
display: none;
|
|
63
|
-
}
|
|
64
|
-
.hover-operate-icon {
|
|
65
|
-
display: block;
|
|
66
|
-
opacity: 1;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
.reference-item-content {
|
|
70
|
-
flex: 1;
|
|
71
|
-
color: #000;
|
|
72
|
-
font-weight: 500;
|
|
73
|
-
.reference-content {
|
|
74
|
-
display: flex;
|
|
75
|
-
flex: 1;
|
|
76
|
-
.type-icon {
|
|
77
|
-
font-size: 15px;
|
|
78
|
-
padding-right: 10px;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
.task-item-name.task-item-name_done {
|
|
82
|
-
color: #a8a8a8;
|
|
83
|
-
}
|
|
84
|
-
.task-control {
|
|
85
|
-
display: flex;
|
|
86
|
-
align-items: center;
|
|
87
|
-
padding: 5px 0;
|
|
88
|
-
font-size: 13px;
|
|
89
|
-
color: #444;
|
|
90
|
-
font-weight: normal;
|
|
91
|
-
> span + span {
|
|
92
|
-
margin-left: 15px;
|
|
93
|
-
}
|
|
94
|
-
.svg-inline--fa {
|
|
95
|
-
margin-right: 5px;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.hover-operate-icon {
|
|
101
|
-
display: none;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
.ant-empty {
|
|
105
|
-
font-size: 12px;
|
|
106
|
-
.ant-empty-image {
|
|
107
|
-
height: 35px;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
1
|
+
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
+
.reference-view {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
height: 100%;
|
|
6
|
+
:global {
|
|
7
|
+
.reference-header {
|
|
8
|
+
display: flex;
|
|
9
|
+
margin: 5px 20px 0 20px;
|
|
10
|
+
.multiple-remove {
|
|
11
|
+
font-weight: 600;
|
|
12
|
+
color: #000;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
.ant-btn {
|
|
15
|
+
padding: 0 10px 0 0;
|
|
16
|
+
font-size: 16px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.multiple-remove-btn {
|
|
20
|
+
.ant-btn {
|
|
21
|
+
padding: 0 10px;
|
|
22
|
+
font-style: italic;
|
|
23
|
+
}
|
|
24
|
+
.del-btn {
|
|
25
|
+
color: #ff4d4f;
|
|
26
|
+
&:hover {
|
|
27
|
+
color: #ff7875;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.cancel-btn {
|
|
31
|
+
color: #666;
|
|
32
|
+
&:hover {
|
|
33
|
+
color: @primary-color;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.plus-icon {
|
|
38
|
+
display: inline-block;
|
|
39
|
+
padding: 4px;
|
|
40
|
+
margin-left: 10px;
|
|
41
|
+
font-size: 13px;
|
|
42
|
+
line-height: 1px;
|
|
43
|
+
background: #1abc9c;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.reference-view-page {
|
|
48
|
+
display: block;
|
|
49
|
+
}
|
|
50
|
+
.reference-item {
|
|
51
|
+
display: flex;
|
|
52
|
+
position: relative;
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
align-items: center;
|
|
55
|
+
padding: 5px 20px;
|
|
56
|
+
&:hover {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
.reference-item-content {
|
|
59
|
+
opacity: 0.4;
|
|
60
|
+
}
|
|
61
|
+
.reference-status-none {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
.hover-operate-icon {
|
|
65
|
+
display: block;
|
|
66
|
+
opacity: 1;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
.reference-item-content {
|
|
70
|
+
flex: 1;
|
|
71
|
+
color: #000;
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
.reference-content {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex: 1;
|
|
76
|
+
.type-icon {
|
|
77
|
+
font-size: 15px;
|
|
78
|
+
padding-right: 10px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.task-item-name.task-item-name_done {
|
|
82
|
+
color: #a8a8a8;
|
|
83
|
+
}
|
|
84
|
+
.task-control {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
padding: 5px 0;
|
|
88
|
+
font-size: 13px;
|
|
89
|
+
color: #444;
|
|
90
|
+
font-weight: normal;
|
|
91
|
+
> span + span {
|
|
92
|
+
margin-left: 15px;
|
|
93
|
+
}
|
|
94
|
+
.svg-inline--fa {
|
|
95
|
+
margin-right: 5px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.hover-operate-icon {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
.ant-empty {
|
|
105
|
+
font-size: 12px;
|
|
106
|
+
.ant-empty-image {
|
|
107
|
+
height: 35px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "./index.less";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
description?: string;
|
|
6
|
-
}) => JSX.Element;
|
|
3
|
+
import { DescriptionEditorProps } from "./state";
|
|
4
|
+
declare const DescriptionEditor: (props: DescriptionEditorProps) => JSX.Element;
|
|
7
5
|
export default DescriptionEditor;
|
|
@@ -1,27 +1,34 @@
|
|
|
1
1
|
import "./index.less";
|
|
2
|
+
import { State } from "./state";
|
|
2
3
|
import React, { useEffect, useState } from "react";
|
|
3
4
|
import { Button } from "@voplus/antd";
|
|
4
5
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
5
6
|
import ProseMirror from "@voplus/morpho-text/es/controls/ProseMirror";
|
|
6
|
-
import { State } from "./state";
|
|
7
|
-
import classnames from "classnames";
|
|
8
7
|
import { faCommentAltLines } from "@fortawesome/pro-light-svg-icons";
|
|
9
8
|
import { useDocumentStore } from "@voplus/morpho-document-core";
|
|
10
9
|
import { useObserver } from "mobx-react-lite";
|
|
11
10
|
const DescriptionEditor = (props) => {
|
|
12
|
-
const { id, description } = props;
|
|
11
|
+
const { id, description, readonly, padding } = props;
|
|
13
12
|
const [state] = useState(new State());
|
|
14
13
|
const documentStore = useDocumentStore();
|
|
15
14
|
useEffect(() => {
|
|
16
15
|
state.description = description || "";
|
|
17
16
|
}, [description]);
|
|
18
|
-
return useObserver(() => (React.createElement("div", { className: "description-editor" },
|
|
19
|
-
!state.editable &&
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
return useObserver(() => (React.createElement("div", { className: "description-editor", style: { padding: padding } },
|
|
18
|
+
!state.editable &&
|
|
19
|
+
!description &&
|
|
20
|
+
(readonly ? (
|
|
21
|
+
// No description && readonly
|
|
22
|
+
React.createElement("div", { className: "description-editor-header" },
|
|
23
|
+
React.createElement(FAIcon, { icon: faCommentAltLines }),
|
|
24
|
+
" No Description")) : (
|
|
25
|
+
// No description && !readonly && !state.editable
|
|
26
|
+
React.createElement("div", { className: "description-editor-header", onClick: () => (state.editable = true) },
|
|
27
|
+
React.createElement(FAIcon, { icon: faCommentAltLines }),
|
|
28
|
+
" Add Description"))),
|
|
29
|
+
React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, defaultHtml: description || "", readonly: !state.editable || readonly, className: state.editable ? "description-editor-proseMirror" : "description-readonly-proseMirror", onClick: () => (state.editable = !readonly), onChange: opt => (state.description =
|
|
23
30
|
opt.editor.dom.innerHTML === "<p><br></p>" ? "" : opt.editor.dom.innerHTML) }),
|
|
24
|
-
state.editable && (React.createElement("div", { className: "description-editor-footer" },
|
|
31
|
+
state.editable && !readonly && (React.createElement("div", { className: "description-editor-footer" },
|
|
25
32
|
React.createElement(Button, { type: "default", onClick: () => (state.editable = false) }, "Cancel"),
|
|
26
33
|
React.createElement(Button, { type: "primary", loading: state.loading, onClick: save }, "Save"))))));
|
|
27
34
|
async function save() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/DescriptionEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/DescriptionEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAA0B,KAAK,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,iBAAiB,GAAG,CAAC,KAA6B,EAAE,EAAE;IAC3D,MAAM,EAAE,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAErD,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,M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AAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,GAE5E;QACD,KAAK,CAAC,QAAQ,IAAI,CAAC,QAAQ,IAAI,CAC/B,6BAAK,SAAS,EAAC,2BAA2B;YACzC,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,aAErD;YACT,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,WAEnD,CACJ,CACN,CACI,CACN,CAAC,CAAC;IACH,KAAK,UAAU,IAAI;QAClB,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,MAAM,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC;QACjE,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;QACtB,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
:global {
|
|
2
2
|
.description-editor {
|
|
3
|
-
padding:
|
|
4
|
-
.
|
|
5
|
-
padding: 0;
|
|
3
|
+
padding: 0.75rem 0;
|
|
4
|
+
.description-editor-header {
|
|
5
|
+
padding: 0 1.25rem;
|
|
6
|
+
}
|
|
7
|
+
.description-readonly-proseMirror {
|
|
8
|
+
.ProseMirror-container {
|
|
9
|
+
max-height: 10rem;
|
|
10
|
+
.ProseMirror {
|
|
11
|
+
padding: 0 1.25rem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
6
14
|
}
|
|
7
15
|
.description-editor-proseMirror {
|
|
8
16
|
height: 12rem !important;
|
|
17
|
+
padding: 0 1.25rem;
|
|
9
18
|
.ProseMirror {
|
|
10
19
|
padding: 1rem 1.25rem;
|
|
11
20
|
}
|
|
12
21
|
}
|
|
13
22
|
.description-editor-footer {
|
|
14
|
-
padding
|
|
23
|
+
padding: 0.75rem 1.25rem 0 1.25rem;
|
|
15
24
|
text-align: right;
|
|
16
25
|
.ant-btn {
|
|
17
26
|
margin-left: 10px;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
+
export declare type DescriptionEditorProps = {
|
|
2
|
+
/** id of document */
|
|
3
|
+
id: string;
|
|
4
|
+
/** description of document */
|
|
5
|
+
description?: string;
|
|
6
|
+
/** readonly */
|
|
7
|
+
readonly?: boolean;
|
|
8
|
+
/** padding of 'description-editor' */
|
|
9
|
+
padding?: string;
|
|
10
|
+
};
|
|
1
11
|
export declare class State {
|
|
12
|
+
props: DescriptionEditorProps;
|
|
2
13
|
/** description of document */
|
|
3
14
|
description: string;
|
|
4
15
|
/** editable of ProseMirror */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/controls/DescriptionEditor/state.ts"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/controls/DescriptionEditor/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAY,UAAU,EAAE,MAAM,MAAM,CAAC;AAY5C,MAAM,OAAO,KAAK;IAAlB;QAEC,8BAA8B;QACX,gBAAW,GAAG,EAAE,CAAC;QACpC,8BAA8B;QACX,aAAQ,GAAG,KAAK,CAAC;QACpC,sBAAsB;QACH,YAAO,GAAG,KAAK,CAAC;IACpC,CAAC;CAAA;AALY;IAAX,UAAU;0CAAyB;AAExB;IAAX,UAAU;uCAAyB;AAExB;IAAX,UAAU;sCAAwB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommentDataIcon, DateQuickIcon,
|
|
1
|
+
import { CommentDataIcon, DateQuickIcon, DocumentDataIcon, UserQuickIcon } from "../data-icons";
|
|
2
2
|
import DataIconBar from "../DataIconBar";
|
|
3
3
|
import React from "react";
|
|
4
4
|
const DocumentDataIconBar = (props) => {
|
|
@@ -7,8 +7,7 @@ const DocumentDataIconBar = (props) => {
|
|
|
7
7
|
React.createElement(DateQuickIcon, { id: id }),
|
|
8
8
|
React.createElement(DocumentDataIcon, { id: id }),
|
|
9
9
|
React.createElement(CommentDataIcon, { id: id }),
|
|
10
|
-
React.createElement(UserQuickIcon, { id: id })
|
|
11
|
-
React.createElement(DescriptionDataIcon, { id: id })));
|
|
10
|
+
React.createElement(UserQuickIcon, { id: id })));
|
|
12
11
|
};
|
|
13
12
|
export default DocumentDataIconBar;
|
|
14
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/DocumentDataIconBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/DocumentDataIconBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEhG,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,mBAAmB,GAAG,CAAC,KAO5B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IACvC,OAAO,CACN,oBAAC,WAAW,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO;QAC9C,oBAAC,aAAa,IAAC,EAAE,EAAE,EAAE,GAAI;QACzB,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI;QAC5B,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI;QAC3B,oBAAC,aAAa,IAAC,EAAE,EAAE,EAAE,GAAI,CACZ,CACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -8,10 +8,10 @@ const Toolbar = (props) => {
|
|
|
8
8
|
const context = usePDFViewerContext();
|
|
9
9
|
const element = useRef(null);
|
|
10
10
|
useIsStickyActive({ stickyOn: props.sticky, element });
|
|
11
|
-
return (React.createElement("div", { className: classnames("pdf-viewer-toolbar", { sticky: props.sticky }), ref: element, style: { textAlign: "center" } },
|
|
11
|
+
return (React.createElement("div", { className: classnames("pdf-viewer-toolbar", { sticky: props.sticky }), ref: element, style: { textAlign: "center" } },
|
|
12
12
|
React.createElement(ZoomOut, null),
|
|
13
13
|
React.createElement(Zoom, null),
|
|
14
|
-
React.createElement(ZoomIn, null)))
|
|
14
|
+
React.createElement(ZoomIn, null)));
|
|
15
15
|
};
|
|
16
16
|
Toolbar.defaultProps = {
|
|
17
17
|
sticky: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/PDFViewer/Toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/PDFViewer/Toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAElD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAM/C,MAAM,OAAO,GAAG,CAAC,KAAmB,EAAE,EAAE;IACvC,MAAM,OAAO,GAAG,mBAAmB,EAAE,CAAC;IACtC,MAAM,OAAO,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAE7C,iBAAiB,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAEvD,OAAO,CACN,6BACC,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EACrE,GAAG,EAAE,OAAO,EACZ,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE;QAE9B,oBAAC,OAAO,OAAG;QACX,oBAAC,IAAI,OAAG;QACR,oBAAC,MAAM,OAAG,CACL,CACN,CAAC;AACH,CAAC,CAAC;AAEF,OAAO,CAAC,YAAY,GAAG;IACtB,MAAM,EAAE,IAAI;CACZ,CAAC;AACF,eAAe,OAAO,CAAC"}
|
|
@@ -2,18 +2,17 @@ import "./index.less";
|
|
|
2
2
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
3
3
|
import { Popover } from "@voplus/antd";
|
|
4
4
|
import React from "react";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import Viewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
|
|
6
|
+
import classnames from "classnames";
|
|
7
7
|
import { faCommentAltLines } from "@fortawesome/pro-light-svg-icons";
|
|
8
8
|
import { useDocument } from "@voplus/morpho-document-core";
|
|
9
9
|
import { useObserver } from "mobx-react-lite";
|
|
10
10
|
const DescriptionDataIcon = (props) => {
|
|
11
|
-
const { id } = props;
|
|
11
|
+
const { id, className } = props;
|
|
12
12
|
const document = useDocument(id);
|
|
13
|
-
return useObserver(() => (React.createElement(React.Fragment, null, document.description ? (React.createElement(Popover, { placement: "bottom", title: "Description", overlayClassName: "description-data-icon_popover", content: React.createElement(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
React.createElement(FAIcon, { icon: faCommentAltLines })))) : null)));
|
|
13
|
+
return useObserver(() => (React.createElement(React.Fragment, null, document.description ? (React.createElement(Popover, { placement: "bottom", title: "Description", overlayClassName: "description-data-icon_popover", content: React.createElement(Viewer, { html: document.description }) },
|
|
14
|
+
React.createElement("span", { className: classnames("data-icon", className) },
|
|
15
|
+
React.createElement(FAIcon, { icon: faCommentAltLines, style: { marginRight: 0 } })))) : null)));
|
|
17
16
|
};
|
|
18
17
|
export default DescriptionDataIcon;
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/data-icons/DescriptionDataIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/data-icons/DescriptionDataIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,mBAAmB,GAAG,CAAC,KAAyC,EAAE,EAAE;IACzE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CACxB,oBAA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