@voplus/morpho-workspace 6.0.102 → 6.0.104

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. package/es/components/AutoSequenceDialog/index.d.ts +3 -3
  2. package/es/components/AutoSequenceLink/index.d.ts +2 -2
  3. package/es/controls/InlineSearch/index.d.ts +2 -2
  4. package/es/controls/MoreOperateDropdown/index.d.ts +15 -15
  5. package/es/controls/NodeLink/index.d.ts +1 -1
  6. package/es/data/board/contexts/BoardListContextState/index.d.ts +0 -1
  7. package/es/data/board/metas.d.ts +0 -1
  8. package/es/data/meeting/metas.d.ts +0 -1
  9. package/es/data/task/metas.d.ts +0 -1
  10. package/es/data/work/metas.d.ts +0 -1
  11. package/es/data/work-schedule/metas.d.ts +0 -1
  12. package/es/modules/board/components/Board/index.d.ts +1 -1
  13. package/es/modules/board/components/NewBoardColumnDialog/index.d.ts +2 -2
  14. package/es/modules/board/components/NewColumnDocumentForm/index.d.ts +1 -1
  15. package/es/modules/board/components/SubDocument/index.d.ts +2 -2
  16. package/es/modules/meeting/components/AgendaList/AgendaContext.d.ts +0 -1
  17. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.d.ts +5 -5
  18. package/es/modules/meeting/components/MeetingList/QuickSearch/index.d.ts +8 -9
  19. package/es/modules/meeting/components/MeetingPropertiesView/index.js +10 -10
  20. package/es/modules/meeting/components/MeetingPropertiesView/index.js.map +1 -1
  21. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +11 -8
  22. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js.map +1 -1
  23. package/es/modules/notification/components/DocumentNotificationCard/index.d.ts +4 -4
  24. package/es/modules/notification/components/NotificationList/index.d.ts +3 -3
  25. package/es/modules/notification/components/NotificationList/index.less +6 -1
  26. package/es/modules/notification/components/NotificationListHeader/index.d.ts +1 -1
  27. package/es/modules/notification/components/NotificationListHeader/index.js +2 -4
  28. package/es/modules/notification/components/NotificationListHeader/index.js.map +1 -1
  29. package/es/modules/notification/controls/NotificationMenu/item/Send.d.ts +3 -3
  30. package/es/modules/pin/components/MyPinned/index.d.ts +2 -2
  31. package/es/modules/pin/components/PinnedCardList/index.d.ts +3 -3
  32. package/es/modules/tasks/components/AddTaskDropdown/index.d.ts +4 -4
  33. package/es/modules/tasks/components/DelegateDialog/index.d.ts +2 -2
  34. package/es/modules/tasks/components/NewTaskForm/index.d.ts +11 -11
  35. package/es/modules/tasks/components/NotificaitonNewTaskForm/index.d.ts +9 -9
  36. package/es/modules/tasks/components/TaskCheckItem/index.d.ts +2 -2
  37. package/es/modules/tasks/components/TaskCheckNewForm/index.d.ts +4 -4
  38. package/es/modules/tasks/components/TaskPropertiesView/index.js +9 -7
  39. package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
  40. package/es/modules/tasks/controls/TaskStatusLabel/index.d.ts +1 -1
  41. package/es/modules/work/components/NewWorkErrorDialog/index.d.ts +3 -3
  42. package/es/modules/work/components/NewWorkForm/index.d.ts +8 -8
  43. package/es/modules/work/components/RejectWorkDialog/index.d.ts +4 -4
  44. package/es/modules/work/components/WorkCashReport/index.d.ts +1 -1
  45. package/es/modules/work/components/WorkErrorList/index.d.ts +3 -3
  46. package/es/modules/work/components/WorkList/index.d.ts +0 -2
  47. package/es/modules/work/components/WorkList/index.js +2 -2
  48. package/es/modules/work/components/WorkList/index.js.map +1 -1
  49. package/es/modules/work/components/WorkList2/index.d.ts +45 -0
  50. package/es/modules/work/components/WorkList2/index.js +227 -0
  51. package/es/modules/work/components/WorkList2/index.js.map +1 -0
  52. package/es/modules/work/components/WorkList2/index.less +27 -0
  53. package/es/modules/work/components/WorkListHeader/index.d.ts +17 -0
  54. package/es/modules/work/components/WorkListHeader/index.js +26 -0
  55. package/es/modules/work/components/WorkListHeader/index.js.map +1 -0
  56. package/es/modules/work/components/WorkPropertiesView/index.js +4 -11
  57. package/es/modules/work/components/WorkPropertiesView/index.js.map +1 -1
  58. package/es/modules/work/controls/SeveritySelect/index.d.ts +8 -8
  59. package/es/modules/work/controls/WorkErrorSelect/index.d.ts +8 -8
  60. package/es/modules/work/controls/WorkMenu/item/Accept.d.ts +3 -3
  61. package/es/modules/work/controls/WorkMenu/item/Reject.d.ts +3 -3
  62. package/es/modules/work/controls/WorkMenu/item/Send.d.ts +3 -3
  63. package/es/modules/work/controls/WorkStatusLabel/index.d.ts +1 -1
  64. package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/index.d.ts +3 -3
  65. package/es/modules/work/work-type/components/ErrorTypeList/Item.d.ts +5 -5
  66. package/es/modules/work/work-type/components/ErrorTypeList/index.d.ts +6 -6
  67. package/es/modules/work/work-type/components/NewTypeForm/index.d.ts +4 -4
  68. package/es/modules/work/work-type/components/WorkTypeIconList/index.d.ts +1 -1
  69. package/es/modules/work/work-type/components/WorkTypeList/index.d.ts +2 -2
  70. package/es/modules/work/work-type/components/WorkTypeSelect/index.d.ts +5 -5
  71. package/es/modules/work/work-type/controls/WorkTypeStatusLabel/index.d.ts +1 -1
  72. package/es/modules/workspace/components/MyWorkspaces/index.d.ts +3 -3
  73. package/es/modules/workspace/components/NewWorkspaceDialog/index.d.ts +5 -5
  74. package/es/modules/workspace/components/WorkspaceIconList/index.d.ts +5 -5
  75. package/es/modules/workspace/components/WorkspaceIconList2/index.d.ts +2 -2
  76. package/es/obsolete/space/components/Notes/ColorSelect/index.d.ts +3 -3
  77. package/es/obsolete/space/components/Notes/NewNoteDialog/index.d.ts +2 -2
  78. package/package.json +1 -1
@@ -2,8 +2,8 @@ import React from "react";
2
2
  import { ISequenceInfo, SequenceEditOptions } from "../../data/worktype";
3
3
  import "./index.less";
4
4
  declare const AutoSequenceDialog: (props: {
5
- sequence?: ISequenceInfo | undefined;
6
- onCancel?: (() => void) | undefined;
7
- onSubmit?: ((Sequence: SequenceEditOptions) => void) | undefined;
5
+ sequence?: ISequenceInfo;
6
+ onCancel?: () => void;
7
+ onSubmit?: (Sequence: SequenceEditOptions) => void;
8
8
  }) => React.JSX.Element;
9
9
  export default AutoSequenceDialog;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { ISequenceInfo, SequenceEditOptions } from "../../data/worktype";
3
3
  declare const AutoSequenceLink: (props: {
4
- sequence?: ISequenceInfo | undefined;
5
- onSubmit?: ((Sequence: SequenceEditOptions) => void) | undefined;
4
+ sequence?: ISequenceInfo;
5
+ onSubmit?: (Sequence: SequenceEditOptions) => void;
6
6
  }) => React.JSX.Element;
7
7
  export default AutoSequenceLink;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  declare const InlineSearch: (props: {
3
- render?: string | undefined;
4
- onChange?: ((val: string) => void | Promise<void>) | undefined;
3
+ render?: string;
4
+ onChange?: (val: string) => void | Promise<void>;
5
5
  }) => React.JSX.Element;
6
6
  export default InlineSearch;
@@ -1,21 +1,21 @@
1
1
  import React from "react";
2
2
  declare const MoreOperateDropdown: {
3
3
  (props: {
4
- className?: string | undefined;
5
- edit?: boolean | undefined;
6
- del?: boolean | undefined;
7
- move?: boolean | undefined;
8
- paste?: boolean | undefined;
9
- open?: boolean | undefined;
10
- access?: boolean | undefined;
11
- url?: string | undefined;
12
- shape?: boolean | undefined;
13
- size?: "small" | "middle" | "large" | undefined;
14
- onEdit?: ((params?: any) => void) | undefined;
15
- onDelete?: ((params?: any) => void) | undefined;
16
- onMove?: (() => void) | undefined;
17
- onPaste?: (() => void) | undefined;
18
- onAccess?: (() => void) | undefined;
4
+ className?: string;
5
+ edit?: boolean;
6
+ del?: boolean;
7
+ move?: boolean;
8
+ paste?: boolean;
9
+ open?: boolean;
10
+ access?: boolean;
11
+ url?: string;
12
+ shape?: boolean;
13
+ size?: "middle" | "small" | "large";
14
+ onEdit?: (params?: any) => void;
15
+ onDelete?: (params?: any) => void;
16
+ onMove?: () => void;
17
+ onPaste?: () => void;
18
+ onAccess?: () => void;
19
19
  }): React.JSX.Element;
20
20
  defaultProps: {
21
21
  edit: boolean;
@@ -5,6 +5,6 @@ declare const NodeLink: (props: {
5
5
  name: string;
6
6
  };
7
7
  url: string;
8
- onClick?: ((id?: string) => void) | undefined;
8
+ onClick?: (id?: string) => void;
9
9
  }) => React.JSX.Element;
10
10
  export default NodeLink;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare class BoardListContextState {
3
2
  name?: string;
4
3
  /** Construct a new BoardListContextState
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
3
2
  import { IDocument } from "@voplus/morpho-document-core";
4
3
  /** Meta information for Board document. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IDocument, QuickViewProps } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
4
3
  /** Meta information for Meeting document. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IDocument, QuickViewProps, DocumentCardProps, DocumentMenuProps } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
4
3
  /** Meta information for Task document. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IDocument, QuickViewProps, DocumentMenuProps, DocumentCardProps } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
4
3
  /** Meta information for Work document. */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { INode, QuickViewProps } from "@voplus/morpho-document-core";
3
2
  import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
4
3
  export declare class WorkScheduleMeta extends DefaultDocumentTypeMeta {
@@ -2,6 +2,6 @@ import "swiper/css";
2
2
  import React from "react";
3
3
  declare const Board: (props: {
4
4
  parentId: string;
5
- onAdd?: ((parentId: string, type: string, name: string) => void) | undefined;
5
+ onAdd?: (parentId: string, type: string, name: string) => void;
6
6
  }) => React.JSX.Element;
7
7
  export default Board;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  declare const NewBoardColumnDialog: (props: {
3
3
  parentId: string;
4
- onCancel?: (() => void) | undefined;
5
- onCreate?: ((name?: string) => void) | undefined;
4
+ onCancel?: () => void;
5
+ onCreate?: (name?: string) => void;
6
6
  }) => React.JSX.Element;
7
7
  export default NewBoardColumnDialog;
@@ -3,6 +3,6 @@ declare const NewColumnDocumentForm: (props: {
3
3
  parentId: string;
4
4
  type: string;
5
5
  columnName: string;
6
- onCancel?: (() => void) | undefined;
6
+ onCancel?: () => void;
7
7
  }) => React.JSX.Element;
8
8
  export default NewColumnDocumentForm;
@@ -2,9 +2,9 @@ import React from "react";
2
2
  declare const SubDocument: (props: {
3
3
  id: string;
4
4
  /** Droppable type */
5
- listType?: string | undefined;
5
+ listType?: string;
6
6
  /** sub-document length ids */
7
- onDocumentData?: ((params?: any) => void) | undefined;
7
+ onDocumentData?: (params?: any) => void;
8
8
  /** move 目标数据 */
9
9
  destination?: any;
10
10
  /** move 原数据 */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IAgendaItemState {
3
2
  /** Collapse or expand the Agenda item. */
4
3
  collapse: boolean;
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  declare const _default: React.ForwardRefExoticComponent<{
3
- id?: string | undefined;
4
- single?: boolean | undefined;
5
- addOnly?: boolean | undefined;
6
- onChange?: ((params?: any) => void) | undefined;
7
- onCancel?: (() => void) | undefined;
3
+ id?: string;
4
+ single?: boolean;
5
+ addOnly?: boolean;
6
+ onChange?: (params?: any) => void;
7
+ onCancel?: () => void;
8
8
  } & React.RefAttributes<unknown>>;
9
9
  export default _default;
@@ -1,17 +1,16 @@
1
1
  import React, { CSSProperties } from "react";
2
- import style from "./index.less";
3
2
  declare const QuickSearch: {
4
3
  (props: {
5
4
  /** reset 默认值标识/parentId */
6
- renderId?: string | undefined;
7
- title?: string | undefined;
8
- placeholder?: string | undefined;
5
+ renderId?: string;
6
+ title?: string;
7
+ placeholder?: string;
9
8
  /** width of Input */
10
- width?: string | undefined;
11
- onChange?: ((value: string) => void) | undefined;
12
- onPressEnter?: ((value: string) => void | Promise<void>) | undefined;
13
- className?: string | undefined;
14
- style?: React.CSSProperties | undefined;
9
+ width?: string;
10
+ onChange?: (value: string) => void;
11
+ onPressEnter?: (value: string) => void | Promise<void>;
12
+ className?: string;
13
+ style?: CSSProperties;
15
14
  }): React.JSX.Element;
16
15
  defaultProps: {
17
16
  width: string;
@@ -1,8 +1,7 @@
1
- import { Archive, Open, Print, Reload } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
2
- import { CommentDataIcon, DocumentDataIcon } from "@voplus/morpho-document/es/controls/data-icons";
1
+ import { Archive, Open, Print, Reload, Close, } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
3
2
  import React, { useMemo, useState } from "react";
4
3
  import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
5
- import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
4
+ import DocumentPropertiesHeader from "@voplus/morpho-document/es/components/DocumentPropertiesHeader";
6
5
  import MeetingTabs from "../MeetingTabs";
7
6
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
8
7
  import { observe } from "@voplus/morpho-ui";
@@ -16,13 +15,14 @@ const MeetingPropertiesView = (props) => {
16
15
  const meeting = useMeeting(id);
17
16
  return observe(() => (React.createElement(ViewContext.Provider, { value: view },
18
17
  React.createElement("div", { className: "module-detail-view" }, reload && (React.createElement(React.Fragment, null,
19
- React.createElement(DocumentHeader, { id: id, size: "h3", autoSaveName: true, quickDataBarAlign: "left", clickNameEffect: "edit", flagVisible: false, quickVisible: false, tagsVisible: false, descriptionVisible: false, quickDataBar: React.createElement(React.Fragment, null,
20
- React.createElement(DocumentDataIcon, { id: id, includes: "tags,task-number-reports" }),
21
- React.createElement(CommentDataIcon, { id: id })), tools: React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
22
- React.createElement(Reload, { action: onReLoad }),
23
- React.createElement(Open, { url: meta.getRoute(meeting) }),
24
- React.createElement(Archive, null),
25
- React.createElement(Print, { url: `meeting/print/${id}` })) }),
18
+ React.createElement(DocumentPropertiesHeader, { id: id, documentHeaderProper: {
19
+ tools: (React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
20
+ React.createElement(Reload, { action: onReLoad }),
21
+ React.createElement(Open, { url: meta.getRoute(meeting) }),
22
+ React.createElement(Archive, null),
23
+ React.createElement(Print, { url: `meeting/print/${id}` }),
24
+ React.createElement(Close, null))),
25
+ } }),
26
26
  React.createElement(MeetingTabs, { id: id, properties: true })))))));
27
27
  /** reload data */
28
28
  function onReLoad() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAElE,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,qBAAqB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACvD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,IAAI,GAAG,YAAY,EAAE,CA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AChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,MAAM,EACN,KAAK,GACL,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,wBAAwB,MAAM,gEAAgE,CAAC;AACtG,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,qBAAqB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACvD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC;IAE/B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,6BAAK,SAAS,EAAC,oBAAoB,IACjC,MAAM,IAAI,CACV,oBAAC,KAAK,CAAC,QAAQ;YACd,oBAAC,wBAAwB,IACxB,EAAE,EAAE,EAAE,EACN,oBAAoB,EAAE;oBACrB,KAAK,EAAE,CACN,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;wBAC/C,oBAAC,MAAM,IAAC,MAAM,EAAE,QAAQ,GAAI;wBAC5B,oBAAC,IAAI,IAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAI;wBACrC,oBAAC,OAAO,OAAG;wBACX,oBAAC,KAAK,IAAC,GAAG,EAAE,iBAAiB,EAAE,EAAE,GAAI;wBACrC,oBAAC,KAAK,OAAG,CACA,CACV;iBACD,GACA;YACF,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,SAAG,CAClB,CACjB,CACI,CACgB,CACvB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,qBAAqB,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import "./index.less";
2
- import { Archive, Open, Reload } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
2
+ import { Archive, Open, Reload, Close } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
3
3
  import React, { useMemo, useState } from "react";
4
4
  import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
5
5
  import { useDocument, useMetaStore } from "@voplus/morpho-document-core";
6
6
  import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
7
- import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
7
+ import DocumentPropertiesHeader from "@voplus/morpho-document/es/components/DocumentPropertiesHeader";
8
8
  import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
9
9
  import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
10
10
  import Links from "@voplus/morpho-document/es/components/Links";
@@ -20,11 +20,14 @@ const MeetingsFolderPropertiesView = (props) => {
20
20
  const [activeKey, setActiveKey] = useState();
21
21
  return observe(() => (React.createElement(ViewContext.Provider, { value: view },
22
22
  React.createElement("div", { className: "module-detail-view" }, reload && (React.createElement(React.Fragment, null,
23
- React.createElement(DocumentHeader, { id: id, size: "h3", quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, tools: React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
24
- React.createElement(Open, { url: meta.getRoute(document) }),
25
- React.createElement(Reload, { action: onReload }),
26
- React.createElement(Archive, null)) }),
27
- React.createElement(DocumentTabs, { id: id, active: "Meetings", tabItems: [
23
+ React.createElement(DocumentPropertiesHeader, { id: id, documentHeaderProper: {
24
+ tools: (React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
25
+ React.createElement(Reload, { action: onReload }),
26
+ React.createElement(Open, { url: meta.getRoute(document) }),
27
+ React.createElement(Archive, null),
28
+ React.createElement(Close, null))),
29
+ } }),
30
+ React.createElement(DocumentTabs, { id: id, active: "Meetings", properties: true, tabItems: [
28
31
  {
29
32
  key: "Meetings",
30
33
  label: "Meetings",
@@ -34,7 +37,7 @@ const MeetingsFolderPropertiesView = (props) => {
34
37
  {
35
38
  key: "Document",
36
39
  label: "Document",
37
- children: (React.createElement(DocumentList, { id: id, multiple: true, viewTitle: " ", total: false, exclude: ["Meeting"] })),
40
+ children: (React.createElement(DocumentList, { id: id, multiple: true, viewTitle: false, total: false, exclude: ["Meeting"] })),
38
41
  },
39
42
  {
40
43
  key: "Activities",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","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,EAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAI,CAC5E;qBACD;oBACD;wBACC,GAAG,EAAE,OAAO;wBACZ,KAAK,EAAE,OAAO;wBACd,QAAQ,EAAE,oBAAC,KAAK,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,GAAI;qBAC3C;iBACD,EACD,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACc,CACjB,CACI,CACgB,CACvB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingsFolderProperitesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,qDAAqD,CAAC;AACnG,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,wBAAwB,MAAM,gEAAgE,CAAC;AACtG,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,OAAO,MAAM,sDAAsD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;wBACjB,QAAQ,EAAE,CACT,6BAAK,SAAS,EAAC,iCAAiC;4BAC/C,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAAI,CACrD,CACN;qBACD;oBACD;wBACC,GAAG,EAAE,UAAU;wBACf,KAAK,EAAE,UAAU;wBACjB,QAAQ,EAAE,CACT,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,QAAQ,QACR,SAAS,EAAE,KAAK,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,CAAC,SAAS,CAAC,GACnB,CACF;qBACD;oBACD;wBACC,GAAG,EAAE,YAAY;wBACjB,KAAK,EAAE,YAAY;wBACnB,QAAQ,EAAE,CACT,0CAAG,SAAS,KAAK,YAAY,CAAC,CAAC,CAAC,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAI,CAC5E;qBACD;oBACD;wBACC,GAAG,EAAE,OAAO;wBACZ,KAAK,EAAE,OAAO;wBACd,QAAQ,EAAE,oBAAC,KAAK,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,GAAI;qBAC3C;iBACD,EACD,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACc,CACjB,CACI,CACgB,CACvB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -2,9 +2,9 @@ import { NotificationStatus } from "../../../../data/notification";
2
2
  import React from "react";
3
3
  declare const DocumentNotificationCard: (props: {
4
4
  id: string;
5
- active?: boolean | undefined;
6
- className?: string | undefined;
7
- onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
8
- onChangeStatus?: ((state: NotificationStatus) => void) | undefined;
5
+ active?: boolean;
6
+ className?: string;
7
+ onClick?: React.MouseEventHandler<HTMLDivElement>;
8
+ onChangeStatus?: (state: NotificationStatus) => void;
9
9
  }) => React.JSX.Element;
10
10
  export default DocumentNotificationCard;
@@ -5,9 +5,9 @@ declare const NotificationList: (props: {
5
5
  /** status of notifications shown on the list. */
6
6
  status: string;
7
7
  /** The current active item */
8
- active?: string | undefined;
8
+ active?: string;
9
9
  /** Call back when an item has been clicked on the list. */
10
- onClickItem?: ((ev: React.MouseEvent<HTMLDivElement, MouseEvent>, item: INotification) => void) | undefined;
11
- onClickStatus?: ((status: string) => void) | undefined;
10
+ onClickItem?: (ev: React.MouseEvent<HTMLDivElement, MouseEvent>, item: INotification) => void;
11
+ onClickStatus?: (status: string) => void;
12
12
  }) => React.JSX.Element;
13
13
  export default NotificationList;
@@ -5,6 +5,7 @@
5
5
  padding: 0 !important;
6
6
  background: #fff;
7
7
  }
8
+
8
9
  .my-space-notifications {
9
10
  height: 100%;
10
11
  display: flex;
@@ -13,6 +14,7 @@
13
14
  .board-header-content {
14
15
  padding-left: 24px;
15
16
  }
17
+
16
18
  .list-view-header-tool {
17
19
  padding: 10px 24px 20px;
18
20
  }
@@ -24,16 +26,19 @@
24
26
  color: @default-border-color;
25
27
  border-radius: @default-border-radius;
26
28
  border: 1px solid @default-border-color;
27
- margin-right: 15px;
29
+ margin: 0 15px 10px 0;
30
+
28
31
  &.active {
29
32
  color: @btn-active-color;
30
33
  background: #f4f9ff;
31
34
  border-color: @btn-active-color;
32
35
  }
36
+
33
37
  &.Dismissed {
34
38
  margin-right: 0;
35
39
  }
36
40
  }
41
+
37
42
  .ant-divider-vertical {
38
43
  height: 30px;
39
44
  color: #707070;
@@ -2,6 +2,6 @@ import React from "react";
2
2
  declare const NotificationListHeader: (props: {
3
3
  /** status of notifications shown on the list. */
4
4
  status: string;
5
- onClickStatus?: ((status: string) => void) | undefined;
5
+ onClickStatus?: (status: string) => void;
6
6
  }) => React.JSX.Element;
7
7
  export default NotificationListHeader;
@@ -35,7 +35,7 @@ const NotificationListHeader = (props) => {
35
35
  active: statusActive === item,
36
36
  }), onClick: () => onClickStatus(item) },
37
37
  item,
38
- item !== "All" && (React.createElement(React.Fragment, null,
38
+ item !== "All" && item !== "Dismissed" && (React.createElement(React.Fragment, null,
39
39
  "\u00A0(",
40
40
  item === "Unread"
41
41
  ? nContext.notificationTotals.unread
@@ -43,9 +43,7 @@ const NotificationListHeader = (props) => {
43
43
  ? nContext.notificationTotals.read
44
44
  : item === "Later"
45
45
  ? nContext.notificationTotals.later
46
- : item === "Dismissed"
47
- ? nContext.notificationTotals.dismissed
48
- : 0,
46
+ : 0,
49
47
  ")"))))),
50
48
  context.host.isTest && React.createElement(Divider, { type: "vertical" }))) }))));
51
49
  function onClickStatus(item) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AACzE,OAAO,cAAc,MAAM,+DAA+D,CAAC;AAC3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,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MAAM,EAAE,YAAY,KAAK,IAAI;qBAC7B,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC;oBAEjC,IAAI;oBACJ,IAAI,KAAK,KAAK,IAAI,CAClB;;wBAEE,IAAI,KAAK,QAAQ;4BACjB,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC,MAAM;4BACpC,CAAC,CAAC,IAAI,KAAK,MAAM;gCACjB,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;gCAClC,CAAC,CAAC,IAAI,KAAK,OAAO;oCAClB,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK;oCACnC,CAAC,CAAC,IAAI,KAAK,WAAW;wCACtB,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC,SAAS;wCACvC,CAAC,CAAC,CAAC;4BAEF,CACH,CACO,CACT,CAAC;gBAED,OAAO,CAAC,IAAI,CAAC,MAAM,IAAI,oBAAC,OAAO,IAAC,IAAI,EAAC,UAAU,GAAG,CAC9C,CACN,GACA,CACG,CACN,CAAC,CAAC;IAEH,SAAS,aAAa,CAAC,IAAY;;QAClC,eAAe,CAAC,IAAI,CAAC,CAAC;QACtB,MAAA,KAAK,CAAC,aAAa,sDAAG,IAAI,CAAC,CAAC;IAC7B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AACzE,OAAO,cAAc,MAAM,+DAA+D,CAAC;AAC3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,yBAAyB,EAAE,EACzD,QAAQ,EAAE,GAAG,EAAE,CAAC,CACf,6BAAK,SAAS,EAAC,sBAAsB;gBACnC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5B,oBAAC,MAAM,IACN,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,UAAU,CAAC,IAAI,EAAE;wBAC3B,MAAM,EAAE,YAAY,KAAK,IAAI;qBAC7B,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC;oBAEjC,IAAI;oBACJ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,WAAW,IAAI,CAC1C;;wBAEE,IAAI,KAAK,QAAQ;4BACjB,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC,MAAM;4BACpC,CAAC,CAAC,IAAI,KAAK,MAAM;gCACjB,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;gCAClC,CAAC,CAAC,IAAI,KAAK,OAAO;oCAClB,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK;oCACnC,CAAC,CAAC,CAAC;4BAEF,CACH,CACO,CACT,CAAC;gBAED,OAAO,CAAC,IAAI,CAAC,MAAM,IAAI,oBAAC,OAAO,IAAC,IAAI,EAAC,UAAU,GAAG,CAC9C,CACN,GACA,CACG,CACN,CAAC,CAAC;IAEH,SAAS,aAAa,CAAC,IAAY;;QAClC,eAAe,CAAC,IAAI,CAAC,CAAC;QACtB,MAAA,KAAK,CAAC,aAAa,sDAAG,IAAI,CAAC,CAAC;IAC7B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  declare const Send: (props: {
3
3
  /** disabled Button */
4
- disabled?: boolean | undefined;
4
+ disabled?: boolean;
5
5
  /** function of Click */
6
- action?: ((context?: any) => void) | undefined;
7
- className?: string | undefined;
6
+ action?: (context?: any) => void;
7
+ className?: string;
8
8
  }) => React.JSX.Element;
9
9
  export default Send;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  declare const MyPinned: (props: {
3
- active?: string | undefined;
3
+ active?: string;
4
4
  /** Call back when an item has been clicked on the list. */
5
- onClickItem?: ((id: string) => void) | undefined;
5
+ onClickItem?: (id: string) => void;
6
6
  }) => React.JSX.Element;
7
7
  export default MyPinned;
@@ -4,8 +4,8 @@ import { IconProp } from "@fortawesome/fontawesome-svg-core";
4
4
  declare const PinnedCardList: (props: {
5
5
  list: IDocument[];
6
6
  title: string;
7
- icon?: IconProp | undefined;
8
- onItemClick?: ((id: string) => void) | undefined;
9
- className?: string | undefined;
7
+ icon?: IconProp;
8
+ onItemClick?: (id: string) => void;
9
+ className?: string;
10
10
  }) => React.JSX.Element;
11
11
  export default PinnedCardList;
@@ -2,9 +2,9 @@ import React from "react";
2
2
  /** taskList 新增 下列更多菜单*/
3
3
  declare const AddTaskDropdown: (props: {
4
4
  id: string;
5
- className?: string | undefined;
6
- iconColor?: string | undefined;
7
- onCancelClick?: (() => void) | undefined;
8
- onItemClick?: ((type: string) => void) | undefined;
5
+ className?: string;
6
+ iconColor?: string;
7
+ onCancelClick?: () => void;
8
+ onItemClick?: (type: string) => void;
9
9
  }) => React.JSX.Element;
10
10
  export default AddTaskDropdown;
@@ -5,7 +5,7 @@ declare const DelegateDialog: (props: {
5
5
  name: string;
6
6
  id: string;
7
7
  }[];
8
- onCancel?: (() => void) | undefined;
9
- onSubmit?: (() => void) | undefined;
8
+ onCancel?: () => void;
9
+ onSubmit?: () => void;
10
10
  }) => React.JSX.Element;
11
11
  export default DelegateDialog;
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import "./index.less";
3
3
  declare const NewTaskForm: (props: {
4
- parentId?: string | undefined;
5
- simple?: boolean | undefined;
6
- className?: string | undefined;
7
- block?: boolean | undefined;
8
- showView?: boolean | undefined;
4
+ parentId?: string;
5
+ simple?: boolean;
6
+ className?: string;
7
+ block?: boolean;
8
+ showView?: boolean;
9
9
  /** New Task (For Self) */
10
- self?: boolean | undefined;
10
+ self?: boolean;
11
11
  /** Description 默认值 */
12
- description?: string | undefined;
13
- onSave?: ((params?: any) => void) | undefined;
14
- onSubmitSave?: ((params?: any) => void) | undefined;
15
- onCancel?: (() => void) | undefined;
16
- onShowMore?: (() => void) | undefined;
12
+ description?: string;
13
+ onSave?: (params?: any) => void;
14
+ onSubmitSave?: (params?: any) => void;
15
+ onCancel?: () => void;
16
+ onShowMore?: () => void;
17
17
  }) => React.JSX.Element;
18
18
  export default NewTaskForm;
@@ -1,17 +1,17 @@
1
1
  import React from "react";
2
2
  import "./index.less";
3
3
  declare const NotificationNewTaskForm: (props: {
4
- parentId?: string | undefined;
5
- className?: string | undefined;
6
- showView?: boolean | undefined;
4
+ parentId?: string;
5
+ className?: string;
6
+ showView?: boolean;
7
7
  /** New Task (For Self) */
8
- self?: boolean | undefined;
8
+ self?: boolean;
9
9
  /** title 默认值 */
10
- title?: string | undefined;
10
+ title?: string;
11
11
  /** Description 默认值 */
12
- description?: string | undefined;
13
- onSave?: ((params?: any) => void) | undefined;
14
- onSubmitSave?: ((params?: any) => void) | undefined;
15
- onCancel?: (() => void) | undefined;
12
+ description?: string;
13
+ onSave?: (params?: any) => void;
14
+ onSubmitSave?: (params?: any) => void;
15
+ onCancel?: () => void;
16
16
  }) => React.JSX.Element;
17
17
  export default NotificationNewTaskForm;
@@ -3,7 +3,7 @@ import "./index.less";
3
3
  declare const TaskCheckItem: (props: {
4
4
  id: string;
5
5
  /** 是否显示dueDate */
6
- dueDate?: boolean | undefined;
7
- onChangeDueDate?: ((dueDate?: Date) => void) | undefined;
6
+ dueDate?: boolean;
7
+ onChangeDueDate?: (dueDate?: Date) => void;
8
8
  }) => React.JSX.Element;
9
9
  export default TaskCheckItem;
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  import "./index.less";
3
3
  declare const TaskCheckNewForm: (props: {
4
- parentId?: string | undefined;
5
- className?: string | undefined;
6
- onSave?: ((params?: any) => void) | undefined;
7
- onCancel?: (() => void) | undefined;
4
+ parentId?: string;
5
+ className?: string;
6
+ onSave?: (params?: any) => void;
7
+ onCancel?: () => void;
8
8
  }) => React.JSX.Element;
9
9
  export default TaskCheckNewForm;
@@ -1,9 +1,8 @@
1
1
  import "./index.less";
2
- import { Archive, Open, Reload } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
2
+ import { Archive, Open, Reload, Close } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
3
3
  import React, { useMemo, useState } from "react";
4
4
  import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
5
- import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
6
- import TaskDataIconBar from "../../controls/TaskDataIconBar";
5
+ import DocumentPropertiesHeader from "@voplus/morpho-document/es/components/DocumentPropertiesHeader";
7
6
  import TaskTabs from "../TaskTabs";
8
7
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
9
8
  import { observe } from "@voplus/morpho-ui";
@@ -16,10 +15,13 @@ const TaskPropertiesView = (props) => {
16
15
  const task = useTask(id, { reload: true, includes: "tags,task-number-reports,createdby,folder" });
17
16
  const [loaded, setLoaded] = useState(true);
18
17
  return observe(() => (React.createElement(ViewContext.Provider, { value: view }, loaded && (React.createElement("div", { className: "module-detail-view" },
19
- React.createElement(DocumentHeader, { id: id, size: "h3", quickVisible: false, tagsVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, className: "task-properties-view-header", quickDataBar: React.createElement(TaskDataIconBar, { id: id }), tools: React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
20
- React.createElement(Reload, { action: onReload }),
21
- React.createElement(Open, { url: meta.getRoute(task) }),
22
- React.createElement(Archive, null)), descriptionVisible: false }),
18
+ React.createElement(DocumentPropertiesHeader, { id: id, documentHeaderProper: {
19
+ tools: (React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
20
+ React.createElement(Reload, { action: onReload }),
21
+ React.createElement(Open, { url: meta.getRoute(task) }),
22
+ React.createElement(Archive, null),
23
+ React.createElement(Close, null))),
24
+ } }),
23
25
  React.createElement(TaskTabs, { id: id, properties: true }))))));
24
26
  /** reload data */
25
27
  function onReload() {