@voplus/morpho-workspace 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/data/work/interfaces.d.ts +2 -2
- package/es/data/work/metas.d.ts +13 -0
- package/es/data/work/metas.js +34 -0
- package/es/data/work/metas.js.map +1 -0
- package/es/data/workerror/interfaces.d.ts +2 -3
- package/es/data/workerror/workerror-events/useOnDeleteWorkspace.js +0 -1
- package/es/data/workerror/workerror-events/useOnDeleteWorkspace.js.map +1 -1
- package/es/data/workerror/workerror-events/useOnNewWorkspace.js +0 -1
- package/es/data/workerror/workerror-events/useOnNewWorkspace.js.map +1 -1
- package/es/data/worktype/hook.d.ts +1 -1
- package/es/data/worktype/hook.js +3 -3
- package/es/data/worktype/hook.js.map +1 -1
- package/es/modules/board/components/Board/state.js +1 -1
- package/es/modules/board/components/Board/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +9 -15
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.js +6 -3
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/state.d.ts +2 -0
- package/es/modules/tasks/components/SubTaskList/state.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/ChildTaskItem.d.ts +4 -0
- package/es/modules/tasks/components/TaskItem/ChildTaskItem.js +18 -0
- package/es/modules/tasks/components/TaskItem/ChildTaskItem.js.map +1 -0
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +2 -0
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js +2 -0
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
- package/es/modules/tasks/controls/ChildTasksDataIcon/index.d.ts +9 -0
- package/es/modules/tasks/controls/ChildTasksDataIcon/index.js +19 -0
- package/es/modules/tasks/controls/ChildTasksDataIcon/index.js.map +1 -0
- package/es/modules/tasks/controls/ChildTasksDataIcon/index.less +29 -0
- package/es/modules/work/components/NewWorkErrorDialog/index.js +26 -15
- package/es/modules/work/components/NewWorkErrorDialog/index.js.map +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.less +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/state.d.ts +2 -0
- package/es/modules/work/components/NewWorkErrorDialog/state.js +1 -0
- package/es/modules/work/components/NewWorkErrorDialog/state.js.map +1 -1
- package/es/modules/work/components/WorkErrorItem/index.js +18 -8
- package/es/modules/work/components/WorkErrorItem/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorItem/index.less +35 -7
- package/es/modules/work/components/WorkErrorProperties/index.d.ts +6 -0
- package/es/modules/work/components/WorkErrorProperties/index.js +57 -0
- package/es/modules/work/components/WorkErrorProperties/index.js.map +1 -0
- package/es/modules/work/components/WorkErrorProperties/index.less +8 -0
- package/es/modules/work/components/WorkErrorProperties/state.d.ts +5 -0
- package/es/modules/work/components/WorkErrorProperties/state.js +26 -0
- package/es/modules/work/components/WorkErrorProperties/state.js.map +1 -0
- package/es/modules/work/components/WorkErrorPropertiesView/index.js +18 -10
- package/es/modules/work/components/WorkErrorPropertiesView/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorPropertiesView/index.less +18 -1
- package/es/modules/work/components/WorkItem/index.js +1 -1
- package/es/modules/work/components/WorkItem/index.js.map +1 -1
- package/es/modules/work/components/WorkList/index.d.ts +2 -0
- package/es/modules/work/components/WorkList/index.js +12 -3
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/components/WorkPropertiesView/index.js +1 -1
- package/es/modules/work/components/WorkPropertiesView/index.js.map +1 -1
- package/es/modules/work/components/WorksProperties/index.js +4 -6
- package/es/modules/work/components/WorksProperties/index.js.map +1 -1
- package/es/modules/work/controls/WorkErrorMenu/index.d.ts +14 -0
- package/es/modules/work/controls/WorkErrorMenu/index.js +39 -0
- package/es/modules/work/controls/WorkErrorMenu/index.js.map +1 -0
- package/es/modules/work/controls/WorkErrorMenu/index.less +33 -0
- package/es/modules/work/pages/WorkDefaultView/index.d.ts +4 -1
- package/es/modules/work/pages/WorkDefaultView/index.js +2 -4
- package/es/modules/work/pages/WorkDefaultView/index.js.map +1 -1
- package/es/modules/work/pages/WorkListPage/index.js +3 -2
- package/es/modules/work/pages/WorkListPage/index.js.map +1 -1
- package/es/modules/workspace/components/MyWorkspaces/index.js +3 -0
- package/es/modules/workspace/components/MyWorkspaces/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspaceCardList/index.d.ts +1 -0
- package/es/modules/workspace/components/WorkspaceCardList/index.js +6 -5
- package/es/modules/workspace/components/WorkspaceCardList/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspacePropertiesView/index.js +1 -1
- package/es/modules/workspace/components/WorkspacePropertiesView/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.d.ts +3 -1
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +2 -4
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspacePage/index.js +60 -43
- package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspacePage/state.d.ts +12 -6
- package/es/modules/workspace/pages/WorkspacePage/state.js +42 -24
- package/es/modules/workspace/pages/WorkspacePage/state.js.map +1 -1
- package/es/modules/worktype/components/RepeatTab/index.d.ts +6 -0
- package/es/modules/worktype/components/RepeatTab/index.js +44 -0
- package/es/modules/worktype/components/RepeatTab/index.js.map +1 -0
- package/es/modules/worktype/components/RepeatTab/index.less +30 -0
- package/es/modules/worktype/components/WorkTypeProperties/index.js +23 -20
- package/es/modules/worktype/components/WorkTypeProperties/index.js.map +1 -1
- package/es/modules/worktype/components/WorkTypeProperties/index.less +0 -9
- package/es/modules/worktype/components/WorkTypeProperties/state.js +0 -1
- package/es/modules/worktype/components/WorkTypeProperties/state.js.map +1 -1
- package/es/modules/worktype/components/WorkTypeQA/index.js +31 -34
- package/es/modules/worktype/components/WorkTypeQA/index.js.map +1 -1
- package/es/modules/worktype/components/WorkTypeTabs/index.js +9 -11
- package/es/modules/worktype/components/WorkTypeTabs/index.js.map +1 -1
- package/es/modules/worktype/pages/WorkTypeDefaultView/index.js +10 -2
- package/es/modules/worktype/pages/WorkTypeDefaultView/index.js.map +1 -1
- package/es/pages/Routes.d.ts +4 -12
- package/es/pages/Routes.js +6 -28
- package/es/pages/Routes.js.map +1 -1
- package/es/pages/Space/pages/MySpace/index.js +6 -6
- package/es/pages/Space/pages/MySpace/index.js.map +1 -1
- package/es/pages/Space/pages/MySpace/state.d.ts +16 -4
- package/es/pages/Space/pages/MySpace/state.js +139 -59
- package/es/pages/Space/pages/MySpace/state.js.map +1 -1
- package/es/pages/WorkType/WorkTypeSelect/index.js +1 -1
- package/es/pages/WorkType/WorkTypeSelect/index.js.map +1 -1
- package/package.json +1 -1
package/es/pages/Routes.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
import { DocumentRoute } from "@voplus/morpho-document/es/routes";
|
2
3
|
declare const Routes: {
|
3
4
|
ProjectDefaultView: {
|
4
5
|
route: string;
|
@@ -6,11 +7,8 @@ declare const Routes: {
|
|
6
7
|
getUrl: (id: string) => string;
|
7
8
|
component: () => JSX.Element;
|
8
9
|
};
|
9
|
-
|
10
|
-
|
11
|
-
tabPattern: RegExp;
|
12
|
-
getUrl: (id: string) => string;
|
13
|
-
component: () => JSX.Element;
|
10
|
+
Work: {
|
11
|
+
getUrl: typeof DocumentRoute;
|
14
12
|
};
|
15
13
|
WorkTypeDefaultView: {
|
16
14
|
route: string;
|
@@ -18,12 +16,6 @@ declare const Routes: {
|
|
18
16
|
getUrl: (id: string) => string;
|
19
17
|
component: () => JSX.Element;
|
20
18
|
};
|
21
|
-
WorkspaceDefaultView: {
|
22
|
-
route: string;
|
23
|
-
tabPattern: RegExp;
|
24
|
-
getUrl: (id: string) => string;
|
25
|
-
component: () => JSX.Element;
|
26
|
-
};
|
27
19
|
MySpace: {
|
28
20
|
route: string;
|
29
21
|
tabPattern: RegExp;
|
@@ -33,7 +25,7 @@ declare const Routes: {
|
|
33
25
|
WorkspacePage: {
|
34
26
|
route: string;
|
35
27
|
tabPattern: RegExp;
|
36
|
-
getUrl: () => string;
|
28
|
+
getUrl: (id: string) => string;
|
37
29
|
component: () => JSX.Element;
|
38
30
|
};
|
39
31
|
addRoutes: () => void;
|
package/es/pages/Routes.js
CHANGED
@@ -1,18 +1,15 @@
|
|
1
1
|
import { Route, Switch } from "react-router";
|
2
2
|
import { BaseRoutes } from "@voplus/morpho-data";
|
3
|
+
import { DocumentRoute } from "@voplus/morpho-document/es/routes";
|
3
4
|
import MySpace from "./Space/pages/MySpace";
|
4
5
|
import ProjectDefaultView from "./Project/ProjectDefaultView";
|
5
6
|
import React from "react";
|
6
|
-
import WorkDefaultView from "../modules/work/pages/WorkDefaultView";
|
7
7
|
import WorkTypeDefaultView from "../modules/worktype/pages/WorkTypeDefaultView";
|
8
|
-
import WorkspaceDefaultView from "../modules/workspace/pages/WorkspaceDefaultView";
|
9
8
|
import WorkspacePage from '../modules/workspace/pages/WorkspacePage';
|
10
9
|
const ProjectRoutes = () => {
|
11
10
|
return (React.createElement(Switch, null,
|
12
11
|
React.createElement(Route, { path: Routes.ProjectDefaultView.route, exact: true, component: Routes.ProjectDefaultView.component }),
|
13
|
-
React.createElement(Route, { path: Routes.WorkDefaultView.route, exact: true, component: Routes.WorkDefaultView.component }),
|
14
12
|
React.createElement(Route, { path: Routes.WorkTypeDefaultView.route, exact: true, component: Routes.WorkTypeDefaultView.component }),
|
15
|
-
React.createElement(Route, { path: Routes.WorkspaceDefaultView.route, exact: true, component: Routes.WorkspaceDefaultView.component }),
|
16
13
|
React.createElement(Route, { path: Routes.MySpace.route, component: Routes.MySpace.component }),
|
17
14
|
React.createElement(Route, { path: Routes.WorkspacePage.route, component: Routes.WorkspacePage.component })));
|
18
15
|
};
|
@@ -23,11 +20,8 @@ const Routes = {
|
|
23
20
|
getUrl: (id) => `/project/${id}`,
|
24
21
|
component: ProjectDefaultView,
|
25
22
|
},
|
26
|
-
|
27
|
-
|
28
|
-
tabPattern: RegExp("/work/[^/]+"),
|
29
|
-
getUrl: (id) => `/work/${id}`,
|
30
|
-
component: WorkDefaultView,
|
23
|
+
Work: {
|
24
|
+
getUrl: DocumentRoute,
|
31
25
|
},
|
32
26
|
WorkTypeDefaultView: {
|
33
27
|
route: "/work-types/:id",
|
@@ -35,12 +29,6 @@ const Routes = {
|
|
35
29
|
getUrl: (id) => `/work-types/${id}`,
|
36
30
|
component: WorkTypeDefaultView,
|
37
31
|
},
|
38
|
-
WorkspaceDefaultView: {
|
39
|
-
route: "/workSpace/:id",
|
40
|
-
tabPattern: RegExp("/workSpace/[^/]+"),
|
41
|
-
getUrl: (id) => `/workSpace/${id}`,
|
42
|
-
component: WorkspaceDefaultView,
|
43
|
-
},
|
44
32
|
MySpace: {
|
45
33
|
route: "/my-space",
|
46
34
|
tabPattern: RegExp("/my-space"),
|
@@ -48,9 +36,9 @@ const Routes = {
|
|
48
36
|
component: MySpace,
|
49
37
|
},
|
50
38
|
WorkspacePage: {
|
51
|
-
route: "/
|
52
|
-
tabPattern: RegExp("/
|
53
|
-
getUrl: () => `/
|
39
|
+
route: "/workspaces/:id",
|
40
|
+
tabPattern: RegExp("/workspaces/[^/]+"),
|
41
|
+
getUrl: (id) => `/workspaces/${id}`,
|
54
42
|
component: WorkspacePage,
|
55
43
|
},
|
56
44
|
addRoutes: () => {
|
@@ -59,21 +47,11 @@ const Routes = {
|
|
59
47
|
tabBasePattern: Routes.ProjectDefaultView.tabPattern,
|
60
48
|
component: React.createElement(ProjectRoutes, null),
|
61
49
|
});
|
62
|
-
BaseRoutes.routes.push({
|
63
|
-
name: "WorkDefaultView",
|
64
|
-
tabBasePattern: Routes.WorkDefaultView.tabPattern,
|
65
|
-
component: React.createElement(ProjectRoutes, null),
|
66
|
-
});
|
67
50
|
BaseRoutes.routes.push({
|
68
51
|
name: "WorkTypeDefaultView",
|
69
52
|
tabBasePattern: Routes.WorkTypeDefaultView.tabPattern,
|
70
53
|
component: React.createElement(ProjectRoutes, null),
|
71
54
|
});
|
72
|
-
BaseRoutes.routes.push({
|
73
|
-
name: "WorkspaceDefaultView",
|
74
|
-
tabBasePattern: Routes.WorkspaceDefaultView.tabPattern,
|
75
|
-
component: React.createElement(ProjectRoutes, null),
|
76
|
-
});
|
77
55
|
BaseRoutes.routes.push({
|
78
56
|
name: "MySpace",
|
79
57
|
tabBasePattern: Routes.MySpace.tabPattern,
|
package/es/pages/Routes.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Routes.js","sourceRoot":"","sources":["../../src/pages/Routes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,
|
1
|
+
{"version":3,"file":"Routes.js","sourceRoot":"","sources":["../../src/pages/Routes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,mBAAmB,MAAM,+CAA+C,CAAC;AAChF,OAAO,aAAa,MAAM,0CAA0C,CAAA;AAEpE,MAAM,aAAa,GAAG,GAAG,EAAE;IAC1B,OAAO,CACN,oBAAC,MAAM;QACN,oBAAC,KAAK,IACL,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAC,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,EAAE,EAAE,CAAC,eAAe,EAAE,EAAE;QAC3C,SAAS,EAAE,aAAa;KACxB;IAED,SAAS,EAAE,GAAG,EAAE;QACf,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,oBAAoB;YAC1B,cAAc,EAAE,MAAM,CAAC,kBAAkB,CAAC,UAAU;YACpD,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;QACH,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,qBAAqB;YAC3B,cAAc,EAAE,MAAM,CAAC,mBAAmB,CAAC,UAAU;YACrD,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;QACH,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,SAAS;YACf,cAAc,EAAE,MAAM,CAAC,OAAO,CAAC,UAAU;YACzC,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;QACH,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,eAAe;YACrB,cAAc,EAAE,MAAM,CAAC,aAAa,CAAC,UAAU;YAC/C,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;IACJ,CAAC;CACD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@@ -34,10 +34,10 @@ const MySpace = () => {
|
|
34
34
|
useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.week = total || 0)), state.tWeek);
|
35
35
|
useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.month = total || 0)), state.tMonth);
|
36
36
|
useTaskListEffect(null, (result, total) => runInAction(() => (state.taskTotals.unscheduled = total || 0)), state.tUnscheduled);
|
37
|
-
useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.today = total || 0)), state.
|
38
|
-
useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.week = total || 0)), state.
|
39
|
-
useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.month = total || 0)), state.
|
40
|
-
useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.unscheduled = total || 0)), state.
|
37
|
+
useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.today = total || 0)), state.wToday);
|
38
|
+
useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.week = total || 0)), state.wWeek);
|
39
|
+
useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.month = total || 0)), state.wMonth);
|
40
|
+
useWorkListEffect(null, (result, total) => runInAction(() => (state.workTotals.unscheduled = total || 0)), state.wUnscheduled);
|
41
41
|
useNotificationListEffect(null, (result, total) => runInAction(() => (state.notificationTotals.unread = total || 0)), state.nUnreadOptions);
|
42
42
|
useNotificationListEffect(null, (result, total) => runInAction(() => (state.notificationTotals.read = total || 0)), state.nReadOptions);
|
43
43
|
useNotificationListEffect(null, (result, total) => runInAction(() => (state.notificationTotals.later = total || 0)), state.nLaterOptions);
|
@@ -47,7 +47,7 @@ const MySpace = () => {
|
|
47
47
|
React.createElement(Scrollbars, { autoHide: true },
|
48
48
|
React.createElement(Menu, { mode: "inline", defaultSelectedKeys: ["/notifications/unread"], selectedKeys: state.menuKey, defaultOpenKeys: ["Notifications"], onClick: (key) => state.navigate(key.key) },
|
49
49
|
React.createElement(Menu.Item, { key: "/documents", icon: React.createElement(FAIcon, { icon: faFolders }) }, "My Documents"),
|
50
|
-
React.createElement(Menu.Item, { key: "/
|
50
|
+
React.createElement(Menu.Item, { key: "/workspace", icon: React.createElement(FAIcon, { icon: faLaptopHouse }) }, "My Workspaces"),
|
51
51
|
React.createElement(SubMenu, { key: "Notifications", icon: React.createElement(FAIcon, { icon: faBell }), title: "My Notifications" },
|
52
52
|
React.createElement(Menu.Item, { key: "/notifications/unread" },
|
53
53
|
"Unread",
|
@@ -94,7 +94,7 @@ const MySpace = () => {
|
|
94
94
|
React.createElement(Switch, null,
|
95
95
|
React.createElement(Route, { path: `${match.path}/documents` },
|
96
96
|
React.createElement(DocumentPage, null)),
|
97
|
-
React.createElement(Route, { path: `${match.path}/
|
97
|
+
React.createElement(Route, { path: `${match.path}/workspace/:active?` },
|
98
98
|
React.createElement(Workspaces, null)),
|
99
99
|
React.createElement(Route, { path: `${match.path}/task/:dueDate/:active?` },
|
100
100
|
React.createElement(Tasks, { state: state })),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAiB,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACzF,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAmB,OAAO,EAAY,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EACN,aAAa,EACb,MAAM,EACN,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,OAAO,GACP,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAExE,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,YAAY,MAAM,+CAA+C,CAAC;AACzE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,WAAW,MAAM,oDAAoD,CAAC;AAG7E,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAE3D,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,OAAO,MAAM,8BAA8B,CAAC;AACnD,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAC3C,OAAO,KAAK,MAAM,wBAAwB,CAAC;A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AI,iCAAiC;gBAC1D,oBAAC,aAAa,IAAC,KAAK,EAAE,KAAK,GAAI,CACxB;YACR,oBAAC,QAAQ,IAAC,EAAE,EAAE,GAAG,KAAK,CAAC,IAAI,uBAAuB,GAAI,CAC9C,CAGI,CACd,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -29,19 +29,31 @@ export declare class State {
|
|
29
29
|
month: number;
|
30
30
|
unscheduled: number;
|
31
31
|
};
|
32
|
+
private todayFilter;
|
33
|
+
private weekFilter;
|
34
|
+
private monthFilter;
|
35
|
+
private unscheduledFilter;
|
32
36
|
constructor(_layout: LayoutContext, _url: string, user: UserContext);
|
33
37
|
navigate(key: string, rest?: string): void;
|
34
38
|
updateTaskTotal(oldStatus: TaskStatus, status: TaskStatus): void;
|
35
39
|
updateWorkTotal(oldStatus: WorkStatus, status: WorkStatus): void;
|
36
40
|
updateNotificationTotal(oldStatus: NotificationStatus, status: NotificationStatus): void;
|
37
|
-
/** tasks
|
41
|
+
/** tasks list DueDate(today) Options */
|
38
42
|
get tToday(): LoadDocumentListOptions;
|
39
|
-
/** tasks
|
43
|
+
/** tasks list DueDate(week) Options */
|
40
44
|
get tWeek(): LoadDocumentListOptions;
|
41
|
-
/** tasks
|
45
|
+
/** tasks list DueDate(month) Options */
|
42
46
|
get tMonth(): LoadDocumentListOptions;
|
43
|
-
/** tasks
|
47
|
+
/** tasks list DueDate(unscheduled) Options */
|
44
48
|
get tUnscheduled(): LoadDocumentListOptions;
|
49
|
+
/** works list DueDate(today) Options */
|
50
|
+
get wToday(): LoadDocumentListOptions;
|
51
|
+
/** works list DueDate(week) Options */
|
52
|
+
get wWeek(): LoadDocumentListOptions;
|
53
|
+
/** works list DueDate(month) Options */
|
54
|
+
get wMonth(): LoadDocumentListOptions;
|
55
|
+
/** works list DueDate(unscheduled) Options */
|
56
|
+
get wUnscheduled(): LoadDocumentListOptions;
|
45
57
|
/** Notifications list Options */
|
46
58
|
get nUnreadOptions(): LoadDocumentListOptions;
|
47
59
|
/** Notifications list Read Options */
|
@@ -36,7 +36,7 @@ export class State {
|
|
36
36
|
unread: 0,
|
37
37
|
read: 0,
|
38
38
|
later: 0,
|
39
|
-
dismissed: 0
|
39
|
+
dismissed: 0,
|
40
40
|
}
|
41
41
|
});
|
42
42
|
/** DueDate of the Tasks list Total */
|
@@ -48,7 +48,7 @@ export class State {
|
|
48
48
|
today: 0,
|
49
49
|
week: 0,
|
50
50
|
month: 0,
|
51
|
-
unscheduled: 0
|
51
|
+
unscheduled: 0,
|
52
52
|
}
|
53
53
|
});
|
54
54
|
/** DueDate of the Works list Total */
|
@@ -60,7 +60,55 @@ export class State {
|
|
60
60
|
today: 0,
|
61
61
|
week: 0,
|
62
62
|
month: 0,
|
63
|
-
unscheduled: 0
|
63
|
+
unscheduled: 0,
|
64
|
+
}
|
65
|
+
});
|
66
|
+
Object.defineProperty(this, "todayFilter", {
|
67
|
+
enumerable: true,
|
68
|
+
configurable: true,
|
69
|
+
writable: true,
|
70
|
+
value: {
|
71
|
+
c: "DueDate",
|
72
|
+
o: "between",
|
73
|
+
l: "And",
|
74
|
+
v1: moment().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
|
75
|
+
v2: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
|
76
|
+
}
|
77
|
+
});
|
78
|
+
Object.defineProperty(this, "weekFilter", {
|
79
|
+
enumerable: true,
|
80
|
+
configurable: true,
|
81
|
+
writable: true,
|
82
|
+
value: {
|
83
|
+
c: "DueDate",
|
84
|
+
o: "between",
|
85
|
+
l: "And",
|
86
|
+
v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
|
87
|
+
v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
|
88
|
+
}
|
89
|
+
});
|
90
|
+
Object.defineProperty(this, "monthFilter", {
|
91
|
+
enumerable: true,
|
92
|
+
configurable: true,
|
93
|
+
writable: true,
|
94
|
+
value: {
|
95
|
+
c: "DueDate",
|
96
|
+
o: "between",
|
97
|
+
l: "And",
|
98
|
+
v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
99
|
+
v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
100
|
+
}
|
101
|
+
});
|
102
|
+
Object.defineProperty(this, "unscheduledFilter", {
|
103
|
+
enumerable: true,
|
104
|
+
configurable: true,
|
105
|
+
writable: true,
|
106
|
+
value: {
|
107
|
+
c: "DueDate",
|
108
|
+
o: "between",
|
109
|
+
l: "And",
|
110
|
+
v1: moment().add(1, "months").startOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
111
|
+
v2: moment().add(1, "months").endOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
64
112
|
}
|
65
113
|
});
|
66
114
|
makeObservable(this);
|
@@ -81,110 +129,130 @@ export class State {
|
|
81
129
|
this.notificationTotals[oldStatus.toLowerCase()]--;
|
82
130
|
this.notificationTotals[status.toLowerCase()]++;
|
83
131
|
}
|
84
|
-
/** tasks
|
132
|
+
/** tasks list DueDate(today) Options */
|
85
133
|
get tToday() {
|
86
134
|
return {
|
87
|
-
Total: true,
|
135
|
+
Total: true,
|
136
|
+
List: false,
|
88
137
|
Filters: [
|
89
|
-
|
90
|
-
c: "DueDate",
|
91
|
-
o: "between",
|
92
|
-
l: "And",
|
93
|
-
v1: moment().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
|
94
|
-
v2: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
|
95
|
-
},
|
138
|
+
this.todayFilter,
|
96
139
|
{ c: "Members", o: "contains", l: "And", v1: JSON.stringify([this.user.info.unit.id]) },
|
97
|
-
{ c: "Status", o: "!=", v1: "Draft", l: "And" }
|
140
|
+
{ c: "Status", o: "!=", v1: "Draft", l: "And" },
|
98
141
|
],
|
99
142
|
};
|
100
143
|
}
|
101
|
-
/** tasks
|
144
|
+
/** tasks list DueDate(week) Options */
|
102
145
|
get tWeek() {
|
103
146
|
return {
|
104
|
-
Total: true,
|
147
|
+
Total: true,
|
148
|
+
List: false,
|
105
149
|
Filters: [
|
106
|
-
|
107
|
-
c: "DueDate",
|
108
|
-
o: "between",
|
109
|
-
l: "And",
|
110
|
-
v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
|
111
|
-
v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
|
112
|
-
},
|
150
|
+
this.weekFilter,
|
113
151
|
{ c: "Members", o: "contains", l: "And", v1: JSON.stringify([this.user.info.unit.id]) },
|
114
|
-
{ c: "Status", o: "!=", v1: "Draft", l: "And" }
|
152
|
+
{ c: "Status", o: "!=", v1: "Draft", l: "And" },
|
115
153
|
],
|
116
154
|
};
|
117
155
|
}
|
118
|
-
/** tasks
|
156
|
+
/** tasks list DueDate(month) Options */
|
119
157
|
get tMonth() {
|
120
158
|
return {
|
121
|
-
Total: true,
|
159
|
+
Total: true,
|
160
|
+
List: false,
|
122
161
|
Filters: [
|
123
|
-
|
124
|
-
c: "DueDate",
|
125
|
-
o: "between",
|
126
|
-
l: "And",
|
127
|
-
v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
128
|
-
v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
129
|
-
},
|
162
|
+
this.monthFilter,
|
130
163
|
{ c: "Members", o: "contains", l: "And", v1: JSON.stringify([this.user.info.unit.id]) },
|
131
|
-
{ c: "Status", o: "!=", v1: "Draft", l: "And" }
|
164
|
+
{ c: "Status", o: "!=", v1: "Draft", l: "And" },
|
132
165
|
],
|
133
166
|
};
|
134
167
|
}
|
135
|
-
/** tasks
|
168
|
+
/** tasks list DueDate(unscheduled) Options */
|
136
169
|
get tUnscheduled() {
|
137
170
|
return {
|
138
|
-
Total: true,
|
171
|
+
Total: true,
|
172
|
+
List: false,
|
139
173
|
Filters: [
|
140
|
-
|
141
|
-
c: "DueDate",
|
142
|
-
o: "between",
|
143
|
-
l: "And",
|
144
|
-
v1: moment().add(1, "months").startOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
145
|
-
v2: moment().add(1, "months").endOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
146
|
-
},
|
174
|
+
this.unscheduledFilter,
|
147
175
|
{ c: "Members", o: "contains", l: "And", v1: JSON.stringify([this.user.info.unit.id]) },
|
148
|
-
{ c: "Status", o: "!=", v1: "Draft", l: "And" }
|
176
|
+
{ c: "Status", o: "!=", v1: "Draft", l: "And" },
|
149
177
|
],
|
150
178
|
};
|
151
179
|
}
|
152
|
-
/**
|
153
|
-
get
|
180
|
+
/** works list DueDate(today) Options */
|
181
|
+
get wToday() {
|
154
182
|
return {
|
155
|
-
Total: true,
|
183
|
+
Total: true,
|
184
|
+
List: false,
|
156
185
|
Filters: [
|
157
|
-
|
186
|
+
this.todayFilter,
|
187
|
+
{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
|
158
188
|
],
|
159
189
|
};
|
160
190
|
}
|
161
|
-
/**
|
162
|
-
get
|
191
|
+
/** works list DueDate(week) Options */
|
192
|
+
get wWeek() {
|
163
193
|
return {
|
164
|
-
Total: true,
|
194
|
+
Total: true,
|
195
|
+
List: false,
|
165
196
|
Filters: [
|
166
|
-
|
197
|
+
this.weekFilter,
|
198
|
+
{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
|
167
199
|
],
|
168
200
|
};
|
169
201
|
}
|
170
|
-
/**
|
171
|
-
get
|
202
|
+
/** works list DueDate(month) Options */
|
203
|
+
get wMonth() {
|
172
204
|
return {
|
173
|
-
Total: true,
|
205
|
+
Total: true,
|
206
|
+
List: false,
|
174
207
|
Filters: [
|
175
|
-
|
208
|
+
this.monthFilter,
|
209
|
+
{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
|
176
210
|
],
|
177
211
|
};
|
178
212
|
}
|
179
|
-
/**
|
180
|
-
get
|
213
|
+
/** works list DueDate(unscheduled) Options */
|
214
|
+
get wUnscheduled() {
|
181
215
|
return {
|
182
|
-
Total: true,
|
216
|
+
Total: true,
|
217
|
+
List: false,
|
183
218
|
Filters: [
|
184
|
-
|
219
|
+
this.unscheduledFilter,
|
220
|
+
{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
|
185
221
|
],
|
186
222
|
};
|
187
223
|
}
|
224
|
+
/** Notifications list Options */
|
225
|
+
get nUnreadOptions() {
|
226
|
+
return {
|
227
|
+
Total: true,
|
228
|
+
List: false,
|
229
|
+
Filters: [{ c: "Status", o: "=", l: "And", v1: "Unread" }],
|
230
|
+
};
|
231
|
+
}
|
232
|
+
/** Notifications list Read Options */
|
233
|
+
get nReadOptions() {
|
234
|
+
return {
|
235
|
+
Total: true,
|
236
|
+
List: false,
|
237
|
+
Filters: [{ c: "Status", o: "=", l: "And", v1: "Read" }],
|
238
|
+
};
|
239
|
+
}
|
240
|
+
/** Notifications list Later Options */
|
241
|
+
get nLaterOptions() {
|
242
|
+
return {
|
243
|
+
Total: true,
|
244
|
+
List: false,
|
245
|
+
Filters: [{ c: "Status", o: "=", l: "And", v1: "Later" }],
|
246
|
+
};
|
247
|
+
}
|
248
|
+
/** Notifications list Dismissed Options */
|
249
|
+
get nDismissedOptions() {
|
250
|
+
return {
|
251
|
+
Total: true,
|
252
|
+
List: false,
|
253
|
+
Filters: [{ c: "Status", o: "=", l: "And", v1: "Dismissed" }],
|
254
|
+
};
|
255
|
+
}
|
188
256
|
}
|
189
257
|
__decorate([
|
190
258
|
observable
|
@@ -222,6 +290,18 @@ __decorate([
|
|
222
290
|
__decorate([
|
223
291
|
computed
|
224
292
|
], State.prototype, "tUnscheduled", null);
|
293
|
+
__decorate([
|
294
|
+
computed
|
295
|
+
], State.prototype, "wToday", null);
|
296
|
+
__decorate([
|
297
|
+
computed
|
298
|
+
], State.prototype, "wWeek", null);
|
299
|
+
__decorate([
|
300
|
+
computed
|
301
|
+
], State.prototype, "wMonth", null);
|
302
|
+
__decorate([
|
303
|
+
computed
|
304
|
+
], State.prototype, "wUnscheduled", null);
|
225
305
|
__decorate([
|
226
306
|
computed
|
227
307
|
], State.prototype, "nUnreadOptions", null);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,MAAkB,MAAM,QAAQ,CAAC;AAOxC,MAAM,OAAO,KAAK;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,MAAkB,MAAM,QAAQ,CAAC;AAOxC,MAAM,OAAO,KAAK;IA2DjB,YAAoB,OAAsB,EAAU,IAAY,EAAU,IAAiB;;;;;mBAAvE;;;;;;mBAAgC;;;;;;mBAAsB;;QA1D9D;;;;mBAAiB,SAAiC;WAAC;QAE/D,0CAA0C;QAC9B;;;;mBAA4B;gBACvC,MAAM,EAAE,CAAC;gBACT,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;gBACR,SAAS,EAAE,CAAC;aACZ;WAAC;QAEF,sCAAsC;QAC1B;;;;mBAAoB;gBAC/B,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;gBACR,WAAW,EAAE,CAAC;aACd;WAAC;QAEF,sCAAsC;QAC1B;;;;mBAAoB;gBAC/B,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;gBACR,WAAW,EAAE,CAAC;aACd;WAAC;QAEF;;;;mBAAoC;gBACnC,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,MAAM,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AxOY;IAAX,UAAU;sCAAoD;AAGnD;IAAX,UAAU;iDAKT;AAGU;IAAX,UAAU;yCAKT;AAGU;IAAX,UAAU;yCAKT;AAsCM;IAAP,MAAM;qCAGN;AAGD;IADC,MAAM;4CAIN;AAGD;IADC,MAAM;4CAIN;AAGD;IADC,MAAM;oDAIN;AAID;IADC,QAAQ;mCAWR;AAID;IADC,QAAQ;kCAWR;AAID;IADC,QAAQ;mCAWR;AAID;IADC,QAAQ;yCAWR;AAID;IADC,QAAQ;mCAUR;AAID;IADC,QAAQ;kCAUR;AAID;IADC,QAAQ;mCAUR;AAID;IADC,QAAQ;yCAUR;AAID;IADC,QAAQ;2CAOR;AAID;IADC,QAAQ;yCAOR;AAID;IADC,QAAQ;0CAOR;AAID;IADC,QAAQ;8CAOR"}
|
@@ -7,7 +7,7 @@ const WorkTypeSelect = (props) => {
|
|
7
7
|
const { onChange, style } = props;
|
8
8
|
const list = useCreateListDataState({
|
9
9
|
filterDefaults: {
|
10
|
-
filters: [{ c: "Roles", o: "contains", l: "And", v1: "Requester" }]
|
10
|
+
filters: [{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Requester"]) }]
|
11
11
|
},
|
12
12
|
}, []);
|
13
13
|
useWorkTypeListEffect(null, (result) => list.union(result), list.filters.options);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/WorkTypeSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,MAAM,cAAc,GAAG,CAAC,KAGvB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EA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