@voplus/morpho-document 6.1.0 → 6.1.2

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 (114) hide show
  1. package/es/components/DocumentBreadCrumbsHeader/index.d.ts +1 -1
  2. package/es/components/DocumentCardList/index.d.ts +2 -2
  3. package/es/components/DocumentHeader/index.js +1 -1
  4. package/es/components/DocumentHeader/index.js.map +1 -1
  5. package/es/components/DocumentList/index.d.ts +11 -11
  6. package/es/components/DocumentListCard/index.d.ts +8 -8
  7. package/es/components/DocumentListView/DocumentListView2.js +8 -1
  8. package/es/components/DocumentListView/DocumentListView2.js.map +1 -1
  9. package/es/components/DocumentSelectDialog/index.d.ts +5 -5
  10. package/es/components/DocumentSortableTree/SortableTreeContext.d.ts +0 -1
  11. package/es/components/DocumentTabs/index.d.ts +7 -7
  12. package/es/components/DocumentTree/index.d.ts +2 -2
  13. package/es/components/FileViewer/FileViewer.d.ts +2 -2
  14. package/es/components/Links/NewLinkType.d.ts +2 -2
  15. package/es/components/NewDocumentForm/DocumentForm.js +2 -2
  16. package/es/components/NewDocumentForm/DocumentForm.js.map +1 -1
  17. package/es/components/NewDocumentForm/NewDocumentFormDialog.d.ts +4 -4
  18. package/es/components/NewDocumentForm/index.d.ts +8 -8
  19. package/es/components/PasteListInDocument/index.d.ts +3 -3
  20. package/es/components/SendForm/index.d.ts +7 -7
  21. package/es/components/ViewFrame/index.d.ts +6 -6
  22. package/es/components/WordFields/index.js +0 -1
  23. package/es/components/WordFields/index.js.map +1 -1
  24. package/es/components/WordFields/index.less +8 -9
  25. package/es/components/WordFillView/WordFillContext.d.ts +0 -1
  26. package/es/controls/ChildDocumentSelect/Item.d.ts +2 -2
  27. package/es/controls/ChildDocumentSelect/index.d.ts +6 -6
  28. package/es/controls/DocumentDataIconBar/index.d.ts +4 -4
  29. package/es/controls/DocumentLabel/index.d.ts +2 -2
  30. package/es/controls/DocumentMenu/items/Access.d.ts +2 -2
  31. package/es/controls/DocumentMenu/items/Archive.d.ts +2 -2
  32. package/es/controls/DocumentMenu/items/Copy.d.ts +2 -2
  33. package/es/controls/DocumentMenu/items/CopyReference.d.ts +2 -2
  34. package/es/controls/DocumentMenu/items/Delete.d.ts +4 -4
  35. package/es/controls/DocumentMenu/items/DownloadFiles.d.ts +2 -2
  36. package/es/controls/DocumentMenu/items/DownloadLetter.d.ts +2 -2
  37. package/es/controls/DocumentMenu/items/Duplicate.d.ts +2 -2
  38. package/es/controls/DocumentMenu/items/Lock.d.ts +3 -3
  39. package/es/controls/DocumentMenu/items/Notifications.d.ts +2 -2
  40. package/es/controls/DocumentMenu/items/OpenInBrowser.d.ts +2 -2
  41. package/es/controls/DocumentMenu/items/OpenReferenceView.d.ts +2 -2
  42. package/es/controls/DocumentMenu/items/OpenWordFillPage.d.ts +2 -2
  43. package/es/controls/DocumentMenu/items/Pin.d.ts +2 -2
  44. package/es/controls/DocumentMenu/items/Print.d.ts +3 -3
  45. package/es/controls/DocumentMenu/items/PrintActivities.d.ts +2 -2
  46. package/es/controls/DocumentMenu/items/Publish.d.ts +4 -4
  47. package/es/controls/DocumentMenu/items/PublishLock.d.ts +2 -2
  48. package/es/controls/DocumentMenu/items/Revert.d.ts +2 -2
  49. package/es/controls/DocumentMenu/items/Unlock.d.ts +3 -3
  50. package/es/controls/DocumentMenu/items/Unpin.d.ts +2 -2
  51. package/es/controls/DocumentStatusLabel/index.d.ts +4 -4
  52. package/es/controls/ToolBar/buttons/Delete.d.ts +3 -3
  53. package/es/controls/ToolBar/buttons/Download.d.ts +4 -4
  54. package/es/controls/ToolBar/buttons/Edit.d.ts +3 -3
  55. package/es/controls/ToolBar/buttons/Open.d.ts +4 -4
  56. package/es/controls/ToolBar/buttons/UpLevel.d.ts +3 -3
  57. package/es/controls/data-icons/FlagIcon/index.d.ts +6 -6
  58. package/es/data/DocumentMetaStore.d.ts +0 -1
  59. package/es/data/contexts/DocumentListContext/index.d.ts +0 -1
  60. package/es/data/message-template/metas.d.ts +0 -1
  61. package/es/data/metas/ContainerMeta.d.ts +0 -1
  62. package/es/data/metas/DocumentRegisterMeta.d.ts +0 -1
  63. package/es/data/metas/FileTypeMeta.d.ts +0 -1
  64. package/es/data/metas/GraphMeta.d.ts +0 -1
  65. package/es/data/metas/LibraryMeta.d.ts +0 -1
  66. package/es/data/metas/PageMeta.d.ts +0 -1
  67. package/es/data/metas/RegisteredDocumentMeta.d.ts +0 -1
  68. package/es/data/metas/ShortcutMeta.d.ts +0 -1
  69. package/es/data/metas/SignEnvelopeMeta.d.ts +0 -1
  70. package/es/data/metas/TextMeta.d.ts +0 -1
  71. package/es/modules/document-register/controls/DocumentRegisterStatusLabel/index.d.ts +1 -1
  72. package/es/modules/graph/control/GraphMenu/item/OpenEditor.d.ts +2 -2
  73. package/es/modules/message-template/components/CodeMirror/index.d.ts +3 -3
  74. package/es/modules/message-template/components/MessageTemplateSelect/index.d.ts +4 -4
  75. package/es/modules/message-template/controls/MessageTemplateMenu/items/SendPreviewEmail.d.ts +2 -2
  76. package/es/modules/page/components/PageItemHeader/index.d.ts +3 -3
  77. package/es/modules/page/data/PageContext.d.ts +0 -1
  78. package/es/modules/quick-access/AdvanceFilterForm/index.d.ts +2 -2
  79. package/es/modules/quick-access/GeneralFilterForm/index.d.ts +2 -2
  80. package/es/modules/quick-access/QuickAccessPage/QuickAccessContext.d.ts +0 -1
  81. package/es/modules/registered-document/RegisteredDocumentContext.d.ts +1 -1
  82. package/es/modules/registered-document/components/RegisteredDocumentListHeader/index.d.ts +4 -4
  83. package/es/modules/registered-document/controls/RegisteredDocumentStatusLabel/index.d.ts +1 -1
  84. package/es/modules/tenant-service/components/StringDynamicField/index.d.ts +1 -1
  85. package/es/modules/tenant-service/components/TenantServiceList/index.d.ts +4 -4
  86. package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.d.ts +4 -4
  87. package/es/obsolete/EmailTemplate/CodeMirror/index.d.ts +3 -3
  88. package/es/obsolete/EmailTemplate/EmailTemplateSelect/index.d.ts +2 -2
  89. package/es/pages/Library/components/DocumentTree/index.d.ts +2 -2
  90. package/es/pages/Signature/Envelope/components/ReasonDialog/index.d.ts +1 -1
  91. package/es/pages/Signature/Envelope/components/RemindersDialog/index.d.ts +1 -1
  92. package/es/pages/Signature/Envelope/components/RemoveSignatureDialog/index.d.ts +2 -2
  93. package/es/pages/Signature/Envelope/components/ReviewDialog/index.d.ts +1 -1
  94. package/es/pages/Signature/Envelope/components/ReviewDialog/state.d.ts +2 -2
  95. package/es/pages/Signature/Envelope/components/SendDialog/index.d.ts +3 -3
  96. package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Cancel.d.ts +2 -2
  97. package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Complete.d.ts +2 -2
  98. package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/Reopen.d.ts +2 -2
  99. package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendInvite.d.ts +2 -2
  100. package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReminders.d.ts +2 -2
  101. package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/SendReview.d.ts +2 -2
  102. package/es/pages/Signature/Envelope/controls/EnvelopeMenu/items/ViewSignatures.d.ts +2 -2
  103. package/es/pages/Signature/Letter/LetterItem/index.d.ts +4 -4
  104. package/es/pages/Signature/Letter/LetterList/index.d.ts +6 -6
  105. package/es/pages/Signature/Letter/LetterRecipientItem/index.d.ts +2 -2
  106. package/es/pages/Signature/Letter/LetterViewer/index.d.ts +1 -1
  107. package/es/pages/Signature/SignatureTable/RemoveSignatureDialog.d.ts +2 -2
  108. package/es/pages/Signature/SigningReminderDialog/index.d.ts +1 -1
  109. package/es/pages/Signature/data/EnvelopeContext.d.ts +0 -1
  110. package/es/pages/VSubmit/components/EmailRecipients/index.d.ts +3 -3
  111. package/es/pages/WordFillPage/index.js +33 -10
  112. package/es/pages/WordFillPage/index.js.map +1 -1
  113. package/es/pages/WordFillPage/index.less +14 -11
  114. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const CodeMirror: (props: {
3
3
  code: string;
4
- height?: string | undefined;
5
- readOnly?: boolean | undefined;
6
- onChange?: ((code: string) => void) | undefined;
4
+ height?: string;
5
+ readOnly?: boolean;
6
+ onChange?: (code: string) => void;
7
7
  }) => React.JSX.Element;
8
8
  export default CodeMirror;
@@ -2,8 +2,8 @@ import React from "react";
2
2
  declare const EmailTemplateSelect: {
3
3
  (props: {
4
4
  value: string;
5
- bordered?: boolean | undefined;
6
- onChange?: ((id: string) => void) | undefined;
5
+ bordered?: boolean;
6
+ onChange?: (id: string) => void;
7
7
  }): React.JSX.Element;
8
8
  defaultProps: {
9
9
  bordered: boolean;
@@ -12,7 +12,7 @@ export type IDocTree = {
12
12
  };
13
13
  declare const DocumentTree: (props: {
14
14
  id: string;
15
- className?: string | undefined;
16
- onSelect?: ((doc: IDocTree) => void) | undefined;
15
+ className?: string;
16
+ onSelect?: (doc: IDocTree) => void;
17
17
  }) => React.JSX.Element;
18
18
  export default DocumentTree;
@@ -5,6 +5,6 @@ declare const ReasonDialog: (props: {
5
5
  /** id of envelope */
6
6
  envelopeId: string;
7
7
  /** */
8
- updateVisible?: ((visible: boolean) => void) | undefined;
8
+ updateVisible?: (visible: boolean) => void;
9
9
  }) => React.JSX.Element;
10
10
  export default ReasonDialog;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  declare const RemindersDialog: (props: {
3
3
  id: string;
4
- onCancel?: (() => void) | undefined;
4
+ onCancel?: () => void;
5
5
  }) => React.JSX.Element;
6
6
  export default RemindersDialog;
@@ -4,7 +4,7 @@ declare const RemoveSignatureDialog: (props: {
4
4
  envelopeId: string;
5
5
  letterId: string;
6
6
  signatureId: string;
7
- onCancel?: (() => void) | undefined;
8
- onOk?: (() => void) | undefined;
7
+ onCancel?: () => void;
8
+ onOk?: () => void;
9
9
  }) => React.JSX.Element;
10
10
  export default RemoveSignatureDialog;
@@ -2,6 +2,6 @@ import React from "react";
2
2
  declare const ReviewDialog: (props: {
3
3
  id: string;
4
4
  /** cancel */
5
- onCancel?: (() => void) | undefined;
5
+ onCancel?: () => void;
6
6
  }) => React.JSX.Element;
7
7
  export default ReviewDialog;
@@ -6,11 +6,11 @@ export declare class State {
6
6
  constructor();
7
7
  Params: {
8
8
  Reviewers: string[];
9
- Message?: string | undefined;
9
+ Message?: string;
10
10
  };
11
11
  loading: boolean;
12
12
  params: {
13
13
  Reviewers: string[];
14
- Message?: string | undefined;
14
+ Message?: string;
15
15
  };
16
16
  }
@@ -2,10 +2,10 @@ import React from "react";
2
2
  import "./index.less";
3
3
  declare const SendDialog: (props: {
4
4
  /** 用于显示 模块的 title */
5
- title?: string | undefined;
5
+ title?: string;
6
6
  /** cancel */
7
- onCancel?: (() => void) | undefined;
7
+ onCancel?: () => void;
8
8
  /** send */
9
- onSend?: ((data: any) => void) | undefined;
9
+ onSend?: (data: any) => void;
10
10
  }) => React.JSX.Element;
11
11
  export default SendDialog;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const Cancel: (props: {
3
3
  /** disabled Button */
4
- disabled?: boolean | undefined;
4
+ disabled?: boolean;
5
5
  /** function of Click */
6
- action?: ((context?: any) => void) | undefined;
6
+ action?: (context?: any) => void;
7
7
  }) => React.JSX.Element;
8
8
  export default Cancel;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const Complete: (props: {
3
3
  /** disabled Button */
4
- disabled?: boolean | undefined;
4
+ disabled?: boolean;
5
5
  /** function of Click */
6
- action?: ((context?: any) => void) | undefined;
6
+ action?: (context?: any) => void;
7
7
  }) => React.JSX.Element;
8
8
  export default Complete;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const Reopen: (props: {
3
3
  /** disabled Button */
4
- disabled?: boolean | undefined;
4
+ disabled?: boolean;
5
5
  /** function of Click */
6
- action?: ((context?: any) => void) | undefined;
6
+ action?: (context?: any) => void;
7
7
  }) => React.JSX.Element;
8
8
  export default Reopen;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const SendInvite: (props: {
3
3
  /** disabled Button */
4
- disabled?: boolean | undefined;
4
+ disabled?: boolean;
5
5
  /** function of Click */
6
- action?: ((context?: any) => void) | undefined;
6
+ action?: (context?: any) => void;
7
7
  }) => React.JSX.Element;
8
8
  export default SendInvite;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const SendReminders: (props: {
3
3
  /** disabled Button */
4
- disabled?: boolean | undefined;
4
+ disabled?: boolean;
5
5
  /** function of Click */
6
- action?: ((context?: any) => void) | undefined;
6
+ action?: (context?: any) => void;
7
7
  }) => React.JSX.Element;
8
8
  export default SendReminders;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const SendReview: (props: {
3
3
  /** disabled Button */
4
- disabled?: boolean | undefined;
4
+ disabled?: boolean;
5
5
  /** function of Click */
6
- action?: ((context?: any) => void) | undefined;
6
+ action?: (context?: any) => void;
7
7
  }) => React.JSX.Element;
8
8
  export default SendReview;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const ViewSignatures: (props: {
3
3
  /** disabled Button */
4
- disabled?: boolean | undefined;
4
+ disabled?: boolean;
5
5
  /** function of Click */
6
- action?: ((context?: any) => void) | undefined;
6
+ action?: (context?: any) => void;
7
7
  }) => React.JSX.Element;
8
8
  export default ViewSignatures;
@@ -9,12 +9,12 @@ declare const LetterItem: (props: {
9
9
  /** letter of envelope */
10
10
  letter: ILetter;
11
11
  /** Size of title and icon */
12
- size?: "h1" | "h2" | "h3" | "h4" | "normal" | undefined;
12
+ size?: "normal" | "h1" | "h2" | "h3" | "h4";
13
13
  /** EnvelopeRecipientView 格式 */
14
- recipient?: boolean | undefined;
14
+ recipient?: boolean;
15
15
  /** 可点击Name */
16
- clickName?: boolean | undefined;
16
+ clickName?: boolean;
17
17
  /** */
18
- onClick?: ((id: string) => void) | undefined;
18
+ onClick?: (id: string) => void;
19
19
  }) => React.JSX.Element;
20
20
  export default LetterItem;
@@ -3,15 +3,15 @@ import "./index.less";
3
3
  declare const LetterList: (props: {
4
4
  id: string;
5
5
  /** Letter Item active id */
6
- activeId?: string | undefined;
6
+ activeId?: string;
7
7
  /** Size of title and icon of DocumentHeader */
8
- size?: "h1" | "h2" | "h3" | "h4" | "normal" | undefined;
8
+ size?: "normal" | "h1" | "h2" | "h3" | "h4";
9
9
  /** EnvelopeRecipientView 格式 */
10
- recipient?: boolean | undefined;
10
+ recipient?: boolean;
11
11
  /** 可点击name */
12
- clickName?: boolean | undefined;
13
- style?: React.CSSProperties | undefined;
12
+ clickName?: boolean;
13
+ style?: React.CSSProperties;
14
14
  /** */
15
- onClick?: ((id: string) => void) | undefined;
15
+ onClick?: (id: string) => void;
16
16
  }) => React.JSX.Element;
17
17
  export default LetterList;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  declare const LetterRecipientItem: (props: {
3
- activeId?: string | undefined;
4
- onClick?: ((id: string) => void) | undefined;
3
+ activeId?: string;
4
+ onClick?: (id: string) => void;
5
5
  }) => React.JSX.Element;
6
6
  export default LetterRecipientItem;
@@ -7,6 +7,6 @@ declare const LetterViewer: (props: {
7
7
  /** info of letter */
8
8
  letter: ILetter;
9
9
  /** update Modal show or hide */
10
- updateVisible?: ((visible: boolean) => void) | undefined;
10
+ updateVisible?: (visible: boolean) => void;
11
11
  }) => React.JSX.Element;
12
12
  export default LetterViewer;
@@ -8,7 +8,7 @@ declare const RemoveSignatureDialog: (props: {
8
8
  /** line of signature */
9
9
  signature: ISignatureLine;
10
10
  /** 非 Modal 方式显示签名内容 */
11
- visible?: boolean | undefined;
12
- updateVisible?: ((visible: boolean) => void) | undefined;
11
+ visible?: boolean;
12
+ updateVisible?: (visible: boolean) => void;
13
13
  }) => React.JSX.Element;
14
14
  export default RemoveSignatureDialog;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { ILetter } from "../data/envelope";
3
3
  declare const SigningReminderDialog: (props: {
4
- onOk?: ((letter: ILetter) => void) | undefined;
4
+ onOk?: (letter: ILetter) => void;
5
5
  }) => React.JSX.Element;
6
6
  export default SigningReminderDialog;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EnvelopeStore, IEnvelope, ILetter } from "./envelope";
3
2
  import { IEnvelopeState } from "./IEnvelopeState";
4
3
  export declare class EnvelopeContextState {
@@ -2,8 +2,8 @@ import "./index.less";
2
2
  import { IUnit } from "@voplus/morpho-org";
3
3
  import React from "react";
4
4
  declare const EmailRecipients: (props: {
5
- submitters?: IUnit[] | undefined;
6
- readonly?: boolean | undefined;
7
- onChange?: ((units?: IUnit[]) => void) | undefined;
5
+ submitters?: IUnit[];
6
+ readonly?: boolean;
7
+ onChange?: (units?: IUnit[]) => void;
8
8
  }) => React.JSX.Element;
9
9
  export default EmailRecipients;
@@ -1,23 +1,46 @@
1
- import React, { useMemo } from "react";
2
- import { ViewFrameContext, ViewFrameContextState, } from "../../components/ViewFrame/ViewFrameContext";
1
+ import React, { useMemo, useState } from "react";
2
+ import { Print, Publish } from "../../controls/DocumentMenu/items";
3
+ import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
4
+ import { faEllipsisVertical } from "@fortawesome/pro-solid-svg-icons";
5
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
3
6
  import { useDocument, useMetaStore } from "@voplus/morpho-document-core";
4
- import ViewFrameHeader from "../../components/ViewFrame/ViewFrameHeader";
5
- import WordFillView from "../../components/WordFillView";
7
+ import ToolBar from "../../controls/ToolBar/ToolBar2";
8
+ import { WordFillContext, WordFillContextState, } from "../../components/WordFillView/WordFillContext";
9
+ import BreadCrumbsPath from "@voplus/morpho-ui/es/components/layout/headers/components/BreadCrumbsPath";
10
+ import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
11
+ import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
12
+ import WordFields from "../../components/WordFields";
13
+ import WordFieldViewer from "../../components/WordFieldViewer";
6
14
  import classnames from "classnames";
15
+ import { Space } from "antd";
16
+ import { useLayout } from "@voplus/morpho-data";
7
17
  import { observe } from "@voplus/morpho-ui";
8
18
  import styles from "./index.less";
9
19
  import { useParams } from "react-router-dom";
10
20
  const WordFillPage = () => {
11
21
  const params = useParams();
12
22
  const id = params.id;
23
+ const layout = useLayout();
13
24
  const metas = useMetaStore();
25
+ const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
26
+ const [context] = useState(() => new WordFillContextState());
14
27
  const document = useDocument(id, { includes: "tags,path" });
15
- const context = useMemo(() => new ViewFrameContextState(metas, document), [id]);
16
- return observe(() => (React.createElement(ViewFrameContext.Provider, { value: context },
17
- React.createElement("div", { className: classnames(styles["word-fill-page"]) },
18
- React.createElement(ViewFrameHeader, { id: id }),
19
- React.createElement("div", { className: "word-fill-context" },
20
- React.createElement(WordFillView, { id: id }))))));
28
+ const [packUp, setPackUp] = useState(false);
29
+ return observe(() => {
30
+ var _a;
31
+ return (React.createElement(WordFillContext.Provider, { value: context },
32
+ React.createElement(DefaultViewLayout, { className: classnames(styles["word-fill-page"]), header: React.createElement(PageHeadDashboard, { avatarIcon: metas.getIcon(document), title: document.name, upAble: true, onPackUp: (up) => setPackUp(up), description: React.createElement(BreadCrumbsPath, { path: (_a = document.path) === null || _a === void 0 ? void 0 : _a.slice(-3), current: packUp ? { id: id, name: document.name } : undefined, onToPath: (item) => {
33
+ const route = metas.getRoute({ id: item.id, type: item.objectType });
34
+ layout.history.push(`${route}`);
35
+ } }), rightExtra: React.createElement(DocumentMenuContext.Provider, { value: menuContext },
36
+ React.createElement(Space, { className: "menu-buttons" },
37
+ React.createElement(Print, { url: `text/print/${id}` }),
38
+ React.createElement(Publish, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
39
+ icon: React.createElement(FAIcon, { icon: faEllipsisVertical }),
40
+ }, blankMenu: packUp ? [] : ["Print", "Publish"] }) }), properties: React.createElement(WordFields, { id: id }), propertiesTitle: "Word Template" },
41
+ React.createElement("div", { className: "word-fill-context" },
42
+ React.createElement(WordFieldViewer, { id: id })))));
43
+ });
21
44
  };
22
45
  export default WordFillPage;
23
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pages/WordFillPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EACN,gBAAgB,EAChB,qBAAqB,GACrB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAEzE,OAAO,eAAe,MAAM,4CAA4C,CAAC;AACzE,OAAO,YAAY,MAAM,+BAA+B,CAAC;AACzD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,YAAY,GAAG,GAAG,EAAE;IACzB,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,EAAE,GAAG,MAAM,CAAC,EAAG,CAAC;IAEtB,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAC7B,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,CAAC;IAE5D,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,qBAAqB,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAEhF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,gBAAgB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO;QACxC,6BAAK,SAAS,EAAE,UAAU,CAAC,M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E,EAAE,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS,EAC7D,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;4BAClB,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,EAAS,CAAC,CAAC;4BAC5E,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC;wBACjC,CAAC,GACA,EAEH,UAAU,EACT,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW;wBAC/C,oBAAC,KAAK,IAAC,SAAS,EAAC,cAAc;4BAC9B,oBAAC,KAAK,IAAC,GAAG,EAAE,cAAc,EAAE,EAAE,GAAI;4BAClC,oBAAC,OAAO,OAAG,CACJ,CACsB,EAEhC,QAAQ,EACP,oBAAC,OAAO,IACP,EAAE,EAAE,EAAE,EACN,SAAS,EAAE;4BACV,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI;yBAC1C,EACD,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,GAC5C,GAEF,EAEH,UAAU,EAAE,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,GAAI,EAClC,eAAe,EAAC,eAAe;gBAE/B,6BAAK,SAAS,EAAC,mBAAmB;oBAEjC,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI,CACtB,CACa,CACM,CAC3B,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,13 +1,16 @@
1
1
  .word-fill-page {
2
- width: 100%;
3
- height: 100%;
4
- display: flex;
5
- flex-direction: column;
6
- background: white;
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ background: white;
7
7
 
8
- :global {
9
- .word-fill-context {
10
- height: 100%;
11
- }
12
- }
13
- }
8
+ :global {
9
+ .page-head-avatar svg {
10
+ margin-top: 0 !important;
11
+ }
12
+ .word-fill-context {
13
+ height: 100%;
14
+ }
15
+ }
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-document",
3
- "version": "6.1.0",
3
+ "version": "6.1.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-document/_git/morpho-document"