@voplus/morpho-workspace 6.0.108 → 6.0.110

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) 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/controls/NodeLink/index.js +1 -1
  7. package/es/controls/NodeLink/index.js.map +1 -1
  8. package/es/controls/NodeLink/index.less +1 -0
  9. package/es/data/board/contexts/BoardListContextState/index.d.ts +0 -1
  10. package/es/data/board/metas.d.ts +0 -1
  11. package/es/data/meeting/metas.d.ts +0 -1
  12. package/es/data/notification/types.d.ts +1 -0
  13. package/es/data/task/metas.d.ts +0 -1
  14. package/es/data/work/metas.d.ts +0 -1
  15. package/es/data/work-schedule/metas.d.ts +0 -1
  16. package/es/modules/board/components/Board/index.d.ts +1 -1
  17. package/es/modules/board/components/BoardColumn/index.less +1 -1
  18. package/es/modules/board/components/BoardPropertiesView/index.js +1 -1
  19. package/es/modules/board/components/BoardPropertiesView/index.js.map +1 -1
  20. package/es/modules/board/components/BoardTabs/index.js +1 -1
  21. package/es/modules/board/components/BoardTabs/index.js.map +1 -1
  22. package/es/modules/board/components/NewBoardColumnDialog/index.d.ts +2 -2
  23. package/es/modules/board/components/NewColumnDocumentForm/index.d.ts +1 -1
  24. package/es/modules/board/components/SubDocument/index.d.ts +2 -2
  25. package/es/modules/meeting/components/AgendaList/AgendaContext.d.ts +0 -1
  26. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.d.ts +5 -5
  27. package/es/modules/meeting/components/MeetingList/QuickSearch/index.d.ts +8 -9
  28. package/es/modules/meeting/components/MeetingTabs/index.js +1 -1
  29. package/es/modules/meeting/components/MeetingTabs/index.js.map +1 -1
  30. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +1 -1
  31. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js.map +1 -1
  32. package/es/modules/notification/components/DocumentNotificationCard/index.d.ts +4 -4
  33. package/es/modules/notification/components/NewNotificationForm/NotificationForm.d.ts +6 -1
  34. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +105 -37
  35. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -1
  36. package/es/modules/notification/components/NewNotificationForm/index.less +67 -0
  37. package/es/modules/notification/components/NewNotificationForm/state.d.ts +8 -0
  38. package/es/modules/notification/components/NewNotificationForm/state.js +28 -0
  39. package/es/modules/notification/components/NewNotificationForm/state.js.map +1 -1
  40. package/es/modules/notification/components/NotificationList/index.d.ts +3 -3
  41. package/es/modules/notification/components/NotificationList/index.less +1 -1
  42. package/es/modules/notification/components/NotificationList2/index.d.ts +4 -0
  43. package/es/modules/notification/components/NotificationList2/index.js +2 -2
  44. package/es/modules/notification/components/NotificationList2/index.js.map +1 -1
  45. package/es/modules/notification/components/NotificationListHeader/index.d.ts +1 -1
  46. package/es/modules/notification/controls/NotificationMenu/item/Send.d.ts +3 -3
  47. package/es/modules/pin/components/MyPinned/index.d.ts +2 -2
  48. package/es/modules/pin/components/PinnedCardList/index.d.ts +3 -3
  49. package/es/modules/tasks/components/AddTaskDropdown/index.d.ts +4 -4
  50. package/es/modules/tasks/components/DelegateDialog/index.d.ts +2 -2
  51. package/es/modules/tasks/components/NewTaskForm/index.d.ts +11 -11
  52. package/es/modules/tasks/components/NotificaitonNewTaskForm/index.d.ts +9 -9
  53. package/es/modules/tasks/components/TaskCheckItem/index.d.ts +2 -2
  54. package/es/modules/tasks/components/TaskCheckNewForm/index.d.ts +4 -4
  55. package/es/modules/tasks/components/TaskTabs/index.js +1 -1
  56. package/es/modules/tasks/components/TaskTabs/index.js.map +1 -1
  57. package/es/modules/tasks/controls/TaskStatusLabel/index.d.ts +1 -1
  58. package/es/modules/work/components/NewWorkErrorDialog/index.d.ts +3 -3
  59. package/es/modules/work/components/NewWorkForm/index.d.ts +8 -8
  60. package/es/modules/work/components/RejectWorkDialog/index.d.ts +4 -4
  61. package/es/modules/work/components/WorkCashReport/index.d.ts +1 -1
  62. package/es/modules/work/components/WorkErrorList/index.d.ts +3 -3
  63. package/es/modules/work/components/WorkErrorTabs/index.js +1 -1
  64. package/es/modules/work/components/WorkErrorTabs/index.js.map +1 -1
  65. package/es/modules/work/components/WorkList2/index.less +1 -1
  66. package/es/modules/work/components/WorkTabs/index.js +1 -1
  67. package/es/modules/work/components/WorkTabs/index.js.map +1 -1
  68. package/es/modules/work/controls/SeveritySelect/index.d.ts +8 -8
  69. package/es/modules/work/controls/WorkErrorSelect/index.d.ts +8 -8
  70. package/es/modules/work/controls/WorkMenu/item/Accept.d.ts +3 -3
  71. package/es/modules/work/controls/WorkMenu/item/Reject.d.ts +3 -3
  72. package/es/modules/work/controls/WorkMenu/item/Send.d.ts +3 -3
  73. package/es/modules/work/controls/WorkStatusLabel/index.d.ts +1 -1
  74. package/es/modules/work/work-schedule/components/WorkScheduleTabs/index.js +1 -1
  75. package/es/modules/work/work-schedule/components/WorkScheduleTabs/index.js.map +1 -1
  76. package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/index.d.ts +3 -3
  77. package/es/modules/work/work-type/components/ErrorTypeList/Item.d.ts +5 -5
  78. package/es/modules/work/work-type/components/ErrorTypeList/index.d.ts +6 -6
  79. package/es/modules/work/work-type/components/NewTypeForm/index.d.ts +4 -4
  80. package/es/modules/work/work-type/components/WorkTypeIconList/index.d.ts +1 -1
  81. package/es/modules/work/work-type/components/WorkTypeList/index.d.ts +2 -2
  82. package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js +1 -1
  83. package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js.map +1 -1
  84. package/es/modules/work/work-type/components/WorkTypeSelect/index.d.ts +5 -5
  85. package/es/modules/work/work-type/components/WorkTypeTabs/index.js +1 -1
  86. package/es/modules/work/work-type/components/WorkTypeTabs/index.js.map +1 -1
  87. package/es/modules/work/work-type/controls/WorkTypeStatusLabel/index.d.ts +1 -1
  88. package/es/modules/work/work-type/pages/WorkTypePage/index.js +1 -1
  89. package/es/modules/work/work-type/pages/WorkTypePage/index.js.map +1 -1
  90. package/es/modules/workspace/components/MyWorkspaces/index.d.ts +3 -3
  91. package/es/modules/workspace/components/NewWorkspaceDialog/index.d.ts +5 -5
  92. package/es/modules/workspace/components/WorkspaceIconList/index.d.ts +5 -5
  93. package/es/modules/workspace/components/WorkspaceIconList2/index.d.ts +2 -2
  94. package/es/modules/workspace/components/WorkspaceTabs/index.js +1 -1
  95. package/es/modules/workspace/components/WorkspaceTabs/index.js.map +1 -1
  96. package/es/obsolete/space/components/Notes/ColorSelect/index.d.ts +3 -3
  97. package/es/obsolete/space/components/Notes/NewNoteDialog/index.d.ts +2 -2
  98. 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;
@@ -5,7 +5,7 @@ import styles from "./index.less";
5
5
  const NodeLink = (props) => {
6
6
  const { node, url } = props;
7
7
  return (React.createElement("div", { className: styles["node-link"] },
8
- React.createElement("span", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props, node.id); }, style: { color: "#374151" } }, node === null || node === void 0 ? void 0 : node.name),
8
+ React.createElement("span", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props, node.id); } }, node === null || node === void 0 ? void 0 : node.name),
9
9
  (node === null || node === void 0 ? void 0 : node.id) && (React.createElement(ToolBar2, { id: node.id, showMenu: false },
10
10
  React.createElement(Open, { url: url })))));
11
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/NodeLink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,QAAQ,MAAM,sDAAsD,CAAC;AAC5E,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,QAAQ,GAAG,CAAC,KAIjB,EAAE,EAAE;IACJ,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;IAE5B,OAAO,CACN,6BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC;QAClC,8BAAM,OAAO,EAAE,GAAG,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,OAAO,sDAAG,IAAI,CAAC,EAAE,CAAC,CAAA,EAAA,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,IACxE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,CACL;QACN,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CACZ,oBAAC,QAAQ,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;YACrC,oBAAC,IAAI,IAAC,GAAG,EAAE,GAAG,GAAI,CACR,CACX,CACI,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/NodeLink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,QAAQ,MAAM,sDAAsD,CAAC;AAC5E,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,QAAQ,GAAG,CAAC,KAIjB,EAAE,EAAE;IACJ,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;IAE5B,OAAO,CACN,6BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC;QAClC,8BAAM,OAAO,EAAE,GAAG,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,OAAO,sDAAG,IAAI,CAAC,EAAE,CAAC,CAAA,EAAA,IAC3C,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,CACL;QACN,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,EAAE,KAAI,CACZ,oBAAC,QAAQ,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;YACrC,oBAAC,IAAI,IAAC,GAAG,EAAE,GAAG,GAAI,CACR,CACX,CACI,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,4 +1,5 @@
1
1
  .node-link {
2
+ color: #868686;
2
3
  :global {
3
4
  .tool-bar.tool-bar-2 .ant-btn {
4
5
  font-size: 14px;
@@ -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. */
@@ -24,6 +24,7 @@ export type NotificationEditDataOptions = {
24
24
  status?: NotificationStatus;
25
25
  CreateDate?: dayjs.Dayjs | string;
26
26
  Subject?: string;
27
+ EmailTemplateId?: string;
27
28
  Channels?: ("Email" | "Instant Message")[];
28
29
  };
29
30
  export type NotificationEditOptions = {
@@ -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;
@@ -6,7 +6,7 @@
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  background-color: #ebf5ff;
9
- border-radius: 5px;
9
+ border-radius: @border-radius;
10
10
 
11
11
  &:global(.action) {
12
12
  opacity: 0.5;
@@ -2,7 +2,7 @@ import "./index.less";
2
2
  import { Archive, Reload } 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 ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
5
+ import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityLog2";
6
6
  import DescriptionDocumentList from "@voplus/morpho-document/es/components/DescriptionDocumentList";
7
7
  import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
8
8
  import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AACtF,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAElE,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,uBAAuB,MAAM,+DAA+D,CAAC;AACpG,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,mBAAmB,GAAG,CAAC,KAAwC,EAAE,EAAE;IACxE,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEtE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAAU,CAAC;IAErD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,6BAAK,SAAS,EAAC,oB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CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AACtF,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAElE,OAAO,WAAW,MAAM,4DAA4D,CAAC;AACrF,OAAO,uBAAuB,MAAM,+DAA+D,CAAC;AACpG,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,mBAAmB,GAAG,CAAC,KAAwC,EAAE,EAAE;IACxE,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEtE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAAU,CAAC;IAErD,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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;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,mBAAmB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React, { useState } from "react";
2
- import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
2
+ import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityLog2";
3
3
  import BoardViewList from "../../pages/BoardViewList";
4
4
  import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
5
5
  import Links from "@voplus/morpho-document/es/components/Links";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,aAAa,MAAM,2BAA2B,CAAC;AACtD,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,eAAe,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,cAAc,CAAC;AAEtB,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAAU,CAAC;IACrD,MAAM,CAAC,k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AI,CAAC,0BAGlC,CACT;gBACD,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,EAAE,GAAI,CACzE,GAEN;QACD,kBAAkB,IAAI,CACtB,oBAAC,oBAAoB,IAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,qBAAqB,CAAC,KAAK,CAAC,GAAI,CACpF,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -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,5 +1,5 @@
1
1
  import React, { useState } from "react";
2
- import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
2
+ import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityLog2";
3
3
  import { Badge } from "antd";
4
4
  import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
5
5
  import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,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;;gBAEC,oBAAC,KAAK,IAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAC,gBAAgB,GAAG,CACpD,CACH;YACD,QAAQ,EAAE,CACT,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,QAAC,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,QAAQ,CAAC,GAAI,CACtF;SACD;QACD;YACC,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,0CAAG,SAAS,KAAK,YAAY,CAAC,CAAC,CAAC,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAI;SACtF;QACD;YACC,GAAG,EAAE,OAAO;YACZ,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,oBAAC,KAAK,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,GAAI;SAC3C;KACD,CAAC;IAEF,IAAI,UAAU;QACb,KAAK,CAAC,OAAO,CAAC;YACb,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,oBAAC,iBAAiB,IAAC,EAAE,EAAE,EAAE,GAAI;SACvC,CAAC,CAAC;IAEJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAC,QAAQ,EAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GAAI,CAC/F,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -3,7 +3,7 @@ import { Archive, Open, Reload, Close } from "@voplus/morpho-document/es/control
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
- import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
6
+ import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityLog2";
7
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";
@@ -1 +1 @@
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,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,4BAA4B,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC9D,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG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AAC,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"}
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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;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;
@@ -1,8 +1,13 @@
1
- import "./index.less";
2
1
  import React from "react";
2
+ import "./index.less";
3
3
  export type NewNotificationFormProps = {
4
4
  /** 需要 corporate 或者 customer id */
5
5
  targetId: string;
6
+ /** Recipient (就是corporaete/customer 的 contact), 不能变更 */
7
+ recipient?: {
8
+ id: string;
9
+ name: string;
10
+ };
6
11
  type?: "full" | "mini";
7
12
  showView?: boolean;
8
13
  className?: string;
@@ -1,67 +1,135 @@
1
- import "./index.less";
1
+ import React, { useState } from "react";
2
+ import { State } from "./state";
2
3
  import { observe } from "@voplus/morpho-ui";
4
+ import { Scrollbars } from "react-custom-scrollbars-2";
5
+ import { useNotificationStore } from "../../../../data/notification";
6
+ import { useMessageTemplateStore } from "@voplus/morpho-document/es/data/message-template";
7
+ import { Form, Row, Col, Space, Button, Tabs, Checkbox, Input, message, Skeleton, Empty, } from "antd";
8
+ import { useApplicationContext } from "@voplus/morpho-data";
3
9
  import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
10
+ import MessageTemplateSelect from "@voplus/morpho-document/es/modules/message-template/components/MessageTemplateSelect";
4
11
  import AddFormView from "@voplus/morpho-ui/es/controls/AddFormView";
5
- import { Form, Row, Space, Button, Checkbox, Input, message } from "antd";
6
- import classnames from "classnames";
7
- import React, { useState } from "react";
12
+ import UnitReference from "@voplus/morpho-org/es/controls/UnitReference/LoadedUnitReference";
8
13
  import ProseMirror from "@voplus/morpho-text/es/controls/ProseMirror";
9
- import { useNotificationStore } from "../../../../data/notification";
10
14
  import NotificationPropertiesView from "../NotificationPropertiesView";
11
- import { State } from "./state";
15
+ import classnames from "classnames";
16
+ import "./index.less";
12
17
  const NewNotificationFormContent = (props) => {
18
+ const [state] = useState(new State());
13
19
  const store = useNotificationStore();
20
+ const emailTemplateStore = useMessageTemplateStore();
14
21
  const asideContext = useAsideContentContext();
15
- const [state] = useState(new State());
22
+ const context = useApplicationContext();
23
+ const EmailContentComponent = observe(() => {
24
+ var _a;
25
+ return (React.createElement("div", { className: "email-content-component" },
26
+ React.createElement(Checkbox, { className: "email-content-choose", checked: state.chooseMessageTemplate, onChange: (e) => (state.chooseMessageTemplate = e.target.checked) }, "Draft with email template"),
27
+ React.createElement(Scrollbars, { autoHide: true }, state.chooseMessageTemplate ? (React.createElement(React.Fragment, null,
28
+ React.createElement("div", { className: "email-content-subtitle" }, "Choose Email Template"),
29
+ React.createElement(MessageTemplateSelect, { isLayout: false, onChange: (data) => {
30
+ if (!data)
31
+ return;
32
+ emailTemplateStore.load(data.id, { includes: "placeholders" }).then((res) => {
33
+ var _a;
34
+ state.params.EmailTemplateId = res.id;
35
+ (_a = res.placeholders) === null || _a === void 0 ? void 0 : _a.map((item) => state.placeholderList.push({ Placeholder: item }));
36
+ });
37
+ } }),
38
+ !!((_a = state.placeholderList) === null || _a === void 0 ? void 0 : _a.length) && (React.createElement(Form, { className: "email-content-placeholder-list", scrollToFirstError: true, labelAlign: "left", labelCol: { span: 6 } }, state.placeholderList.map((item, index) => (React.createElement(Form.Item, { label: item.Placeholder, key: index }, item.Placeholder === "Message" ? (React.createElement(ProseMirror, { scroll: true, toolbarProps: { sticky: false }, className: "proseMirror", onChange: (opt) => (item.Value = opt.getInnerHtml()) })) : (React.createElement(Input, { onChange: (e) => (item.Value = e.target.value) }))))))))) : (React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, className: "proseMirror", onChange: (opt) => (state.params.Body = opt.getInnerHtml()) })))));
39
+ });
40
+ const PreviewComponent = observe(() => (React.createElement(Skeleton, { loading: state.loadPreview },
41
+ React.createElement("div", { className: "preview-component" },
42
+ React.createElement("div", { className: "preview-component-header" },
43
+ React.createElement("div", { className: "header-title" }, "Template Preview"),
44
+ React.createElement("div", { className: "header-explain" }, "This is a preview example of your drafting email content")),
45
+ state.params.Body ? React.createElement("iframe", { srcDoc: state.params.Body }) : React.createElement(Empty, null)))));
16
46
  const content = observe(() => (React.createElement("div", { className: classnames("new-notification-form", { "sub-notification-simply-form": props.type === "mini" }, props.className) },
17
47
  React.createElement(Form, { layout: "vertical" },
18
- React.createElement(Form.Item, { label: "Channels" },
19
- React.createElement(Checkbox.Group, { options: [
20
- { label: "Email", value: "Email" },
21
- { label: "Instant Message", value: "Instant Message" },
22
- ], defaultValue: ["Email"], onChange: (checkedValues) => {
23
- if (checkedValues.length === 1) {
24
- state.params.Channels = checkedValues[0] === "Email" ? 1 : 2;
25
- }
26
- else if (checkedValues.length === 2) {
27
- state.params.Channels = 11;
28
- }
29
- else {
30
- state.params.Channels = 0;
31
- }
32
- } })),
33
- React.createElement(Form.Item, { label: "Subject" },
34
- React.createElement(Input, { onChange: (e) => (state.params.Subject = e.target.value) })),
35
- React.createElement(Form.Item, { label: "Body" },
36
- React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, className: "proseMirror", onChange: (opt) => (state.params.Body = opt.getInnerHtml()) })),
37
- props.type === "mini" && (React.createElement(Row, { className: "notification-form-btn", justify: "end" },
38
- React.createElement(Space, null,
39
- React.createElement(Button, { onClick: onCancel }, "Cancel"),
40
- React.createElement(Button, { type: "primary", loading: state.loading, onClick: onSave }, "Submit"))))))));
48
+ React.createElement(Row, null,
49
+ React.createElement(Col, { span: 12 },
50
+ React.createElement(Form.Item, { label: "Recipients" },
51
+ React.createElement("div", { className: "new-notification-recipient" }, props.recipient && React.createElement(UnitReference, { unit: props.recipient, symbol: true, type: "link" })))),
52
+ React.createElement(Col, { span: 12 },
53
+ React.createElement(Form.Item, { label: "CC" })),
54
+ React.createElement(Col, { span: context.host.isTest ? 12 : 0 },
55
+ React.createElement(Form.Item, { label: "Channels" },
56
+ React.createElement(Checkbox.Group, { options: [
57
+ { label: "Email", value: "Email" },
58
+ { label: "Instant Message", value: "Instant Message" },
59
+ ], defaultValue: ["Email"], onChange: (checkedValues) => {
60
+ if (checkedValues.length === 1) {
61
+ state.params.Channels = checkedValues[0] === "Email" ? 1 : 2;
62
+ }
63
+ else if (checkedValues.length === 2) {
64
+ state.params.Channels = 11;
65
+ }
66
+ else {
67
+ state.params.Channels = 0;
68
+ }
69
+ } }))),
70
+ React.createElement(Col, { span: context.host.isTest ? 12 : 24 },
71
+ React.createElement(Form.Item, { label: "Subject" },
72
+ React.createElement(Input, { onChange: (e) => (state.params.Subject = e.target.value) }))))),
73
+ React.createElement(Tabs, { className: "new-notification-form-tabs", defaultActiveKey: "Email Content", onChange: (key) => {
74
+ if (key !== "preview" || !state.params.EmailTemplateId)
75
+ return;
76
+ onPreview();
77
+ }, items: [
78
+ {
79
+ key: "email-content",
80
+ label: "Email Content",
81
+ children: EmailContentComponent,
82
+ },
83
+ {
84
+ key: "preview",
85
+ label: "Preview",
86
+ children: PreviewComponent,
87
+ },
88
+ ] }),
89
+ props.type === "mini" && (React.createElement(Row, { className: "notification-form-btn", justify: "end" },
90
+ React.createElement(Space, null,
91
+ React.createElement(Button, { onClick: onCancel }, "Cancel"),
92
+ React.createElement(Button, { type: "primary", loading: state.loading, onClick: onSave }, "Submit")))))));
41
93
  return observe(() => (React.createElement(React.Fragment, null, props.type === "full" ? (React.createElement(AddFormView, { title: "Add Notification", loading: !!state.loading, onCancel: onCancel, onSubmit: onSave }, content)) : (content))));
94
+ async function onPreview() {
95
+ await emailTemplateStore
96
+ .placeholdersPreview(state.params.EmailTemplateId, {
97
+ data: { Placeholders: state.placeholderList },
98
+ error: "message",
99
+ })
100
+ .then((res) => {
101
+ state.loadPreview = true;
102
+ state.params.Body = res === null || res === void 0 ? void 0 : res.content;
103
+ state.loadPreview = false;
104
+ });
105
+ }
42
106
  async function onSave() {
43
107
  var _a;
44
- if (!state.params.Channels)
45
- return message.warning("Channels is required");
108
+ if (!state.params.Channels) {
109
+ message.warning("Channels is required");
110
+ return;
111
+ }
112
+ if (state.chooseMessageTemplate)
113
+ onPreview();
46
114
  state.loading = true;
47
115
  const res = await store.create({
48
116
  data: { TargetId: props.targetId, ...state.params },
49
117
  error: "message",
50
118
  });
51
- (_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props);
52
119
  state.loading = false;
53
120
  if (props.showView && res)
54
- return asideContext.openAside(React.createElement(NotificationPropertiesView, { id: res.id }), {
121
+ asideContext.openAside(React.createElement(NotificationPropertiesView, { id: res.id }), {
55
122
  span: 12,
56
123
  });
57
- if (res)
58
- state.params = state.Params;
124
+ state.params = state.Params;
125
+ (_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props);
59
126
  }
60
127
  // cancel add notifications
61
128
  function onCancel() {
62
129
  var _a;
63
130
  if (props.showView)
64
- return asideContext.closeAside();
131
+ asideContext.closeAside();
132
+ state.params = state.Params;
65
133
  (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
66
134
  }
67
135
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationForm.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/NotificationForm.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,C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;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,0BAA0B,CAAC,YAAY,GAAG;IACzC,IAAI,EAAE,MAAM;CACZ,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"NotificationForm.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/NotificationForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EACN,IAAI,EACJ,GAAG,EACH,GAAG,EACH,KAAK,EACL,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,OAAO,EACP,QAAQ,EACR,KAAK,GAEL,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,qBAAqB,MAAM,sFAAsF,CAAC;AACzH,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAE7F,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AACvE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AActB,MAAM,0BAA0B,GAAG,CAAC,KAA+B,EAAE,EAAE;IACtE,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,MAAM,KAAK,GAAG,oBAA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