@voplus/morpho-workspace 6.0.109 → 6.0.111

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/es/controls/filters/DueDateFilter/state.d.ts +2 -2
  2. package/es/controls/filters/DueDateFilter/state.js.map +1 -1
  3. package/es/controls/filters/MemberTaskDueDateFilter/state.d.ts +2 -2
  4. package/es/controls/filters/MemberTaskDueDateFilter/state.js.map +1 -1
  5. package/es/controls/filters/StartDateFilter/state.d.ts +2 -2
  6. package/es/controls/filters/StartDateFilter/state.js.map +1 -1
  7. package/es/data/notification/types.d.ts +1 -0
  8. package/es/modules/board/components/BoardColumn/index.less +1 -1
  9. package/es/modules/notification/components/NewNotificationForm/NotificationForm.d.ts +6 -1
  10. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +105 -37
  11. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -1
  12. package/es/modules/notification/components/NewNotificationForm/index.less +67 -0
  13. package/es/modules/notification/components/NewNotificationForm/state.d.ts +8 -0
  14. package/es/modules/notification/components/NewNotificationForm/state.js +28 -0
  15. package/es/modules/notification/components/NewNotificationForm/state.js.map +1 -1
  16. package/es/modules/notification/components/NotificationList/index.less +1 -1
  17. package/es/modules/notification/components/NotificationList2/index.d.ts +4 -0
  18. package/es/modules/notification/components/NotificationList2/index.js +2 -2
  19. package/es/modules/notification/components/NotificationList2/index.js.map +1 -1
  20. package/es/modules/tasks/components/DelegateDialog/index.js.map +1 -1
  21. package/es/modules/tasks/components/TaskCheckItem/index.js.map +1 -1
  22. package/es/modules/tasks/components/TaskCheckNewForm/index.js.map +1 -1
  23. package/es/modules/work/components/NewWorkErrorDialog/index.js.map +1 -1
  24. package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.d.ts +10 -0
  25. package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.js +14 -0
  26. package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.js.map +1 -0
  27. package/es/modules/work/components/NewWorkForm/index.d.ts +20 -19
  28. package/es/modules/work/components/NewWorkForm/index.js.map +1 -1
  29. package/es/modules/work/components/NewWorkForm/index.less +8 -0
  30. package/es/modules/work/components/WorkList2/index.less +1 -1
  31. package/es/modules/work/components/WorkTableListCard/TableCell.d.ts +4 -0
  32. package/es/modules/work/components/WorkTableListCard/TableCell.js +36 -0
  33. package/es/modules/work/components/WorkTableListCard/TableCell.js.map +1 -0
  34. package/es/modules/work/components/WorkTableListCard/index.d.ts +18 -0
  35. package/es/modules/work/components/WorkTableListCard/index.js +107 -0
  36. package/es/modules/work/components/WorkTableListCard/index.js.map +1 -0
  37. package/es/modules/work/components/WorkTableListCard/index.less +14 -0
  38. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
2
  import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
- import { RangeValue } from "rc-picker/es/interface";
3
+ import { RangeValueType } from "rc-picker/lib/PickerInput/RangePicker";
4
4
  import dayjs from "dayjs";
5
5
  export declare class State extends DefaultFilterState {
6
- dueDate: RangeValue<dayjs.Dayjs>;
6
+ dueDate: RangeValueType<dayjs.Dayjs> | null;
7
7
  constructor();
8
8
  /** 视乎State内容,返回正确的FilterOption[]. 在Filter时,Context 会使用此属性replace Context内FilterOption的资料。 */
9
9
  get filters(): FilterOption[];
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/DueDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAG5C;QACC,KAAK,EAAE,CAAC;QAHU;;;;;WAAiC;QAInD,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IAED,6FAA6F;IA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,CAAC;IACd,CAAC;IAED,6FAA6F;IAC7F,IAAW,OAAO;;QACjB,IAAI,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,MAAK,IAAI,IAAI,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,MAAK,IAAI;YAAE,OAAO,EAAE,CAAC;QACxE,MAAM,KAAK,GAAG,MAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,mCAAI,KAAK,CAAC,YAAY,CAAC,CAAC;QACvD,MAAM,GAAG,GAAG,MAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,mCAAI,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACvD,OAAO;YACN;gBACC,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;gBACvD,EAAE,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;aACnC;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC;CACD;AA3BmB;IAAlB,UAAU;sCAAoD"}
@@ -1,6 +1,6 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
2
  import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
- import { RangeValue } from "rc-picker/es/interface";
3
+ import { RangeValueType } from "rc-picker/lib/PickerInput/RangePicker";
4
4
  import dayjs from "dayjs";
5
5
  export declare const dateMenus: ({
6
6
  name: string;
@@ -27,7 +27,7 @@ export declare const dateMenus: ({
27
27
  badge?: undefined;
28
28
  })[];
29
29
  export declare class State extends DefaultFilterState {
30
- dueDate: RangeValue<dayjs.Dayjs>;
30
+ dueDate: RangeValueType<dayjs.Dayjs> | null;
31
31
  unscheduled: boolean;
32
32
  constructor();
33
33
  /** 视乎State内容,返回正确的FilterOption[]. 在Filter时,Context 会使用此属性replace Context内FilterOption的资料。 */
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/MemberTaskDueDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB;QACC,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACxC,GAAG,EAAE,aAAa;QAClB,MAAM,EAAE,GAAG;KACX;IACD;QACC,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACrD,MAAM,EAAE,CAAC;QACT,KAAK,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE;QACrC,KAAK,EAAE,IAAI;KACX;IACD,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACzF;QACC,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACzD,MAAM,EAAE,CAAC;KACT;IACD;QACC,IAAI,EAAE,YAAY;QAClB,KAAK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E,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;aACnC;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC;CACD;AAhCmB;IAAlB,UAAU;sCAAyC;AAEjC;IAAlB,UAAU;0CAAqC"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/MemberTaskDueDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB;QACC,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACxC,GAAG,EAAE,aAAa;QAClB,MAAM,EAAE,GAAG;KACX;IACD;QACC,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACrD,MAAM,EAAE,CAAC;QACT,KAAK,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE;QACrC,KAAK,EAAE,IAAI;KACX;IACD,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACzF;QACC,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,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CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;gBACvD,EAAE,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;aACnC;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC;CACD;AAhCmB;IAAlB,UAAU;sCAAoD;AAE5C;IAAlB,UAAU;0CAAqC"}
@@ -1,9 +1,9 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
2
  import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
- import { RangeValue } from "rc-picker/es/interface";
3
+ import { RangeValueType } from "rc-picker/lib/PickerInput/RangePicker";
4
4
  import dayjs from "dayjs";
5
5
  export declare class State extends DefaultFilterState {
6
- stateDate: RangeValue<dayjs.Dayjs>;
6
+ stateDate: RangeValueType<dayjs.Dayjs> | null;
7
7
  constructor();
8
8
  /** 视乎State内容,返回正确的FilterOption[]. 在Filter时,Context 会使用此属性replace Context内FilterOption的资料。 */
9
9
  get filters(): FilterOption[];
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/StartDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAG5C;QACC,KAAK,EAAE,CAAC;QAHU;;;;;WAAmC;QAIrD,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IAED,6FAA6F;IAC7F,IAAW,OAAO;;QACjB,IA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A6F;IAC7F,IAAW,OAAO;;QACjB,IAAI,CAAA,MAAA,IAAI,CAAC,SAAS,0CAAG,CAAC,CAAC,MAAK,IAAI,IAAI,CAAA,MAAA,IAAI,CAAC,SAAS,0CAAG,CAAC,CAAC,MAAK,IAAI;YAAE,OAAO,EAAE,CAAC;QAC5E,MAAM,KAAK,GAAG,MAAA,MAAA,IAAI,CAAC,SAAS,0CAAG,CAAC,CAAC,mCAAI,KAAK,CAAC,YAAY,CAAC,CAAC;QACzD,MAAM,GAAG,GAAG,MAAA,MAAA,IAAI,CAAC,SAAS,0CAAG,CAAC,CAAC,mCAAI,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACzD,OAAO;YACN;gBACC,CAAC,EAAE,WAAW;gBACd,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;gBACvD,EAAE,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;aACnC;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/B,CAAC;CACD;AA3BmB;IAAlB,UAAU;wCAAsD"}
@@ -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 = {
@@ -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;
@@ -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,CAAC;AAC7F,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAS,MAAM,MAAM,CAAC;AACjF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAYhC,MAAM,0BAA0B,GAAG,CAAC,KAA+B,EAAE,EAAE;IACtE,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,CAAC,KAAK,CAA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QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE;YACnD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;QACtB,IAAI,KAAK,CAAC,QAAQ,IAAI,GAAG;YACxB,OAAO,YAAa,CAAC,SAAS,CAAC,oBAAC,0BAA0B,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE;gBAC1E,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;QACJ,IAAI,GAAG;YAAE,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IACtC,CAAC;IAED,2BAA2B;IAC3B,SAAS,QAAQ;;QAChB,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;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,E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BACnE,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;QAEJ,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAE5B,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;IAClB,CAAC;IAED,2BAA2B;IAC3B,SAAS,QAAQ;;QAChB,IAAI,KAAK,CAAC,QAAQ;YAAE,YAAa,CAAC,UAAU,EAAE,CAAC;QAC/C,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAE5B,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,0BAA0B,CAAC,YAAY,GAAG;IACzC,IAAI,EAAE,MAAM;CACZ,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
@@ -2,6 +2,10 @@
2
2
 
3
3
  :global {
4
4
  .new-notification-form {
5
+ height: 100%;
6
+ display: flex;
7
+ flex-direction: column;
8
+
5
9
  &.sub-notification-more-form {
6
10
  padding: 0 20px;
7
11
 
@@ -20,6 +24,13 @@
20
24
  }
21
25
  }
22
26
 
27
+ .new-notification-recipient {
28
+ height: 32px;
29
+ padding: 4px 11px;
30
+ border-radius: @border-radius;
31
+ background: #f9f9f9 0% 0% no-repeat padding-box;
32
+ }
33
+
23
34
  .notification-form-btn {
24
35
  margin-top: 10px;
25
36
  }
@@ -28,11 +39,67 @@
28
39
  .prosemirror-content {
29
40
  height: 140px;
30
41
  }
42
+
31
43
  .toolbar-button[title="Align"] {
32
44
  .ant-select {
33
45
  width: auto;
34
46
  }
35
47
  }
36
48
  }
49
+
50
+ .new-notification-form-tabs {
51
+ flex: 1;
52
+
53
+ .email-content-component {
54
+ height: calc(100% - 36px);
55
+
56
+ .email-content-choose {
57
+ color: #5d5d5d;
58
+ margin-bottom: 14px;
59
+ font: normal normal 600 14px/19px Open Sans;
60
+ }
61
+
62
+ .email-content-subtitle {
63
+ color: #868686;
64
+ font: normal normal 600 14px/19px Open Sans;
65
+ margin-bottom: 5px;
66
+ }
67
+
68
+ .email-content-placeholder-list {
69
+ margin-top: 20px;
70
+ }
71
+ }
72
+
73
+ .preview-component {
74
+ width: 100%;
75
+ height: 100%;
76
+ position: relative;
77
+ overflow: hidden;
78
+
79
+ .preview-component-header {
80
+ .header-title {
81
+ color: #5d5d5d;
82
+ font: normal normal bold 14px/19px Open Sans;
83
+ }
84
+
85
+ .header-explain {
86
+ color: #868686;
87
+ font: normal normal 600 14px/19px Open Sans;
88
+ }
89
+ }
90
+
91
+ iframe {
92
+ width: 100%;
93
+ height: calc(100% - 38px);
94
+ border: none;
95
+ position: absolute;
96
+ right: -15px;
97
+ top: 38px;
98
+ bottom: 0;
99
+ overflow-x: hidden;
100
+ overflow-y: scroll;
101
+ }
102
+ }
103
+ }
37
104
  }
38
105
  }
@@ -4,15 +4,23 @@ export declare class State {
4
4
  Channels: number;
5
5
  Subject: string;
6
6
  Body: string;
7
+ EmailTemplateId: string;
7
8
  };
8
9
  params: {
9
10
  Channels: number;
10
11
  Subject: string;
11
12
  Body: string;
13
+ EmailTemplateId: string;
12
14
  };
13
15
  contact: {
14
16
  id: string;
15
17
  name: string;
16
18
  }[];
17
19
  loading: boolean;
20
+ loadPreview: boolean;
21
+ chooseMessageTemplate: boolean;
22
+ placeholderList: {
23
+ Placeholder: string;
24
+ Value?: string;
25
+ }[];
18
26
  }
@@ -10,6 +10,7 @@ export class State {
10
10
  Channels: 1,
11
11
  Subject: "",
12
12
  Body: "",
13
+ EmailTemplateId: "",
13
14
  }
14
15
  });
15
16
  Object.defineProperty(this, "params", {
@@ -31,6 +32,24 @@ export class State {
31
32
  writable: true,
32
33
  value: false
33
34
  });
35
+ Object.defineProperty(this, "loadPreview", {
36
+ enumerable: true,
37
+ configurable: true,
38
+ writable: true,
39
+ value: false
40
+ });
41
+ Object.defineProperty(this, "chooseMessageTemplate", {
42
+ enumerable: true,
43
+ configurable: true,
44
+ writable: true,
45
+ value: false
46
+ });
47
+ Object.defineProperty(this, "placeholderList", {
48
+ enumerable: true,
49
+ configurable: true,
50
+ writable: true,
51
+ value: []
52
+ });
34
53
  makeObservable(this);
35
54
  }
36
55
  }
@@ -43,4 +62,13 @@ __decorate([
43
62
  __decorate([
44
63
  observable
45
64
  ], State.prototype, "loading", void 0);
65
+ __decorate([
66
+ observable
67
+ ], State.prototype, "loadPreview", void 0);
68
+ __decorate([
69
+ observable
70
+ ], State.prototype, "chooseMessageTemplate", void 0);
71
+ __decorate([
72
+ observable
73
+ ], State.prototype, "placeholderList", void 0);
46
74
  //# sourceMappingURL=state.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlD,MAAM,OAAO,KAAK;IACjB;QAGO;;;;mBAAS;gBACf,QAAQ,EAAE,CAAC;gBACX,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,EAAE;aACR;WAAC;QACiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QACxC,4CAA4C;QACzB;;;;mBAA0C,EAAE;WAAC;QAC7C;;;;mBAAU,KAAK;WAAC;QAVlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAUD;AAJmB;IAAlB,UAAU;qCAA6B;AAErB;IAAlB,UAAU;sCAAqD;AAC7C;IAAlB,UAAU;sCAAwB"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlD,MAAM,OAAO,KAAK;IACjB;QAGO;;;;mBAAS;gBACf,QAAQ,EAAE,CAAC;gBACX,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,EAAE;gBACR,eAAe,EAAE,EAAE;aACnB;WAAC;QAEiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QACxC,4CAA4C;QACzB;;;;mBAA0C,EAAE;WAAC;QAC7C;;;;mBAAU,KAAK;WAAC;QAChB;;;;mBAAc,KAAK;WAAC;QACpB;;;;mBAAwB,KAAK;WAAC;QAC9B;;;;mBAA6D,EAAE;WAAC;QAflF,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAeD;AAPmB;IAAlB,UAAU;qCAA6B;AAErB;IAAlB,UAAU;sCAAqD;AAC7C;IAAlB,UAAU;sCAAwB;AAChB;IAAlB,UAAU;0CAA4B;AACpB;IAAlB,UAAU;oDAAsC;AAC9B;IAAlB,UAAU;8CAAwE"}
@@ -28,7 +28,7 @@
28
28
  height: 30px;
29
29
  line-height: 20px;
30
30
  color: @default-border-color;
31
- border-radius: @default-border-radius;
31
+ border-radius: @border-radius;
32
32
  border: 1px solid @default-border-color;
33
33
  margin: 0 15px 10px 0;
34
34
 
@@ -4,6 +4,10 @@ export type NotificationListProps = {
4
4
  /** 需要 corporate 或者 customer id */
5
5
  parentId: string;
6
6
  addAble?: boolean;
7
+ recipient?: {
8
+ id: string;
9
+ name: string;
10
+ };
7
11
  };
8
12
  declare const NotificationList: {
9
13
  (props: NotificationListProps): React.JSX.Element;
@@ -38,8 +38,8 @@ const NotificationList = (props) => {
38
38
  onAdd: () => ((view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" || (view === null || view === void 0 ? void 0 : view.Type) === "QuickView") &&
39
39
  setAddNotification(!addNotification),
40
40
  }, formViewTitle: "Add Offiec", formView: (view === null || view === void 0 ? void 0 : view.Type) !== "PropertiesView" &&
41
- (view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && React.createElement(NotificationForm, { showView: true, targetId: props.parentId }), renderItem: ({ item, index }) => (React.createElement(NotificationItem, { key: item.id, id: item.id })) }),
42
- addNotification && (React.createElement(NewNotificationFormDialog, { targetId: props.parentId, onCancel: () => setAddNotification(false), onSave: () => setAddNotification(false) }))));
41
+ (view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && (React.createElement(NotificationForm, { showView: true, targetId: props.parentId, recipient: props.recipient })), renderItem: ({ item, index }) => (React.createElement(NotificationItem, { key: item.id, id: item.id })) }),
42
+ addNotification && (React.createElement(NewNotificationFormDialog, { targetId: props.parentId, recipient: props.recipient, onCancel: () => setAddNotification(false), onSave: () => setAddNotification(false) }))));
43
43
  });
44
44
  };
45
45
  NotificationList.defaultProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAGN,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,yBAAyB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAQ1F,MAAM,gBAAgB,GAAG,CAAC,KAA4B,EAAE,EAAE;IACzD,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9D,MAAM,IAAI,GAAG,cAAc,EAAE,CAAC;IAE9B,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAA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AgB;oBAC/B,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,WAAW,IAAI,oBAAC,gBAAgB,IAAC,QAAQ,QAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,EAEtF,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAA0C,EAAE,EAAE,CAAC,CACxE,oBAAC,gBAAgB,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CAC/C,GACA;YACD,eAAe,IAAI,CACnB,oBAAC,yBAAyB,IACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,EACzC,MAAM,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,GACtC,CACF,CACyB,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,YAAY,GAAG;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAGN,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,yBAAyB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO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,CACD,CACD,CACK,CACN,CACD,CACF,CACN,CAAC,CAAC;IAEH,SAAS,SAAS,CAAC,CAAwC;QAC1D,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;YAAE,OAAO;QAC/B,QAAQ,EAAE,CAAC;IACZ,CAAC;IAED,KAAK,UAAU,QAAQ;;QACtB,IAAI,CAAC,KAAK,CAAC,IAAI;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QAC7D,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QAC1C,MAAM,KAAK,CAAC,MAAM,CAAC;YAClB,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAS;YACnF,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,OAAO;IACR,CAAC;IACD,kBAAkB;IAClB,SAAS,QAAQ;;QAChB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QAChB,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC;QACnB,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkErrorDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,E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;gCACxB,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,KAAK,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,GAE5E,CACS,CACI,CACX,CACF,CACC,CACR,CAAC,CAAC;IACH,KAAK,UAAU,QAAQ;QACtB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YACxB,OAAO,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC;YACpD,OAAO;QACR,CAAC;QACD,uEAAuE;QACvE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QAC1C,MAAM,KAAK,CAAC,MAAM,CAAC;YAClB,IAAI,EAAE,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE;YACzC,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,IAAI,KAAK,CAAC,YAAY;YAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,CAAC;IACD,mBAAmB;IACnB,SAAS,QAAQ;QAChB,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;QACjD,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { NewWorkFormProps } from "./index";
3
+ import "./index.less";
4
+ declare const NewWorkFormDialog: {
5
+ (props: NewWorkFormProps): React.JSX.Element;
6
+ defaultProps: {
7
+ type: string;
8
+ };
9
+ };
10
+ export default NewWorkFormDialog;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import NewWorkForm from "./index";
3
+ import { Modal } from "antd";
4
+ import { observe } from "@voplus/morpho-ui";
5
+ import "./index.less";
6
+ const NewWorkFormDialog = (props) => {
7
+ return observe(() => (React.createElement(Modal, { className: "new-work-form-dialog", title: "New Work Form Dialog", open: true, closable: false, footer: false, onCancel: props.onCancel },
8
+ React.createElement(NewWorkForm, { ...props }))));
9
+ };
10
+ NewWorkFormDialog.defaultProps = {
11
+ type: "mini",
12
+ };
13
+ export default NewWorkFormDialog;
14
+ //# sourceMappingURL=NewWorkFormDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NewWorkFormDialog.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkForm/NewWorkFormDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAiC,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,cAAc,CAAC;AAEtB,MAAM,iBAAiB,GAAG,CAAC,KAAuB,EAAE,EAAE;IACpD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACnB,oBAAC,KAAK,IACJ,SAAS,EAAC,sBAAsB,EAChC,KAAK,EAAC,sBAAsB,EAC5B,IAAI,QACJ,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,WAAW,OAAK,KAAK,GAAI,CACpB,CACT,CAAC,CAAC;AACL,CAAC,CAAC;AACF,iBAAiB,CAAC,YAAY,GAAG;IAC/B,IAAI,EAAE,MAAM;CACb,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,24 +1,25 @@
1
1
  import React from "react";
2
+ export type NewWorkFormProps = {
3
+ /** 添加 RelatedWork 时需要传入 RelatedId = workId */
4
+ workId?: string;
5
+ /** 用于预选的 contact */
6
+ contact?: {
7
+ name: string;
8
+ id: string;
9
+ };
10
+ /** 額外css class. */
11
+ className?: string;
12
+ /** NewWorkForm 打开的方式 */
13
+ openMode?: "openAside" | "openBottom";
14
+ /** save后显示PropertiesView, cancel关闭右边new work */
15
+ showView?: boolean;
16
+ /** 是否为添加 RelatedWork */
17
+ isRelatedWork?: boolean;
18
+ onSave?: (params?: any) => void;
19
+ onCancel?: () => void;
20
+ };
2
21
  declare const NewWorkForm: {
3
- (props: {
4
- /** 添加 RelatedWork 时需要传入 RelatedId = workId */
5
- workId?: string;
6
- /** 用于预选的 contact */
7
- contact?: {
8
- name: string;
9
- id: string;
10
- };
11
- /** 額外css class. */
12
- className?: string;
13
- /** NewWorkForm 打开的方式 */
14
- openMode?: "openAside" | "openBottom";
15
- /** save后显示PropertiesView, cancel关闭右边new work */
16
- showView?: boolean;
17
- /** 是否为添加 RelatedWork */
18
- isRelatedWork?: boolean;
19
- onSave?: (params?: any) => void;
20
- onCancel?: () => void;
21
- }): React.JSX.Element;
22
+ (props: NewWorkFormProps): React.JSX.Element;
22
23
  defaultProps: {
23
24
  openMode: string;
24
25
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC9D,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,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  }
19
+
20
+ :global {
21
+ .new-work-form-dialog {
22
+ .ant-modal-footer {
23
+ display: none;
24
+ }
25
+ }
26
+ }
@@ -18,7 +18,7 @@
18
18
  height: 30px;
19
19
  line-height: 20px;
20
20
  color: @default-border-color;
21
- border-radius: @default-border-radius;
21
+ border-radius: @border-radius;
22
22
  border: 1px solid @default-border-color;
23
23
  margin: 0 15px 10px 0;
24
24
 
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const TableCell: (props: any) => React.JSX.Element;
4
+ export default TableCell;
@@ -0,0 +1,36 @@
1
+ import { faEllipsisVertical } from "@fortawesome/pro-solid-svg-icons";
2
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
3
+ import { useMetaStore } from "@voplus/morpho-document-core";
4
+ import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
5
+ import { DateQuickIcon } from "@voplus/morpho-document/es/controls/data-icons";
6
+ import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
7
+ import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
8
+ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
9
+ import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
10
+ import { observe } from "@voplus/morpho-ui";
11
+ import classnames from "classnames";
12
+ import React from "react";
13
+ import { message } from "antd";
14
+ import { useWorkStore } from "../../../../data/work";
15
+ import WorkStatusLabel from "../../controls/WorkStatusLabel";
16
+ import "./index.less";
17
+ const TableCell = (props) => {
18
+ const { dataIndex, record, rowIndex, children, ...restProps } = props;
19
+ const store = useWorkStore();
20
+ const meta = useMetaStore();
21
+ return observe(() => (React.createElement("td", { ...restProps }, dataIndex === "name" ? (React.createElement(React.Fragment, null,
22
+ React.createElement(DocumentHeader, { id: record.id, clickNameEffect: "default", preVisible: false, tagsVisible: false, flagVisible: false, statusVisible: false, quickDataBarVisible: false, toolsVisible: false, className: "work-table-item-name" }),
23
+ React.createElement("div", { className: "table-item-dataIcon" },
24
+ React.createElement(DataIconBar, null,
25
+ "Due on ",
26
+ React.createElement(DateQuickIcon, { id: record.id }))))) : dataIndex === "assign" ? (React.createElement(AvatarList, { editable: false, list: (record === null || record === void 0 ? void 0 : record.owners) ? record.owners : [], maxCount: 4 })) : dataIndex === "status" ? (React.createElement(WorkStatusLabel, { className: classnames("work-table-status-label"), status: record.workStatus, editable: !record.readonly, onChange: (workStatus) => store.edit(record.id, {
27
+ data: { workStatus },
28
+ error: (error) => message.error(error.message),
29
+ }) })) : dataIndex === "menu" ? (React.createElement(ToolBar, { id: record.id, moreProps: {
30
+ buttonProps: { size: "middle" },
31
+ icon: React.createElement(FAIcon, { icon: faEllipsisVertical }),
32
+ } },
33
+ React.createElement(Open, { size: "middle", url: meta.getRoute(record) }))) : (children))));
34
+ };
35
+ export default TableCell;
36
+ //# sourceMappingURL=TableCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTableListCard/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA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eAAe,IACf,SAAS,EAAE,UAAU,CAAC,yBAAyB,CAAC,EAChD,MAAM,EAAE,MAAM,CAAC,UAAU,EACzB,QAAQ,EAAE,CAAC,MAAM,CAAC,QAAQ,EAC1B,QAAQ,EAAE,CAAC,UAAU,EAAE,EAAE,CACxB,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;YACrB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;SACrD,CAAC,GAEF,CACF,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC,CAAC,CAC1B,oBAAC,OAAO,IACP,EAAE,EAAE,MAAM,CAAC,EAAE,EACb,SAAS,EAAE;YACV,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC/B,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI;SAC1C;QAED,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAI,CACzC,CACV,CAAC,CAAC,CAAC,CACH,QAAQ,CACR,CACG,CACL,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ declare const WorkTableListCard: {
3
+ (props: {
4
+ /** filter by contactId */
5
+ contactId?: string;
6
+ /** 是否允许新增 */
7
+ addAble?: boolean;
8
+ /** 预选 contact */
9
+ primaryContact?: {
10
+ id: string;
11
+ name: string;
12
+ };
13
+ }): React.JSX.Element;
14
+ defaultProps: {
15
+ addAble: boolean;
16
+ };
17
+ };
18
+ export default WorkTableListCard;
@@ -0,0 +1,107 @@
1
+ import { faBarsProgress, faThumbtack, faUserGroup } from "@fortawesome/pro-solid-svg-icons";
2
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
3
+ import { useAutoUpdateListData } from "@voplus/morpho-document-core";
4
+ import { observe, useRenderOnChange } from "@voplus/morpho-ui";
5
+ import DocumentTableListCard from "@voplus/morpho-ui/es/components/DocumentTableListCard";
6
+ import TableListCard from "@voplus/morpho-ui/es/components/TableListCard";
7
+ import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
8
+ import { Badge, Button } from "antd";
9
+ import React, { useState } from "react";
10
+ import { useWorkListEffect } from "../../../../data/work";
11
+ import NewWorkFormDialog from "../NewWorkForm/NewWorkFormDialog";
12
+ import TableCell from "./TableCell";
13
+ const WorkTableListCard = (props) => {
14
+ const { contactId } = props;
15
+ const [visible, setVisible] = useState(false);
16
+ const [workTotal, setWorkTotal] = useState(0);
17
+ /** 建立 ListView 和useDocumentListEffect所需的ListDataState. 会根据state.id重建所以不需reset. */
18
+ const list = useCreateListDataState({
19
+ filterDefaults: {
20
+ filters: filters(),
21
+ },
22
+ }, [contactId]);
23
+ const columnsList = [
24
+ {
25
+ title: (React.createElement(React.Fragment, null,
26
+ React.createElement(FAIcon, { icon: faThumbtack }),
27
+ " Name")),
28
+ dataIndex: "name",
29
+ },
30
+ {
31
+ title: (React.createElement(React.Fragment, null,
32
+ React.createElement(FAIcon, { icon: faUserGroup }),
33
+ " Assign")),
34
+ dataIndex: "assign",
35
+ width: "22%",
36
+ },
37
+ {
38
+ title: (React.createElement(React.Fragment, null,
39
+ React.createElement(FAIcon, { icon: faBarsProgress }),
40
+ " Status")),
41
+ dataIndex: "status",
42
+ width: "20%",
43
+ },
44
+ {
45
+ title: "",
46
+ dataIndex: "menu",
47
+ width: "68px",
48
+ },
49
+ ];
50
+ const components = {
51
+ body: {
52
+ // row: DragTableRow,
53
+ cell: TableCell,
54
+ },
55
+ };
56
+ const columns = columnsList.map((col) => {
57
+ return {
58
+ ...col,
59
+ onCell: (record, rowIndex) => {
60
+ return {
61
+ record,
62
+ dataIndex: col.dataIndex,
63
+ rowIndex: rowIndex,
64
+ };
65
+ },
66
+ };
67
+ });
68
+ /** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
69
+ useAutoUpdateListData(list, (d) => d.type === "Work");
70
+ useRenderOnChange(() => list.filters.options);
71
+ /** 把ListDataState传给useWorkListEffect,使之可以自動更新loading, hasmore. */
72
+ useWorkListEffect(list, (result, total) => {
73
+ list.union(result);
74
+ setWorkTotal(total);
75
+ }, {
76
+ Total: true,
77
+ ...list.filters.options,
78
+ });
79
+ return observe(() => (React.createElement(React.Fragment, null,
80
+ React.createElement(ListDataContext.Provider, { value: list },
81
+ React.createElement(DocumentTableListCard, { isHeader: true, header: React.createElement(React.Fragment, null,
82
+ React.createElement("div", null,
83
+ React.createElement("span", { className: "title" },
84
+ "Work ",
85
+ workTotal ? React.createElement(Badge, { count: workTotal, overflowCount: 99 }) : null)),
86
+ React.createElement("div", null, props.addAble && (React.createElement(Button, { className: "create-new", type: "link", onClick: () => setVisible(true) }, "+Create New")))) },
87
+ React.createElement(TableListCard, { tableListProps: { columns: columns, components: components } }))),
88
+ visible && React.createElement(NewWorkFormDialog, { contact: props.primaryContact }))));
89
+ function filters() {
90
+ let filter = [];
91
+ if (contactId) {
92
+ filter = [
93
+ { c: "Contact", o: "=", l: "And", v1: contactId },
94
+ {
95
+ c: "WorkStatus",
96
+ o: "contains",
97
+ l: "And",
98
+ v1: JSON.stringify(["New", "Active"]),
99
+ },
100
+ ];
101
+ }
102
+ return filter;
103
+ }
104
+ };
105
+ WorkTableListCard.defaultProps = { addAble: true };
106
+ export default WorkTableListCard;
107
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTableListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC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M,EACL;oBACC;wBACC,8BAAM,SAAS,EAAC,OAAO;;4BAChB,SAAS,CAAC,CAAC,CAAC,oBAAC,KAAK,IAAC,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,EAAE,GAAI,CAAC,CAAC,CAAC,IAAI,CACjE,CACF;oBACN,iCACE,KAAK,CAAC,OAAO,IAAI,CACjB,oBAAC,MAAM,IAAC,SAAS,EAAC,YAAY,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,kBAEjE,CACT,CACI,CACJ;gBAGJ,oBAAC,aAAa,IAAC,cAAc,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,GAAI,CACxD,CACE;QAC1B,OAAO,IAAI,oBAAC,iBAAiB,IAAC,OAAO,EAAE,KAAK,CAAC,cAAc,GAAI,CAC9D,CACH,CAAC,CAAC;IAEH,SAAS,OAAO;QACf,IAAI,MAAM,GAAmB,EAAE,CAAC;QAChC,IAAI,SAAS,EAAE,CAAC;YACf,MAAM,GAAG;gBACR,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE;gBACjD;oBACC,CAAC,EAAE,YAAY;oBACf,CAAC,EAAE,UAAU;oBACb,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;iBACrC;aACD,CAAC;QACH,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;AACF,CAAC,CAAC;AAEF,iBAAiB,CAAC,YAAY,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAEnD,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,14 @@
1
+ :global {
2
+ .work-table-item-name {
3
+ background-color: transparent;
4
+ padding: 0;
5
+ cursor: pointer;
6
+ .document-name-content .document-name {
7
+ font-size: 14px;
8
+ color: #5d5d5d;
9
+ }
10
+ }
11
+ .work-status.work-table-status-label {
12
+ width: 95px !important;
13
+ }
14
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.109",
3
+ "version": "6.0.111",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",