@voplus/morpho-document 6.0.87 → 6.0.89

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 (93) 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/DocumentList/index.d.ts +12 -12
  4. package/es/components/DocumentList/index.js +8 -8
  5. package/es/components/DocumentList/index.js.map +1 -1
  6. package/es/components/DocumentList/index.less +33 -0
  7. package/es/components/DocumentListCard/index.d.ts +8 -8
  8. package/es/components/DocumentSelectDialog/index.d.ts +4 -4
  9. package/es/components/DocumentSortableTree/SortableTreeContext.d.ts +0 -1
  10. package/es/components/DocumentTabs/index.d.ts +5 -5
  11. package/es/components/FileViewer/FileViewer.d.ts +2 -2
  12. package/es/components/Links/NewLinkType.d.ts +2 -2
  13. package/es/components/NewDocumentForm/NewDocumentFormDialog.d.ts +4 -4
  14. package/es/components/NewDocumentForm/index.d.ts +8 -8
  15. package/es/components/PasteListInDocument/index.d.ts +4 -4
  16. package/es/components/SendForm/index.d.ts +7 -7
  17. package/es/components/ViewFrame/ViewFrameContext.js +3 -2
  18. package/es/components/ViewFrame/ViewFrameContext.js.map +1 -1
  19. package/es/components/ViewFrame/index.d.ts +6 -6
  20. package/es/components/ViewFrame/index.js +9 -6
  21. package/es/components/ViewFrame/index.js.map +1 -1
  22. package/es/components/WordFillView/WordFillContext.d.ts +0 -1
  23. package/es/controls/ChildDocumentSelect/Item.d.ts +2 -2
  24. package/es/controls/ChildDocumentSelect/index.d.ts +6 -6
  25. package/es/controls/DocumentDataIconBar/index.d.ts +3 -3
  26. package/es/controls/DocumentLabel/index.d.ts +2 -2
  27. package/es/controls/DocumentMenu/items/Access.d.ts +2 -2
  28. package/es/controls/DocumentMenu/items/Archive.d.ts +2 -2
  29. package/es/controls/DocumentMenu/items/Copy.d.ts +2 -2
  30. package/es/controls/DocumentMenu/items/CopyReference.d.ts +2 -2
  31. package/es/controls/DocumentMenu/items/Delete.d.ts +4 -4
  32. package/es/controls/DocumentMenu/items/DownloadFiles.d.ts +2 -2
  33. package/es/controls/DocumentMenu/items/Lock.d.ts +3 -3
  34. package/es/controls/DocumentMenu/items/Notifications.d.ts +2 -2
  35. package/es/controls/DocumentMenu/items/OpenInBrowser.d.ts +2 -2
  36. package/es/controls/DocumentMenu/items/OpenReferenceView.d.ts +2 -2
  37. package/es/controls/DocumentMenu/items/OpenWordFillPage.d.ts +2 -2
  38. package/es/controls/DocumentMenu/items/Pin.d.ts +2 -2
  39. package/es/controls/DocumentMenu/items/Print.d.ts +3 -3
  40. package/es/controls/DocumentMenu/items/PrintActivities.d.ts +2 -2
  41. package/es/controls/DocumentMenu/items/Publish.d.ts +4 -4
  42. package/es/controls/DocumentMenu/items/PublishLock.d.ts +2 -2
  43. package/es/controls/DocumentMenu/items/Revert.d.ts +2 -2
  44. package/es/controls/DocumentMenu/items/Unlock.d.ts +3 -3
  45. package/es/controls/DocumentMenu/items/Unpin.d.ts +2 -2
  46. package/es/controls/DocumentStatusLabel/index.d.ts +4 -4
  47. package/es/controls/ToolBar/buttons/Delete.d.ts +3 -3
  48. package/es/controls/ToolBar/buttons/Download.d.ts +3 -3
  49. package/es/controls/ToolBar/buttons/Edit.d.ts +3 -3
  50. package/es/controls/ToolBar/buttons/Open.d.ts +4 -4
  51. package/es/controls/ToolBar/buttons/UpLevel.d.ts +3 -3
  52. package/es/controls/data-icons/FlagIcon/index.d.ts +6 -6
  53. package/es/data/DocumentMetaStore.d.ts +0 -1
  54. package/es/data/contexts/DocumentListContext/index.d.ts +0 -1
  55. package/es/data/email-template/metas.d.ts +0 -1
  56. package/es/data/metas/ContainerMeta.d.ts +0 -1
  57. package/es/data/metas/DocumentRegisterMeta.d.ts +0 -1
  58. package/es/data/metas/FileTypeMeta.d.ts +0 -1
  59. package/es/data/metas/GraphMeta.d.ts +0 -1
  60. package/es/data/metas/LibraryMeta.d.ts +0 -1
  61. package/es/data/metas/PageMeta.d.ts +0 -1
  62. package/es/data/metas/ShortcutMeta.d.ts +0 -1
  63. package/es/data/metas/SignEnvelopeMeta.d.ts +0 -1
  64. package/es/data/metas/TextMeta.d.ts +0 -1
  65. package/es/modules/document-register/controls/DocumentRegisterStatusLabel/index.d.ts +1 -1
  66. package/es/modules/email-template/components/CodeMirror/index.d.ts +3 -3
  67. package/es/modules/graph/control/GraphMenu/item/OpenEditor.d.ts +2 -2
  68. package/es/modules/page/components/PageItemHeader/index.d.ts +3 -3
  69. package/es/modules/page/data/PageContext.d.ts +0 -1
  70. package/es/modules/tenant-service/components/StringDynamicField/index.d.ts +1 -1
  71. package/es/modules/tenant-service/components/TenantServiceList/index.d.ts +4 -4
  72. package/es/modules/tenant-service-execution/components/TenantServiceExecutionList/index.d.ts +4 -4
  73. package/es/obsolete/EmailTemplate/CodeMirror/index.d.ts +3 -3
  74. package/es/obsolete/EmailTemplate/EmailTemplateSelect/index.d.ts +2 -2
  75. package/es/pages/Signature/Envelope/components/ReasonDialog/index.d.ts +1 -1
  76. package/es/pages/Signature/Envelope/components/RemindersDialog/index.d.ts +1 -1
  77. package/es/pages/Signature/Envelope/components/RemoveSignatureDialog/index.d.ts +2 -2
  78. package/es/pages/Signature/Envelope/components/SendDialog/index.d.ts +3 -3
  79. package/es/pages/Signature/Letter/LetterItem/index.d.ts +4 -4
  80. package/es/pages/Signature/Letter/LetterList/index.d.ts +6 -6
  81. package/es/pages/Signature/Letter/LetterRecipientItem/index.d.ts +2 -2
  82. package/es/pages/Signature/Letter/LetterViewer/index.d.ts +1 -1
  83. package/es/pages/Signature/SignatureTable/RemoveSignatureDialog.d.ts +2 -2
  84. package/es/pages/Signature/SigningReminderDialog/index.d.ts +1 -1
  85. package/es/pages/Signature/data/EnvelopeContext.d.ts +0 -1
  86. package/es/pages/VSubmit/components/EmailRecipients/index.d.ts +3 -3
  87. package/es/views/ExplorerView/ExplorerView2.d.ts +6 -0
  88. package/es/views/ExplorerView/ExplorerView2.js +37 -0
  89. package/es/views/ExplorerView/ExplorerView2.js.map +1 -0
  90. package/es/views/ExplorerView/index.d.ts +0 -1
  91. package/es/views/ExplorerView/index.js +4 -33
  92. package/es/views/ExplorerView/index.js.map +1 -1
  93. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const Access: (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 Access;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const Archive: (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 Archive;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const Copy: (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 Copy;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const CopyReference: (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 CopyReference;
@@ -1,12 +1,12 @@
1
1
  import React from "react";
2
2
  declare const Delete: (props: {
3
3
  /** disabled Button */
4
- disabled?: boolean | undefined;
4
+ disabled?: boolean;
5
5
  /** 关闭Aside */
6
- closeAside?: boolean | undefined;
6
+ closeAside?: boolean;
7
7
  /** 需不需要查 system */
8
- isCheckSystem?: boolean | undefined;
8
+ isCheckSystem?: boolean;
9
9
  /** function of Click */
10
- action?: ((context?: any) => void) | undefined;
10
+ action?: (context?: any) => void;
11
11
  }) => React.JSX.Element;
12
12
  export default Delete;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const DownloadFiles: (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 DownloadFiles;
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  declare const Lock: (props: {
3
- style?: React.CSSProperties | undefined;
3
+ style?: React.CSSProperties;
4
4
  /** disabled Button */
5
- disabled?: boolean | undefined;
5
+ disabled?: boolean;
6
6
  /** function of Click */
7
- action?: ((context?: any) => void) | undefined;
7
+ action?: (context?: any) => void;
8
8
  }) => React.JSX.Element;
9
9
  export default Lock;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const Notifications: (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 Notifications;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const OpenInBrowser: (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 OpenInBrowser;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const OpenReferenceView: (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 OpenReferenceView;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const OpenWordFillPage: (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 OpenWordFillPage;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const Pin: (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 Pin;
@@ -1,10 +1,10 @@
1
1
  import React from "react";
2
2
  declare const Print: (props: {
3
3
  /** disabled Button */
4
- disabled?: boolean | undefined;
4
+ disabled?: boolean;
5
5
  /** url of open new page eg:`meeting/print/${id}` */
6
- url?: string | undefined;
6
+ url?: string;
7
7
  /** function of Click */
8
- action?: ((context?: any) => void) | undefined;
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 | undefined;
5
+ disabled?: boolean;
6
6
  /** function of Click */
7
- action?: ((context?: any) => void) | undefined;
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 | undefined;
3
+ style?: React.CSSProperties;
4
4
  /** disabled Button */
5
- disabled?: boolean | undefined;
5
+ disabled?: boolean;
6
6
  /** 需不需要查 system */
7
- isCheckSystem?: boolean | undefined;
7
+ isCheckSystem?: boolean;
8
8
  /** function of Click */
9
- action?: ((context?: any) => void) | undefined;
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 | 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 PublishLock;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const Revert: (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 Revert;
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  declare const Unlock: (props: {
3
- style?: React.CSSProperties | undefined;
3
+ style?: React.CSSProperties;
4
4
  /** disabled Button */
5
- disabled?: boolean | undefined;
5
+ disabled?: boolean;
6
6
  /** function of Click */
7
- action?: ((context?: any) => void) | undefined;
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 | 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 Unpin;
@@ -6,9 +6,9 @@ declare const DocumentStatusLabel: (props: {
6
6
  displayName?: string;
7
7
  }[];
8
8
  /** The current status */
9
- status?: string | undefined;
10
- className?: string | undefined;
11
- editable?: boolean | undefined;
12
- onChange?: ((params: any) => void) | undefined;
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" | undefined;
5
+ size?: "small" | "middle" | "large";
6
6
  /** disabled Button */
7
- disabled?: boolean | undefined;
7
+ disabled?: boolean;
8
8
  /** function of Click */
9
- action?: ((context?: any) => void) | undefined;
9
+ action?: (context?: any) => void;
10
10
  }): React.JSX.Element;
11
11
  defaultProps: {
12
12
  size: string;
@@ -2,11 +2,11 @@ import React from "react";
2
2
  declare const Download: {
3
3
  (props: {
4
4
  /** size of Button */
5
- size?: "small" | "middle" | "large" | undefined;
5
+ size?: "small" | "middle" | "large";
6
6
  /** disabled Button */
7
- disabled?: boolean | undefined;
7
+ disabled?: boolean;
8
8
  /** function of Click */
9
- action?: ((context?: any) => void) | undefined;
9
+ action?: (context?: any) => void;
10
10
  }): React.JSX.Element;
11
11
  defaultProps: {
12
12
  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" | undefined;
5
+ size?: "small" | "middle" | "large";
6
6
  /** disabled Button */
7
- disabled?: boolean | undefined;
7
+ disabled?: boolean;
8
8
  /** function of Click */
9
- action?: ((context?: any) => void) | undefined;
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" | undefined;
5
+ size?: "small" | "middle" | "large";
6
6
  /** disabled Button */
7
- disabled?: boolean | undefined;
7
+ disabled?: boolean;
8
8
  /** url of open new page */
9
- url?: string | undefined;
9
+ url?: string;
10
10
  /** function of Click */
11
- action?: ((context?: any) => void) | undefined;
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" | undefined;
7
+ size?: "small" | "middle" | "large";
8
8
  /** disabled Button */
9
- disabled?: boolean | undefined;
9
+ disabled?: boolean;
10
10
  /** function of Click */
11
- action?: ((context?: any) => void) | undefined;
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 | undefined;
7
- flag?: "None" | "Star" | "Urgent" | undefined;
6
+ editable?: boolean;
7
+ flag?: "None" | "Star" | "Urgent";
8
8
  icon?: any;
9
- color?: string | undefined;
10
- size?: "lg" | "sm" | "xs" | undefined;
11
- className?: string | undefined;
12
- onchange?: ((params?: any) => void) | undefined;
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 { Store } from "@voplus/morpho-data";
4
3
  export declare class DocumentMetaStore extends Store implements IDocumentMetaStore {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare class DocumentListContextState {
3
2
  /** active?: string (文件id) 在DocumentSortableTree-FileExplorerTheme需要用到,显示点击当前的item的active效果 */
4
3
  active?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IDocument, QuickViewProps } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "../DocumentMetaStore";
4
3
  /** Meta information for EmailTemplate document. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DefaultDocumentTypeMeta } from "../..";
3
2
  import { IDocumentMetaStore } from "@voplus/morpho-document-core";
4
3
  /** Meta information for graph. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IDocument, QuickViewProps, IDocumentMetaStore } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "../DocumentMetaStore";
4
3
  /** Meta information for DocumentRegister document. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IDocument } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "../DocumentMetaStore";
4
3
  /** Meta information for File document. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IDocument, IDocumentMetaStore, QuickViewProps, DocumentMenuProps } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "../..";
4
3
  /** Meta information for graph. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DefaultDocumentTypeMeta } from "../..";
3
2
  import { IDocumentMetaStore } from "@voplus/morpho-document-core";
4
3
  /** Meta information for shortcut. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IDocument, IDocumentMetaStore, QuickViewProps, DocumentMenuProps } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "../..";
4
3
  /** Meta information for shortcut. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IDocument, IDocumentMetaStore, QuickViewProps, DocumentMenuProps } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "../..";
4
3
  /** Meta information for shortcut. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DocumentCardProps, IDocument, IDocumentMetaStore, QuickViewProps, DocumentMenuProps } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "../..";
4
3
  /** Meta information for e-sign envelope. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DocumentMenuProps, IDocument, IDocumentMetaStore, QuickViewProps } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "../..";
4
3
  /** Meta information for shortcut. */
@@ -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 | undefined;
7
+ className?: string;
8
8
  onChange: (status: DocumentRegisterStatus) => void;
9
9
  }) => React.JSX.Element;
10
10
  export default DocumentRegisterStatusLabel;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  declare const CodeMirror: (props: {
3
- code?: string | undefined;
4
- readOnly?: boolean | undefined;
5
- onChange?: ((code: string) => void) | undefined;
3
+ code?: string;
4
+ readOnly?: boolean;
5
+ onChange?: (code: string) => void;
6
6
  }) => React.JSX.Element;
7
7
  export default CodeMirror;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const OpenEditor: (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 OpenEditor;
@@ -4,11 +4,11 @@ declare const PageItemHeader: (props: {
4
4
  id: string;
5
5
  collapse: boolean;
6
6
  connectDragSource?: any;
7
- changeCollapse?: ((collapse: boolean) => void) | undefined;
7
+ changeCollapse?: (collapse: boolean) => void;
8
8
  /** Open new tab button */
9
- openVisible?: boolean | undefined;
9
+ openVisible?: boolean;
10
10
  /** show icon */
11
- iconVisible?: boolean | undefined;
11
+ iconVisible?: boolean;
12
12
  preToolBar?: ReactNode;
13
13
  }) => React.JSX.Element;
14
14
  export default PageItemHeader;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IPageItemState } from "./IPageItemState";
3
2
  export declare class PageContextState {
4
3
  /** All page item states. */
@@ -2,6 +2,6 @@ import React from "react";
2
2
  import { INodeField } from "../../../../data/tenant-service";
3
3
  declare const StringDynamicField: (props: {
4
4
  field: INodeField;
5
- onChange?: ((v: string) => void) | undefined;
5
+ onChange?: (v: string) => void;
6
6
  }) => React.JSX.Element;
7
7
  export default StringDynamicField;
@@ -4,12 +4,12 @@ declare const TenantServiceList: (props: {
4
4
  /** title */
5
5
  viewTitle?: React.ReactNode;
6
6
  /** 是否显示 total */
7
- total?: boolean | undefined;
7
+ total?: boolean;
8
8
  /** 是否允在 listView 内部打开 aside */
9
- asideable?: boolean | undefined;
9
+ asideable?: boolean;
10
10
  /** Call back when received total number of tenant-service. */
11
- onTotal?: ((total: number) => void) | undefined;
11
+ onTotal?: (total: number) => void;
12
12
  /** Call back when an item has been clicked on the list. */
13
- onClickItem?: ((item: ITenantService) => void) | undefined;
13
+ onClickItem?: (item: ITenantService) => void;
14
14
  }) => React.JSX.Element;
15
15
  export default TenantServiceList;
@@ -5,12 +5,12 @@ declare const TenantServiceExecutionList: (props: {
5
5
  /** title */
6
6
  viewTitle?: React.ReactNode;
7
7
  /** 是否显示 total */
8
- total?: boolean | undefined;
8
+ total?: boolean;
9
9
  /** 是否允在 listView 内部打开 aside */
10
- asideable?: boolean | undefined;
10
+ asideable?: boolean;
11
11
  /** Call back when received total number of tenant-service-execution. */
12
- onTotal?: ((total: number) => void) | undefined;
12
+ onTotal?: (total: number) => void;
13
13
  /** Call back when an item has been clicked on the list. */
14
- onClickItem?: ((item: ITenantServiceExecution) => void) | undefined;
14
+ onClickItem?: (item: ITenantServiceExecution) => void;
15
15
  }) => React.JSX.Element;
16
16
  export default TenantServiceExecutionList;
@@ -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;
@@ -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,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;