@voplus/morpho-document 6.1.7 → 6.1.8
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/DocumentBreadCrumbsHeader/index.d.ts +1 -1
- package/es/components/DocumentBreadCrumbsPath/index.d.ts +6 -0
- package/es/components/DocumentBreadCrumbsPath/index.js +20 -0
- package/es/components/DocumentBreadCrumbsPath/index.js.map +1 -0
- package/es/components/DocumentCardList/index.d.ts +2 -2
- package/es/components/DocumentList/index.d.ts +11 -11
- package/es/components/DocumentListCard/index.d.ts +8 -8
- package/es/components/DocumentSelectDialog/index.d.ts +5 -5
- package/es/components/DocumentSortableTree/SortableTreeContext.d.ts +0 -1
- package/es/components/DocumentTabs/index.d.ts +7 -7
- package/es/components/DocumentTree/index.d.ts +2 -2
- package/es/components/FileViewer/FileViewer.d.ts +2 -2
- package/es/components/Links/NewLinkType.d.ts +2 -2
- package/es/components/NewDocumentForm/NewDocumentFormDialog.d.ts +4 -4
- package/es/components/NewDocumentForm/index.d.ts +8 -8
- package/es/components/PasteListInDocument/index.d.ts +3 -3
- package/es/components/SendForm/index.d.ts +7 -7
- package/es/components/TextDefaultView/index.js +11 -20
- package/es/components/TextDefaultView/index.js.map +1 -1
- package/es/components/ViewFrame/index.d.ts +6 -6
- package/es/components/WordFillView/WordFillContext.d.ts +0 -1
- package/es/controls/ChildDocumentSelect/Item.d.ts +2 -2
- package/es/controls/ChildDocumentSelect/index.d.ts +6 -6
- package/es/controls/DocumentDataIconBar/index.d.ts +4 -4
- package/es/controls/DocumentLabel/index.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Access.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Archive.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Copy.d.ts +2 -2
- package/es/controls/DocumentMenu/items/CopyReference.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Delete.d.ts +4 -4
- package/es/controls/DocumentMenu/items/DownloadFiles.d.ts +2 -2
- package/es/controls/DocumentMenu/items/DownloadLetter.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Duplicate.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Lock.d.ts +3 -3
- package/es/controls/DocumentMenu/items/Notifications.d.ts +2 -2
- package/es/controls/DocumentMenu/items/OpenInBrowser.d.ts +2 -2
- package/es/controls/DocumentMenu/items/OpenReferenceView.d.ts +2 -2
- package/es/controls/DocumentMenu/items/OpenWordFillPage.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Pin.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Print.d.ts +3 -3
- package/es/controls/DocumentMenu/items/PrintActivities.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Publish.d.ts +4 -4
- package/es/controls/DocumentMenu/items/PublishLock.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Revert.d.ts +2 -2
- package/es/controls/DocumentMenu/items/Unlock.d.ts +3 -3
- package/es/controls/DocumentMenu/items/Unpin.d.ts +2 -2
- package/es/controls/DocumentStatusLabel/index.d.ts +4 -4
- package/es/controls/ToolBar/buttons/Delete.d.ts +3 -3
- package/es/controls/ToolBar/buttons/Download.d.ts +4 -4
- package/es/controls/ToolBar/buttons/Edit.d.ts +3 -3
- package/es/controls/ToolBar/buttons/Open.d.ts +4 -4
- package/es/controls/ToolBar/buttons/UpLevel.d.ts +3 -3
- package/es/controls/data-icons/FlagIcon/index.d.ts +6 -6
- package/es/data/DocumentMetaStore.d.ts +0 -1
- package/es/data/contexts/DocumentListContext/index.d.ts +0 -1
- package/es/data/message-template/metas.d.ts +0 -1
- package/es/data/metas/ContainerMeta.d.ts +0 -1
- package/es/data/metas/DocumentRegisterMeta.d.ts +0 -1
- package/es/data/metas/FileTypeMeta.d.ts +0 -1
- package/es/data/metas/GraphMeta.d.ts +0 -1
- package/es/data/metas/LibraryMeta.d.ts +0 -1
- package/es/data/metas/PageMeta.d.ts +0 -1
- package/es/data/metas/RegisteredDocumentMeta.d.ts +0 -1
- package/es/data/metas/ShortcutMeta.d.ts +0 -1
- package/es/data/metas/SignEnvelopeMeta.d.ts +0 -1
- package/es/data/metas/TextMeta.d.ts +0 -1
- package/es/modules/document-register/controls/DocumentRegisterStatusLabel/index.d.ts +1 -1
- package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.js +20 -29
- package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.js.map +1 -1
- package/es/modules/graph/control/GraphMenu/item/OpenEditor.d.ts +2 -2
- package/es/modules/graph/pages/GraphDefaultView/index.js +10 -19
- package/es/modules/graph/pages/GraphDefaultView/index.js.map +1 -1
- package/es/modules/message-template/components/CodeMirror/index.d.ts +3 -3
- package/es/modules/message-template/components/MessageTemplateSelect/index.d.ts +4 -4
- package/es/modules/message-template/controls/MessageTemplateMenu/items/SendPreviewEmail.d.ts +2 -2
- package/es/modules/message-template/pages/MessageTemplateDefaultView/index.js +10 -19
- package/es/modules/message-template/pages/MessageTemplateDefaultView/index.js.map +1 -1
- package/es/modules/page/components/PageItemHeader/index.d.ts +3 -3
- package/es/modules/page/data/PageContext.d.ts +0 -1
- package/es/modules/page/views/PageDefaultView/index.js +16 -25
- package/es/modules/page/views/PageDefaultView/index.js.map +1 -1
- package/es/modules/quick-access/AdvanceFilterForm/index.d.ts +2 -2
- package/es/modules/quick-access/GeneralFilterForm/index.d.ts +2 -2
- package/es/modules/quick-access/QuickAccessPage/QuickAccessContext.d.ts +0 -1
- package/es/modules/registered-document/RegisteredDocumentContext.d.ts +1 -1
- package/es/modules/registered-document/components/RegisteredDocumentListHeader/index.d.ts +4 -4
- package/es/modules/registered-document/controls/RegisteredDocumentStatusLabel/index.d.ts +1 -1
- package/es/modules/registered-document/pages/RegisteredDocumentDefaultView/index.js +10 -19
- package/es/modules/registered-document/pages/RegisteredDocumentDefaultView/index.js.map +1 -1
- package/es/modules/tenant-service/components/StringDynamicField/index.d.ts +1 -1
- package/es/modules/tenant-service/components/TenantServiceList/index.d.ts +4 -4
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.d.ts +4 -4
- package/es/obsolete/EmailTemplate/CodeMirror/index.d.ts +3 -3
- package/es/obsolete/EmailTemplate/EmailTemplateSelect/index.d.ts +2 -2
- package/es/pages/FileContentPage/index.js +5 -10
- package/es/pages/FileContentPage/index.js.map +1 -1
- package/es/pages/Library/LibraryDefaultView/index.js +30 -36
- package/es/pages/Library/LibraryDefaultView/index.js.map +1 -1
- package/es/pages/Library/components/DocumentTree/index.d.ts +2 -2
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.js +16 -24
- package/es/pages/Signature/Envelope/EnvelopeDefaultView/index.js.map +1 -1
- package/es/pages/Signature/Envelope/components/ReasonDialog/index.d.ts +1 -1
- package/es/pages/Signature/Envelope/components/RemindersDialog/index.d.ts +1 -1
- package/es/pages/Signature/Envelope/components/RemoveSignatureDialog/index.d.ts +2 -2
- package/es/pages/Signature/Envelope/components/ReviewDialog/index.d.ts +1 -1
- package/es/pages/Signature/Envelope/components/ReviewDialog/state.d.ts +2 -2
- package/es/pages/Signature/Envelope/components/SendDialog/index.d.ts +3 -3
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Cancel.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Complete.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Reopen.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendInvite.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReminders.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReview.d.ts +2 -2
- package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/ViewSignatures.d.ts +2 -2
- package/es/pages/Signature/Letter/LetterItem/index.d.ts +4 -4
- package/es/pages/Signature/Letter/LetterList/index.d.ts +6 -6
- package/es/pages/Signature/Letter/LetterRecipientItem/index.d.ts +2 -2
- package/es/pages/Signature/Letter/LetterViewer/index.d.ts +1 -1
- package/es/pages/Signature/SignatureTable/RemoveSignatureDialog.d.ts +2 -2
- package/es/pages/Signature/SigningReminderDialog/index.d.ts +1 -1
- package/es/pages/Signature/data/EnvelopeContext.d.ts +0 -1
- package/es/pages/VSubmit/components/EmailRecipients/index.d.ts +3 -3
- package/es/pages/WordFillPage/index.js +10 -18
- package/es/pages/WordFillPage/index.js.map +1 -1
- package/es/views/ExplorerView/ExplorerView2.js +3 -8
- package/es/views/ExplorerView/ExplorerView2.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const OpenWordFillPage: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default OpenWordFillPage;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Pin: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Pin;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Print: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** url of open new page eg:`meeting/print/${id}` */
|
|
6
|
-
url?: string
|
|
6
|
+
url?: string;
|
|
7
7
|
/** function of Click */
|
|
8
|
-
action?: (
|
|
8
|
+
action?: (context?: any) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default Print;
|
|
@@ -2,9 +2,9 @@ import React from "react";
|
|
|
2
2
|
declare const PrintActivities: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** disabled Button */
|
|
5
|
-
disabled?: boolean
|
|
5
|
+
disabled?: boolean;
|
|
6
6
|
/** function of Click */
|
|
7
|
-
action?: (
|
|
7
|
+
action?: (context?: any) => void;
|
|
8
8
|
}): React.JSX.Element;
|
|
9
9
|
defaultProps: {
|
|
10
10
|
size: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Publish: (props: {
|
|
3
|
-
style?: React.CSSProperties
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
4
|
/** disabled Button */
|
|
5
|
-
disabled?: boolean
|
|
5
|
+
disabled?: boolean;
|
|
6
6
|
/** 需不需要查 system */
|
|
7
|
-
isCheckSystem?: boolean
|
|
7
|
+
isCheckSystem?: boolean;
|
|
8
8
|
/** function of Click */
|
|
9
|
-
action?: (
|
|
9
|
+
action?: (context?: any) => void;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
export default Publish;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const PublishLock: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default PublishLock;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Revert: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Revert;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Unlock: (props: {
|
|
3
|
-
style?: React.CSSProperties
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
4
|
/** disabled Button */
|
|
5
|
-
disabled?: boolean
|
|
5
|
+
disabled?: boolean;
|
|
6
6
|
/** function of Click */
|
|
7
|
-
action?: (
|
|
7
|
+
action?: (context?: any) => void;
|
|
8
8
|
}) => React.JSX.Element;
|
|
9
9
|
export default Unlock;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const Unpin: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default Unpin;
|
|
@@ -6,9 +6,9 @@ declare const DocumentStatusLabel: (props: {
|
|
|
6
6
|
displayName?: string;
|
|
7
7
|
}[];
|
|
8
8
|
/** The current status */
|
|
9
|
-
status?: string
|
|
10
|
-
className?: string
|
|
11
|
-
editable?: boolean
|
|
12
|
-
onChange?: (
|
|
9
|
+
status?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
editable?: boolean;
|
|
12
|
+
onChange?: (params: any) => void;
|
|
13
13
|
}) => React.JSX.Element;
|
|
14
14
|
export default DocumentStatusLabel;
|
|
@@ -2,11 +2,11 @@ import React from "react";
|
|
|
2
2
|
declare const Delete: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** size of Button */
|
|
5
|
-
size?: "small" | "middle" | "large"
|
|
5
|
+
size?: "small" | "middle" | "large";
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean
|
|
7
|
+
disabled?: boolean;
|
|
8
8
|
/** function of Click */
|
|
9
|
-
action?: (
|
|
9
|
+
action?: (context?: any) => void;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
11
|
defaultProps: {
|
|
12
12
|
size: string;
|
|
@@ -2,12 +2,12 @@ import React from "react";
|
|
|
2
2
|
declare const Download: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** size of Button */
|
|
5
|
-
size?: "small" | "middle" | "large"
|
|
5
|
+
size?: "small" | "middle" | "large";
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean
|
|
8
|
-
text?: string
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
text?: string;
|
|
9
9
|
/** function of Click */
|
|
10
|
-
action?: (
|
|
10
|
+
action?: (context?: any) => void;
|
|
11
11
|
}): React.JSX.Element;
|
|
12
12
|
defaultProps: {
|
|
13
13
|
size: string;
|
|
@@ -2,11 +2,11 @@ import React from "react";
|
|
|
2
2
|
declare const Edit: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** size of Button */
|
|
5
|
-
size?: "small" | "middle" | "large"
|
|
5
|
+
size?: "small" | "middle" | "large";
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean
|
|
7
|
+
disabled?: boolean;
|
|
8
8
|
/** function of Click */
|
|
9
|
-
action?: (
|
|
9
|
+
action?: (context?: any) => void;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
11
|
defaultProps: {
|
|
12
12
|
size: string;
|
|
@@ -2,13 +2,13 @@ import React from "react";
|
|
|
2
2
|
declare const Open: {
|
|
3
3
|
(props: {
|
|
4
4
|
/** size of Button */
|
|
5
|
-
size?: "small" | "middle" | "large"
|
|
5
|
+
size?: "small" | "middle" | "large";
|
|
6
6
|
/** disabled Button */
|
|
7
|
-
disabled?: boolean
|
|
7
|
+
disabled?: boolean;
|
|
8
8
|
/** url of open new page */
|
|
9
|
-
url?: string
|
|
9
|
+
url?: string;
|
|
10
10
|
/** function of Click */
|
|
11
|
-
action?: (
|
|
11
|
+
action?: (context?: any) => void;
|
|
12
12
|
}): React.JSX.Element;
|
|
13
13
|
defaultProps: {
|
|
14
14
|
size: string;
|
|
@@ -4,11 +4,11 @@ declare const UpLevel: {
|
|
|
4
4
|
/** */
|
|
5
5
|
id: string;
|
|
6
6
|
/** size of Button */
|
|
7
|
-
size?: "small" | "middle" | "large"
|
|
7
|
+
size?: "small" | "middle" | "large";
|
|
8
8
|
/** disabled Button */
|
|
9
|
-
disabled?: boolean
|
|
9
|
+
disabled?: boolean;
|
|
10
10
|
/** function of Click */
|
|
11
|
-
action?: (
|
|
11
|
+
action?: (context?: any) => void;
|
|
12
12
|
}): React.JSX.Element;
|
|
13
13
|
defaultProps: {
|
|
14
14
|
size: string;
|
|
@@ -3,13 +3,13 @@ import React from "react";
|
|
|
3
3
|
declare const FlagIcon: {
|
|
4
4
|
(props: {
|
|
5
5
|
id: string;
|
|
6
|
-
editable?: boolean
|
|
7
|
-
flag?: "
|
|
6
|
+
editable?: boolean;
|
|
7
|
+
flag?: "None" | "Star" | "Urgent";
|
|
8
8
|
icon?: any;
|
|
9
|
-
color?: string
|
|
10
|
-
size?: "
|
|
11
|
-
className?: string
|
|
12
|
-
onchange?: (
|
|
9
|
+
color?: string;
|
|
10
|
+
size?: "xs" | "sm" | "lg";
|
|
11
|
+
className?: string;
|
|
12
|
+
onchange?: (params?: any) => void;
|
|
13
13
|
}): React.JSX.Element;
|
|
14
14
|
defaultProps: {
|
|
15
15
|
editable: boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DocumentCardProps, IDocument, IDocumentMetaStore, IDocumentTypeMeta, QuickViewProps, DocumentMenuProps, DocumentNewFormProps } from "@voplus/morpho-document-core";
|
|
3
2
|
import { FilterOption, Store } from "@voplus/morpho-data";
|
|
4
3
|
export declare class DocumentMetaStore extends Store implements IDocumentMetaStore {
|
|
@@ -4,7 +4,7 @@ import { DocumentRegisterStatus } from "../../../../data/document-register";
|
|
|
4
4
|
declare const DocumentRegisterStatusLabel: (props: {
|
|
5
5
|
status: string;
|
|
6
6
|
editable: boolean;
|
|
7
|
-
className?: string
|
|
7
|
+
className?: string;
|
|
8
8
|
onChange: (status: DocumentRegisterStatus) => void;
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default DocumentRegisterStatusLabel;
|
|
@@ -7,14 +7,13 @@ import DocumentRegisterProperties from "../../components/DocumentRegisterPropert
|
|
|
7
7
|
import { useFrame } from "../../../../components/ViewFrame/ViewFrameContext";
|
|
8
8
|
import { faFileZipper, faEllipsisVertical } from "@fortawesome/pro-solid-svg-icons";
|
|
9
9
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
10
|
-
import {
|
|
10
|
+
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
|
11
11
|
import DocumentTabs from "../../../../components/DocumentTabs";
|
|
12
12
|
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
13
13
|
import { Lock, Unlock } from "../../../../controls/DocumentMenu/items";
|
|
14
14
|
import RegisteredDocumentTableList from "../../../registered-document/components/RegisteredDocumentTableList";
|
|
15
15
|
import DocumentRegisterSettings from "../DocumentRegisterSettings";
|
|
16
|
-
import
|
|
17
|
-
import BreadCrumbsPath from "@voplus/morpho-ui/es/components/layout/headers/components/BreadCrumbsPath";
|
|
16
|
+
import DocumentBreadCrumbsPath from "../../../../components/DocumentBreadCrumbsPath";
|
|
18
17
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
19
18
|
import "./index.less";
|
|
20
19
|
/** The Document Register component with router parameters support. */
|
|
@@ -22,35 +21,27 @@ const DocumentRegisterDefaultView = ({ id }) => {
|
|
|
22
21
|
const frame = useFrame();
|
|
23
22
|
if (frame)
|
|
24
23
|
frame.header = null;
|
|
25
|
-
const layout = useLayout();
|
|
26
|
-
const metas = useMetaStore();
|
|
27
24
|
const [packUp, setPackUp] = useState(false);
|
|
28
25
|
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
29
26
|
const documentRegister = useDocumentRegister(id, { reload: true, includes: "tags,path,types" });
|
|
30
|
-
return observe(() => {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
key: "Settings",
|
|
49
|
-
label: "Settings",
|
|
50
|
-
children: React.createElement(DocumentRegisterSettings, { id: id }),
|
|
51
|
-
},
|
|
52
|
-
] })));
|
|
53
|
-
});
|
|
27
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: "document-register-default-view", header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faFileZipper }), title: documentRegister.name, upAble: true, onPackUp: (up) => setPackUp(up), description: React.createElement(DocumentBreadCrumbsPath, { id: id, packUp: packUp }), rightExtra: React.createElement(DocumentMenuContext.Provider, { value: menuContext },
|
|
28
|
+
React.createElement(Space, { className: "menu-buttons" },
|
|
29
|
+
React.createElement(Lock, null),
|
|
30
|
+
React.createElement(Unlock, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
|
|
31
|
+
icon: React.createElement(FAIcon, { icon: faEllipsisVertical }),
|
|
32
|
+
}, blankMenu: packUp ? [] : ["Lock", "Unlock"] }) }), properties: React.createElement(DocumentRegisterProperties, { id: id }) },
|
|
33
|
+
React.createElement(DocumentTabs, { id: "", active: "Documents", tabItems: [
|
|
34
|
+
{
|
|
35
|
+
key: "Documents",
|
|
36
|
+
label: "Documents",
|
|
37
|
+
children: React.createElement(RegisteredDocumentTableList, { ParentId: id }),
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
key: "Settings",
|
|
41
|
+
label: "Settings",
|
|
42
|
+
children: React.createElement(DocumentRegisterSettings, { id: id }),
|
|
43
|
+
},
|
|
44
|
+
] }))));
|
|
54
45
|
};
|
|
55
46
|
export default DocumentRegisterDefaultView;
|
|
56
47
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document-register/pages/DocumentRegisterDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,0BAA0B,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document-register/pages/DocumentRegisterDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,0BAA0B,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,E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EAAE,EAAE,MAAM,EAAE,MAAM,GAAI,EAChE,UAAU,EACT,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW;gBAC/C,oBAAC,KAAK,IAAC,SAAS,EAAC,cAAc;oBAC9B,oBAAC,IAAI,OAAG;oBACR,oBAAC,MAAM,OAAG,CACH,CACsB,EAEhC,QAAQ,EACP,oBAAC,OAAO,IACP,EAAE,EAAE,EAAE,EACN,SAAS,EAAE;oBACV,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI;iBAC1C,EACD,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,GAC1C,GAEF,EAEH,UAAU,EAAE,oBAAC,0BAA0B,IAAC,EAAE,EAAE,EAAE,GAAI;QAElD,oBAAC,YAAY,IACZ,EAAE,EAAC,EAAE,EACL,MAAM,EAAC,WAAW,EAClB,QAAQ,EAAE;gBACT;oBACC,GAAG,EAAE,WAAW;oBAChB,KAAK,EAAE,WAAW;oBAClB,QAAQ,EAAE,oBAAC,2BAA2B,IAAC,QAAQ,EAAE,EAAE,GAAI;iBACvD;gBACD;oBACC,GAAG,EAAE,UAAU;oBACf,KAAK,EAAE,UAAU;oBACjB,QAAQ,EAAE,oBAAC,wBAAwB,IAAC,EAAE,EAAE,EAAE,GAAI;iBAC9C;aACD,GACA,CACiB,CACpB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const OpenEditor: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default OpenEditor;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { useLayout } from "@voplus/morpho-data";
|
|
2
1
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
3
|
-
import { DocumentMenuContext, DocumentMenuState
|
|
2
|
+
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
|
4
3
|
import GraphProperties from "../../components/GraphProperties";
|
|
5
4
|
import GraphViewer from "../../components/GraphViewer";
|
|
6
5
|
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
@@ -14,32 +13,24 @@ import { useFrame } from "../../../../components/ViewFrame/ViewFrameContext";
|
|
|
14
13
|
import { useDocument } from "@voplus/morpho-document-core";
|
|
15
14
|
import { Publish } from "../../../../controls/DocumentMenu/items";
|
|
16
15
|
import { OpenEditor } from "../../control/GraphMenu/item";
|
|
17
|
-
import
|
|
16
|
+
import DocumentBreadCrumbsPath from "../../../../components/DocumentBreadCrumbsPath";
|
|
18
17
|
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
19
18
|
/** The Graph Page component with router parameters support. */
|
|
20
19
|
const GraphDefaultView = ({ id }) => {
|
|
21
20
|
const frame = useFrame();
|
|
22
21
|
if (frame)
|
|
23
22
|
frame.header = null;
|
|
24
|
-
const layout = useLayout();
|
|
25
|
-
const metas = useMetaStore();
|
|
26
23
|
const [packUp, setPackUp] = useState(false);
|
|
27
24
|
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
28
25
|
const doc = useDocument(id, { includes: "path" });
|
|
29
|
-
return observe(() => {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
React.createElement(Publish, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
|
|
38
|
-
icon: React.createElement(FAIcon, { icon: faEllipsisVertical }),
|
|
39
|
-
}, blankMenu: packUp ? [] : ["OpenEditor", "Publish"] }) }), properties: React.createElement(GraphProperties, { id: id }) },
|
|
40
|
-
React.createElement(Skeleton, { active: true, loading: !doc.loaded },
|
|
41
|
-
React.createElement(GraphViewer, { id: id, autoHeight: true }))));
|
|
42
|
-
});
|
|
26
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["graph-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faDiagramProject }), title: doc.name, upAble: true, onPackUp: (up) => setPackUp(up), description: React.createElement(DocumentBreadCrumbsPath, { id: id, packUp: packUp }), rightExtra: React.createElement(DocumentMenuContext.Provider, { value: menuContext },
|
|
27
|
+
React.createElement(Space, { className: "menu-buttons" },
|
|
28
|
+
React.createElement(OpenEditor, null),
|
|
29
|
+
React.createElement(Publish, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
|
|
30
|
+
icon: React.createElement(FAIcon, { icon: faEllipsisVertical }),
|
|
31
|
+
}, blankMenu: packUp ? [] : ["OpenEditor", "Publish"] }) }), properties: React.createElement(GraphProperties, { id: id }) },
|
|
32
|
+
React.createElement(Skeleton, { active: true, loading: !doc.loaded },
|
|
33
|
+
React.createElement(GraphViewer, { id: id, autoHeight: true })))));
|
|
43
34
|
};
|
|
44
35
|
export default GraphDefaultView;
|
|
45
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/graph/pages/GraphDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/graph/pages/GraphDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,0DAA0D,CAAC;AACzF,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,eAAe,MAAM,kCAAkC,CAAC;AAC/D,OAAO,WAAW,MAAM,8BAA8B,CAAC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olean;
|
|
5
|
+
onChange?: (code: string) => void;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
export default CodeMirror;
|
|
@@ -2,10 +2,10 @@ import React from "react";
|
|
|
2
2
|
import { SelectProps } from "antd";
|
|
3
3
|
import { IMessageTemplate } from "../../../../data/message-template";
|
|
4
4
|
declare const MessageTemplateSelect: {
|
|
5
|
-
(props: SelectProps
|
|
6
|
-
defaultValue?: string
|
|
7
|
-
isLayout?: boolean
|
|
8
|
-
onChange?: (
|
|
5
|
+
(props: SelectProps & {
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
isLayout?: boolean;
|
|
8
|
+
onChange?: (messageTemplate?: IMessageTemplate) => void;
|
|
9
9
|
}): React.JSX.Element;
|
|
10
10
|
defaultProps: {
|
|
11
11
|
isLayout: boolean;
|
package/es/modules/message-template/controls/MessageTemplateMenu/items/SendPreviewEmail.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const SendPreviewEmail: (props: {
|
|
3
3
|
/** disabled Button */
|
|
4
|
-
disabled?: boolean
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
/** function of Click */
|
|
6
|
-
action?: (
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default SendPreviewEmail;
|
|
@@ -7,13 +7,12 @@ import { useFrame } from "../../../../components/ViewFrame/ViewFrameContext";
|
|
|
7
7
|
import MessageTemplateProperties from "../../components/MessageTemplateProperties";
|
|
8
8
|
import MessageTemplateTabs from "../../components/MessageTemplateTabs";
|
|
9
9
|
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
10
|
+
import DocumentBreadCrumbsPath from "../../../../components/DocumentBreadCrumbsPath";
|
|
10
11
|
import { SendPreviewEmail } from "../../controls/MessageTemplateMenu/items";
|
|
11
|
-
import { useLayout } from "@voplus/morpho-data";
|
|
12
12
|
import { Lock, Unlock } from "../../../../controls/DocumentMenu/items";
|
|
13
13
|
import { Space } from "antd";
|
|
14
14
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
15
|
-
import { DocumentMenuContext, DocumentMenuState
|
|
16
|
-
import BreadCrumbsPath from "@voplus/morpho-ui/es/components/layout/headers/components/BreadCrumbsPath";
|
|
15
|
+
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
|
17
16
|
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
18
17
|
import styles from "./index.less";
|
|
19
18
|
/** The MessageTemplate Page component with router parameters support. */
|
|
@@ -21,28 +20,20 @@ const MessageTemplateDefaultView = ({ id }) => {
|
|
|
21
20
|
const frame = useFrame();
|
|
22
21
|
if (frame)
|
|
23
22
|
frame.header = null;
|
|
24
|
-
const layout = useLayout();
|
|
25
|
-
const metas = useMetaStore();
|
|
26
23
|
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
27
24
|
const [packUp, setPackUp] = useState(false);
|
|
28
25
|
const messageTemplate = useMessageTemplate(id, {
|
|
29
26
|
reload: true,
|
|
30
27
|
includes: "layout,preview,path",
|
|
31
28
|
});
|
|
32
|
-
return observe(() => {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
React.createElement(Lock, null),
|
|
41
|
-
React.createElement(Unlock, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
|
|
42
|
-
icon: React.createElement(FAIcon, { icon: faEllipsisVertical }),
|
|
43
|
-
}, blankMenu: packUp ? [] : ["SendPreviewEmail", "Lock", "Unlock"] }) }), properties: React.createElement(MessageTemplateProperties, { id: id }) },
|
|
44
|
-
React.createElement(MessageTemplateTabs, { id: id, templateCanEdit: true })));
|
|
45
|
-
});
|
|
29
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["message-template-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faCode }), title: messageTemplate.name, upAble: true, onPackUp: (up) => setPackUp(up), description: React.createElement(DocumentBreadCrumbsPath, { id: id, packUp: packUp }), rightExtra: React.createElement(DocumentMenuContext.Provider, { value: menuContext },
|
|
30
|
+
React.createElement(Space, { className: "menu-buttons" },
|
|
31
|
+
React.createElement(SendPreviewEmail, null),
|
|
32
|
+
React.createElement(Lock, null),
|
|
33
|
+
React.createElement(Unlock, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
|
|
34
|
+
icon: React.createElement(FAIcon, { icon: faEllipsisVertical }),
|
|
35
|
+
}, blankMenu: packUp ? [] : ["SendPreviewEmail", "Lock", "Unlock"] }) }), properties: React.createElement(MessageTemplateProperties, { id: id }) },
|
|
36
|
+
React.createElement(MessageTemplateTabs, { id: id, templateCanEdit: true }))));
|
|
46
37
|
};
|
|
47
38
|
export default MessageTemplateDefaultView;
|
|
48
39
|
//# sourceMappingURL=index.js.map
|