@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
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAEl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E,SAAS,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;gBAC/C,oBAAC,MAAM,IAAC,MAAM,EAAE,QAAQ,GAAI;gBAC5B,oBAAC,IAAI,IAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAI;gBAClC,oBAAC,OAAO,OAAG,CACF,EAEX,kBAAkB,EAAE,KAAK,GACxB;QACF,oBAAC,QAAQ,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,SAAG,CAC1B,CACN,CACqB,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,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,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,wBAAwB,MAAM,gEAAgE,CAAC;AACtG,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,MAAM,kBAAkB,GAAG,CAAC,KAAwC,EAAE,EAAE;IACvE,M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kBAAkB,CAAC"}
@@ -4,7 +4,7 @@ import { TaskStatus } from "@voplus/morpho-document-core";
4
4
  declare const TaskStatusLabel: (props: {
5
5
  status: string;
6
6
  editable: boolean;
7
- className?: string | undefined;
7
+ className?: string;
8
8
  onChange: (status: TaskStatus) => void;
9
9
  }) => React.JSX.Element;
10
10
  export default TaskStatusLabel;
@@ -5,8 +5,8 @@ declare const NewWorkErrorDialog: (props: {
5
5
  /** work type id */
6
6
  workTypeId: string;
7
7
  /** 額外css class. */
8
- className?: string | undefined;
9
- onSubmitSave?: ((params?: any) => void) | undefined;
10
- onCancel?: (() => void) | undefined;
8
+ className?: string;
9
+ onSubmitSave?: (params?: any) => void;
10
+ onCancel?: () => void;
11
11
  }) => React.JSX.Element;
12
12
  export default NewWorkErrorDialog;
@@ -2,22 +2,22 @@ import React from "react";
2
2
  declare const NewWorkForm: {
3
3
  (props: {
4
4
  /** 添加 RelatedWork 时需要传入 RelatedId = workId */
5
- workId?: string | undefined;
5
+ workId?: string;
6
6
  /** 用于预选的 contact */
7
7
  contact?: {
8
8
  name: string;
9
9
  id: string;
10
- } | undefined;
10
+ };
11
11
  /** 額外css class. */
12
- className?: string | undefined;
12
+ className?: string;
13
13
  /** NewWorkForm 打开的方式 */
14
- openMode?: "openAside" | "openBottom" | undefined;
14
+ openMode?: "openAside" | "openBottom";
15
15
  /** save后显示PropertiesView, cancel关闭右边new work */
16
- showView?: boolean | undefined;
16
+ showView?: boolean;
17
17
  /** 是否为添加 RelatedWork */
18
- isRelatedWork?: boolean | undefined;
19
- onSave?: ((params?: any) => void) | undefined;
20
- onCancel?: (() => void) | undefined;
18
+ isRelatedWork?: boolean;
19
+ onSave?: (params?: any) => void;
20
+ onCancel?: () => void;
21
21
  }): React.JSX.Element;
22
22
  defaultProps: {
23
23
  openMode: string;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  declare const RejectWorkDialog: (props: {
3
- parentId?: string | undefined;
4
- className?: string | undefined;
5
- onSubmitSave?: ((params?: any) => void) | undefined;
6
- onCancel?: (() => void) | undefined;
3
+ parentId?: string;
4
+ className?: string;
5
+ onSubmitSave?: (params?: any) => void;
6
+ onCancel?: () => void;
7
7
  }) => React.JSX.Element;
8
8
  export default RejectWorkDialog;
@@ -2,6 +2,6 @@ import React from "react";
2
2
  declare const WorkCashReport: (props: {
3
3
  id: string;
4
4
  workspaceId: string;
5
- onFilterOutPut?: ((filterStatus: string[]) => void) | undefined;
5
+ onFilterOutPut?: (filterStatus: string[]) => void;
6
6
  }) => React.JSX.Element;
7
7
  export default WorkCashReport;
@@ -3,9 +3,9 @@ import React from "react";
3
3
  declare const WorkErrorList: {
4
4
  (props: {
5
5
  id: string;
6
- viewTitle?: string | undefined;
7
- asideable?: boolean | undefined;
8
- onClickItem?: ((workErrorId: string, workTypeId?: string) => void) | undefined;
6
+ viewTitle?: string;
7
+ asideable?: boolean;
8
+ onClickItem?: (workErrorId: string, workTypeId?: string) => void;
9
9
  }): React.JSX.Element;
10
10
  defaultProps: {
11
11
  viewTitle: string;
@@ -16,8 +16,6 @@ export type WorkListProps = {
16
16
  active?: string;
17
17
  /** filter roles */
18
18
  roles?: boolean;
19
- /** Whether to open propertiesview from the inside */
20
- asideable?: boolean;
21
19
  /** filter workspaceId */
22
20
  workspaceId?: string;
23
21
  /** filter workId */
@@ -14,7 +14,7 @@ import dayjs from "dayjs";
14
14
  import S from "string";
15
15
  import "./index.less";
16
16
  const WorkList = (props) => {
17
- const { dueDate, typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, addAble, asideable, viewTitle, total, } = props;
17
+ const { dueDate, typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, addAble, viewTitle, total, } = props;
18
18
  const [activeId, setActiveId] = useState("");
19
19
  const [workTotal, setWorkTotal] = useState(0);
20
20
  const documentStore = useDocumentStore();
@@ -74,7 +74,7 @@ const WorkList = (props) => {
74
74
  selectedFilterKey: ["WorkTypes"],
75
75
  addAble: addAble || (dueDate === "requested" ? true : false),
76
76
  ...listViewHeaderProps,
77
- }, asideable: asideable, className: "work-list", moveAfter: moveAfter, formViewTitle: "Add Work", formView: React.createElement(NewWorkForm, { contact: contact, showView: true }), renderItem: ({ item, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: { active: activeId === item.id }, onClick: () => {
77
+ }, className: "work-list", moveAfter: moveAfter, formViewTitle: "Add Work", formView: React.createElement(NewWorkForm, { contact: contact, showView: true }), renderItem: ({ item, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: { active: activeId === item.id }, onClick: () => {
78
78
  var _a;
79
79
  setActiveId(item.id);
80
80
  (_a = props.onClickItem) === null || _a === void 0 ? void 0 : _a.call(props, item);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,CAAC,MAAM,QAAQ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eAAe,CAAC,CAAC;QACzB,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;IAED,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IAED,SAAS,YAAY;QACpB,QAAQ,OAAO,EAAE,CAAC;YACjB,KAAK,OAAO,CAAC;YACb,KAAK,MAAM,CAAC;YACZ,KAAK,OAAO,CAAC;YACb,KAAK,KAAK;gBACT,OAAO,CAAC,QAAQ,CAAC,CAAC;YACnB,KAAK,WAAW;gBACf,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACnC;gBACC,MAAM;QACR,CAAC;QAED,IAAI,SAAS;YAAE,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAExC,IAAI,OAAO;YAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE/B,OAAO,EAAE,CAAC;IACX,CAAC;IAED,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACvB,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,IAAI;CACnB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * 换有新头部样式的 WorkList
3
+ * */
4
+ import React from "react";
5
+ import { WorkListHeaderProps } from "../WorkListHeader";
6
+ import { IWork } from "../../../../data/work";
7
+ import "./index.less";
8
+ export type WorkListProps = {
9
+ workHeaderProps?: WorkListHeaderProps;
10
+ /** 是否显示 filter icon 或者自定义显示 Filter WorkStatus 和 WorkTypes */
11
+ filterVisible?: Array<"WorkStatus" | "WorkTypes"> | boolean;
12
+ /** status of works shown on the list. */
13
+ status?: string;
14
+ /** filter work status */
15
+ statusArr?: string[];
16
+ /** types id of works shown on the list. */
17
+ typesId?: string;
18
+ /** The current active item */
19
+ active?: string;
20
+ /** filter roles */
21
+ roles?: boolean;
22
+ /** filter workspaceId */
23
+ workspaceId?: string;
24
+ /** filter workId */
25
+ workId?: string;
26
+ /** filter by contactId */
27
+ contactId?: string;
28
+ /** 用于预选的 contact */
29
+ contact?: {
30
+ name: string;
31
+ id: string;
32
+ };
33
+ /** Call back when an item has been clicked on the list. */
34
+ onClickItem?: (item: IWork) => void;
35
+ /** Call back when received total number of works. */
36
+ onTotal?: (total: number) => void;
37
+ };
38
+ declare const WorkList2: {
39
+ (props: WorkListProps): React.JSX.Element;
40
+ defaultProps: {
41
+ asideable: boolean;
42
+ filterVisible: boolean;
43
+ };
44
+ };
45
+ export default WorkList2;
@@ -0,0 +1,227 @@
1
+ /**
2
+ * 换有新头部样式的 WorkList
3
+ * */
4
+ import React, { useState } from "react";
5
+ import WorkListHeader from "../WorkListHeader";
6
+ import { useWorkListEffect } from "../../../../data/work";
7
+ import { useWorkType } from "../../../../data/worktype";
8
+ import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
9
+ import { WorkStatusFilter, WorkTypesFilter } from "../../../../controls/filters";
10
+ import { useAutoUpdateListData, useDocumentStore } from "@voplus/morpho-document-core";
11
+ import { observe, useRenderOnChange } from "@voplus/morpho-ui";
12
+ import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
13
+ import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
14
+ import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
15
+ import NewWorkForm from "../NewWorkForm";
16
+ import WorkItem from "../WorkItem";
17
+ import dayjs from "dayjs";
18
+ import S from "string";
19
+ import "./index.less";
20
+ const WorkList2 = (props) => {
21
+ const { typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, workHeaderProps, } = props;
22
+ const [activeId, setActiveId] = useState("");
23
+ const [asideContext] = useState(AsideContent.createContext());
24
+ const documentStore = useDocumentStore();
25
+ const workType = useWorkType(typesId);
26
+ let listViewHeaderProps = {};
27
+ const filterCol = () => {
28
+ let filtercolumns = [];
29
+ if (Array.isArray(props.filterVisible)) {
30
+ if (props.filterVisible.includes("WorkStatus")) {
31
+ filtercolumns.push(React.createElement(WorkStatusFilter, { key: "WorkStatusFilter", defaultValue: defaultValue() }));
32
+ }
33
+ if (props.filterVisible.includes("WorkTypes")) {
34
+ filtercolumns.push(React.createElement(WorkTypesFilter, { key: "WorkTypesFilter", workspaceId: workspaceId }));
35
+ }
36
+ }
37
+ else if (status && workspaceId) {
38
+ filtercolumns = [React.createElement(WorkTypesFilter, { key: "WorkTypesFilter", workspaceId: workspaceId })];
39
+ }
40
+ else {
41
+ filtercolumns = [React.createElement(WorkStatusFilter, { key: "WorkStatusFilter", defaultValue: defaultValue() })];
42
+ }
43
+ return filtercolumns;
44
+ };
45
+ if (!!props.filterVisible)
46
+ listViewHeaderProps = {
47
+ columns: filterCol(),
48
+ onFilter,
49
+ };
50
+ const list = useCreateListDataState({
51
+ filterDefaults: {
52
+ includes: "tags",
53
+ filters: filters(),
54
+ },
55
+ }, [status, workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.dueDate, typesId, statusArr]);
56
+ /** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
57
+ useAutoUpdateListData(list, (d) => d.type === "Work");
58
+ useRenderOnChange(() => list.filters.options);
59
+ /** 把ListDataState传给useWorkListEffect,使之可以自動更新loading, hasmore. */
60
+ useWorkListEffect(list, (result, total) => {
61
+ var _a;
62
+ list.union(result);
63
+ (_a = props.onTotal) === null || _a === void 0 ? void 0 : _a.call(props, total);
64
+ }, {
65
+ Total: true,
66
+ ...list.filters.options,
67
+ });
68
+ return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
69
+ React.createElement(AsideContent, { context: asideContext },
70
+ React.createElement("div", { className: "work-list-2" },
71
+ React.createElement(WorkListHeader, { ...workHeaderProps, viewTitle: (workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.viewTitle) || (workType === null || workType === void 0 ? void 0 : workType.name) || "My Works", filterProps: { ...listViewHeaderProps }, onAdd: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(NewWorkForm, { contact: contact, showView: true }), {
72
+ span: 12,
73
+ }) }),
74
+ React.createElement(ListView, { headerProps: { visible: false }, moveAfter: moveAfter, asideable: false, renderItem: ({ item, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: { active: activeId === item.id }, onClick: () => {
75
+ var _a;
76
+ setActiveId(item.id);
77
+ (_a = props.onClickItem) === null || _a === void 0 ? void 0 : _a.call(props, item);
78
+ } },
79
+ React.createElement(WorkItem, { id: item.id, clickNameEffect: "default" }))) }))))));
80
+ function filters() {
81
+ let filter = [];
82
+ const rolesFilter = {
83
+ c: "Roles",
84
+ o: "contains",
85
+ l: "And",
86
+ v1: JSON.stringify(["Owner"]),
87
+ };
88
+ const defaultFilter = {
89
+ c: "WorkStatus",
90
+ l: "And",
91
+ o: "=",
92
+ v1: "Active",
93
+ };
94
+ const dueFilter = {
95
+ c: "DueDate",
96
+ o: "<",
97
+ l: "And",
98
+ v1: dayjs().format("YYYY-MM-DD HH:mm:ss"),
99
+ };
100
+ const requestedFilter = [
101
+ {
102
+ c: "Roles",
103
+ o: "contains",
104
+ l: "And",
105
+ v1: JSON.stringify(["Requester"]),
106
+ },
107
+ {
108
+ c: "WorkStatus",
109
+ o: "contains",
110
+ l: "And",
111
+ v1: JSON.stringify(["Draft", "New", "Active"]),
112
+ },
113
+ ];
114
+ if (roles) {
115
+ filter.push(rolesFilter);
116
+ }
117
+ if (status) {
118
+ filter.push({
119
+ c: "WorkStatus",
120
+ o: "=",
121
+ l: "And",
122
+ v1: S(status).capitalize().toString(),
123
+ });
124
+ }
125
+ else if (!(statusArr === null || statusArr === void 0 ? void 0 : statusArr.length)) {
126
+ filter.push(defaultFilter);
127
+ }
128
+ if (statusArr === null || statusArr === void 0 ? void 0 : statusArr.length) {
129
+ filter = [
130
+ {
131
+ c: "WorkStatus",
132
+ o: "contains",
133
+ l: "And",
134
+ v1: JSON.stringify(statusArr),
135
+ },
136
+ ];
137
+ }
138
+ if (typesId) {
139
+ filter.push({
140
+ c: "WorkType",
141
+ o: "=",
142
+ l: "And",
143
+ v1: typesId,
144
+ });
145
+ }
146
+ if (workspaceId) {
147
+ filter.push({ c: "Workspace", o: "=", l: "And", v1: workspaceId });
148
+ }
149
+ if (workId) {
150
+ filter.push({ c: "RelatedId", o: "=", l: "And", v1: workId });
151
+ }
152
+ if (contactId) {
153
+ filter = [
154
+ { c: "Contact", o: "=", l: "And", v1: contactId },
155
+ {
156
+ c: "WorkStatus",
157
+ o: "contains",
158
+ l: "And",
159
+ v1: JSON.stringify(["New", "Active"]),
160
+ },
161
+ ];
162
+ }
163
+ if ((workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.dueDate) && (workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.dueDate) !== "due") {
164
+ let date = "day";
165
+ let v1 = "";
166
+ let v2 = "";
167
+ if ((workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.dueDate) !== "today")
168
+ date = workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.dueDate;
169
+ v1 = dayjs().startOf(date).format("YYYY-MM-DD HH:mm:ss");
170
+ v2 = dayjs().endOf(date).format("YYYY-MM-DD HH:mm:ss");
171
+ // if (workHeaderProps?.dueDate === "unscheduled") {
172
+ // v1 = dayjs().add(1, "months").startOf("month").format("YYYY-MM-DD HH:mm:ss");
173
+ // v2 = dayjs().add(1, "months").endOf("month").format("YYYY-MM-DD HH:mm:ss");
174
+ // } else {
175
+ // v1 = dayjs().startOf(date).format("YYYY-MM-DD HH:mm:ss");
176
+ // v2 = dayjs().endOf(date).format("YYYY-MM-DD HH:mm:ss");
177
+ // }
178
+ filter.push({
179
+ c: "DueDate",
180
+ o: "between",
181
+ l: "And",
182
+ v1: v1,
183
+ v2: v2,
184
+ });
185
+ }
186
+ if ((workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.dueDate) === "due") {
187
+ filter.push(dueFilter);
188
+ }
189
+ if ((workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.dueDate) === "requested") {
190
+ filter = workspaceId
191
+ ? [{ c: "Workspace", o: "=", l: "And", v1: workspaceId }, ...requestedFilter]
192
+ : [...requestedFilter];
193
+ }
194
+ return filter;
195
+ }
196
+ async function moveAfter(id, afterId) {
197
+ await documentStore.moveAfter(id, afterId);
198
+ }
199
+ function defaultValue() {
200
+ switch (workHeaderProps === null || workHeaderProps === void 0 ? void 0 : workHeaderProps.dueDate) {
201
+ case "today":
202
+ case "week":
203
+ case "month":
204
+ case "due":
205
+ return ["Active"];
206
+ case "requested":
207
+ return ["Draft", "New", "Active"];
208
+ default:
209
+ break;
210
+ }
211
+ if (contactId)
212
+ return ["New", "Active"];
213
+ if (typesId)
214
+ return ["Active"];
215
+ return [];
216
+ }
217
+ function onFilter(context) {
218
+ context.paging.Page = 1;
219
+ context.filter();
220
+ }
221
+ };
222
+ WorkList2.defaultProps = {
223
+ asideable: true,
224
+ filterVisible: true,
225
+ };
226
+ export default WorkList2;
227
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList2/index.tsx"],"names":[],"mappings":"AAAA;;KAEK;AAEL,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,cAAuC,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAA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;CACnB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,27 @@
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ :global {
4
+ .work-list-2 {
5
+ height: 100%;
6
+ display: flex;
7
+ flex-direction: column;
8
+ background-color: #fff;
9
+
10
+ .work-status-menu {
11
+ .ant-btn {
12
+ height: 30px;
13
+ line-height: 20px;
14
+ color: @default-border-color;
15
+ border-radius: @default-border-radius;
16
+ border: 1px solid @default-border-color;
17
+ margin: 0 15px 10px 0;
18
+
19
+ &.active {
20
+ color: @btn-active-color;
21
+ background: #f4f9ff;
22
+ border-color: @btn-active-color;
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { FilterViewProps } from "@voplus/morpho-ui/es/controls/FilterView";
3
+ export type WorkListHeaderProps = {
4
+ addAble?: boolean;
5
+ dueDate?: string;
6
+ viewTitle?: string;
7
+ filterProps?: FilterViewProps;
8
+ workMenu?: {
9
+ key: string;
10
+ label: string;
11
+ total?: number;
12
+ }[];
13
+ onAdd?: () => void;
14
+ onChangeFilter?: (dueDate: string) => void;
15
+ };
16
+ declare const WorkListHeader: (props: WorkListHeaderProps) => React.JSX.Element;
17
+ export default WorkListHeader;
@@ -0,0 +1,26 @@
1
+ import React, { useEffect, useState } from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { Button } from "antd";
4
+ import { faBriefcase } from "@fortawesome/pro-solid-svg-icons";
5
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
6
+ import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
7
+ import PageHeaderPath from "@voplus/morpho-ui/es/components/layout/headers/PageHeaderPath";
8
+ import classnames from "classnames";
9
+ const WorkListHeader = (props) => {
10
+ const { addAble, viewTitle, dueDate, workMenu, filterProps } = props;
11
+ const [active, setActive] = useState();
12
+ useEffect(() => setActive(dueDate || ""), [dueDate]);
13
+ return observe(() => (React.createElement("div", { className: "work-header" },
14
+ React.createElement(PageHeaderPath, { title: viewTitle, background: true, icon: React.createElement(FAIcon, { icon: faBriefcase }) }),
15
+ React.createElement(ListHeaderTool, { filterViewProps: filterProps, addAble: addAble, onAdd: props.onAdd, sortable: false, searchHeader: true, searchOptions: { placeholder: "Search in notifications" }, preExtra: () => (React.createElement("div", { className: "work-status-menu" }, workMenu === null || workMenu === void 0 ? void 0 : workMenu.map((item, index) => (React.createElement(Button, { key: index, className: classnames(item, {
16
+ active: active === item.key,
17
+ }), onClick: () => onChangeFilter(item.key) },
18
+ React.createElement(React.Fragment, null, `${item.label} ${item.total ? ` (${item.total})` : null}`)))))) }))));
19
+ function onChangeFilter(item) {
20
+ var _a;
21
+ setActive(item);
22
+ (_a = props.onChangeFilter) === null || _a === void 0 ? void 0 : _a.call(props, item);
23
+ }
24
+ };
25
+ export default WorkListHeader;
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListHeader/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,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,cAAc,MAAM,+DAA+D,CAAC;AAC3F,OAAO,UAAU,MAAM,YAAY,CAAC;AAYpC,MAAM,cAAc,GAAG,CAAC,KAA0B,EAAE,EAAE;IACrD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,K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AAI,CAAC,CAAC;QAEhB,MAAA,KAAK,CAAC,cAAc,sDAAG,IAAI,CAAC,CAAC;IAC9B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,25 +1,18 @@
1
1
  import "./index.less";
2
- import { Open, Reload } 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";
6
- import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
4
+ import DocumentPropertiesHeader from "@voplus/morpho-document/es/components/DocumentPropertiesHeader";
7
5
  import WorkTabs from "../WorkTabs";
8
6
  import { observe } from "@voplus/morpho-ui";
9
- import { useMetaStore } from "@voplus/morpho-document-core";
10
- import { useWork } from "../../../../data/work";
11
7
  const WorkPropertiesView = (props) => {
12
8
  const id = props.id;
13
- const meta = useMetaStore();
14
9
  const view = useMemo(() => new ViewContextData("PropertiesView"), []);
15
- const work = useWork(id, { reload: false });
16
10
  const [loaded, setLoaded] = useState(true);
17
11
  return observe(() => (React.createElement(ViewContext.Provider, { value: view },
18
12
  React.createElement("div", { className: "module-detail-view work-properties-view" }, loaded && (React.createElement(React.Fragment, null,
19
- React.createElement(DocumentHeader, { id: id, size: "h3", quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, tools: React.createElement("div", { className: "tools-bar" },
20
- React.createElement(ToolBar, { id: id },
21
- React.createElement(Reload, { action: onReload }),
22
- React.createElement(Open, { url: meta.getRoute(work) }))), descriptionVisible: false }),
13
+ React.createElement(DocumentPropertiesHeader, { id: id, documentHeaderProper: {
14
+ toolBarProps: { closeAside: true, close: true, onReload: onReload },
15
+ } }),
23
16
  React.createElement(WorkTabs, { id: id, propertie: true })))))));
24
17
  /** reload data */
25
18
  function onReload() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.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EACT,YAAY,EAAE,KAAK,EACnB,iBAAiB,EAAC,MAAM,EACxB,eAAe,EAAC,MAAM,EACtB,YAAY,QACZ,KAAK,EACJ,6BAAK,SAAS,EAAC,WAAW;oBACzB,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE;wBACd,oBAAC,MAAM,IAAC,MAAM,EAAE,QAAQ,GAAI;wBAC5B,oBAAC,IAAI,IAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAI,CACzB,CACL,EAEP,kBAAkB,EAAE,KAAK,GACxB;YACF,oBAAC,QAAQ,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,SAAG,CACd,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,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,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,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,kBAAkB,GAAG,CAAC,KAAwC,EAAE,EAAE;IACvE,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IAEpB,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;IAE3C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,6BAAK,SAAS,EAAC,yCAAyC,IACtD,MAAM,IAAI,CACV,oBAAC,KAAK,CAAC,QAAQ;YACd,oBAAC,wBAAwB,IACxB,EAAE,EAAE,EAAE,EACN,oBAAoB,EAAE;oBACrB,YAAY,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE;iBACnE,GACA;YACF,oBAAC,QAAQ,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,SAAG,CACd,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,kBAAkB,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import React from "react";
2
2
  declare const SeveritySelect: {
3
3
  (props: {
4
- defaultValue?: string | undefined;
5
- open?: boolean | undefined;
6
- autoFocus?: boolean | undefined;
7
- placeholder?: string | undefined;
8
- className?: string | undefined;
9
- onChange?: ((severity: string) => void) | undefined;
10
- onBlur?: (() => void) | undefined;
11
- style?: React.CSSProperties | undefined;
4
+ defaultValue?: string;
5
+ open?: boolean;
6
+ autoFocus?: boolean;
7
+ placeholder?: string;
8
+ className?: string;
9
+ onChange?: (severity: string) => void;
10
+ onBlur?: () => void;
11
+ style?: React.CSSProperties;
12
12
  }): React.JSX.Element;
13
13
  defaultProps: {
14
14
  style: {
@@ -2,14 +2,14 @@ import React from "react";
2
2
  declare const WorkErrorSelect: {
3
3
  (props: {
4
4
  workTypeId: string;
5
- defaultValue?: string | undefined;
6
- open?: boolean | undefined;
7
- autoFocus?: boolean | undefined;
8
- placeholder?: string | undefined;
9
- className?: string | undefined;
10
- onChange?: ((val: string) => void) | undefined;
11
- onBlur?: (() => void) | undefined;
12
- style?: React.CSSProperties | undefined;
5
+ defaultValue?: string;
6
+ open?: boolean;
7
+ autoFocus?: boolean;
8
+ placeholder?: string;
9
+ className?: string;
10
+ onChange?: (val: string) => void;
11
+ onBlur?: () => void;
12
+ style?: React.CSSProperties;
13
13
  }): React.JSX.Element;
14
14
  defaultProps: {
15
15
  style: {