@voplus/morpho-workspace 1.2.0-dev.12 → 1.2.0-dev02
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/changelog.md +0 -3
- package/es/controls/MoreOperateDropdown/index.d.ts +1 -1
- package/es/controls/filters/DueDateFilter/state.js.map +1 -1
- package/es/controls/filters/StartDateFilter/state.js.map +1 -1
- package/es/data/board/mock.js +0 -21
- package/es/data/board/mock.js.map +1 -1
- package/es/data/task/interfaces.d.ts +1 -2
- package/es/modules/board/components/Board/index.js.map +1 -1
- package/es/modules/board/components/BoardColumn/index.js +8 -6
- package/es/modules/board/components/BoardColumn/index.js.map +1 -1
- package/es/modules/board/components/BoardColumn/index.less +0 -2
- package/es/modules/board/components/BoardColumn/state.d.ts +3 -1
- package/es/modules/board/components/BoardColumn/state.js +18 -8
- package/es/modules/board/components/BoardColumn/state.js.map +1 -1
- package/es/modules/board/components/SubDocumentList/index.js.map +1 -1
- package/es/modules/board/pages/BoardViewList/index.js.map +1 -1
- package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
- package/es/modules/meeting/MeetingRoutes.js +1 -1
- package/es/modules/meeting/MeetingRoutes.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.d.ts +2 -2
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +25 -17
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.d.ts +3 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +15 -10
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +14 -24
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +1 -9
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +0 -6
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +0 -40
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +4 -6
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/index.js +1 -2
- package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingHeader/index.js +1 -1
- package/es/modules/meeting/components/MeetingItem/index.js +1 -1
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingList/index.d.ts +2 -2
- package/es/modules/meeting/components/MeetingList/index.js +3 -9
- package/es/modules/meeting/components/MeetingList/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingTaskList/index.js +1 -1
- package/es/modules/meeting/components/MeetingTaskList/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +7 -3
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +1 -3
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +1 -1
- package/es/modules/meeting/components/NewMeetingForm/index.js +6 -8
- package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingListView/index.js +6 -6
- package/es/modules/meeting/pages/MeetingListView/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.js +4 -4
- package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
- package/es/modules/menus/pages/ListOptions/Teams/index.js +4 -2
- package/es/modules/menus/pages/ListOptions/Teams/index.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/index.js +5 -10
- package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.js +2 -6
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +8 -7
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js +7 -7
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/state.d.ts +3 -2
- package/es/modules/tasks/components/TaskItem/state.js +2 -8
- package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js +6 -5
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js +2 -2
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskList/index.js +1 -2
- package/es/modules/tasks/pages/TaskList/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.js +9 -8
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.less +1 -1
- package/es/modules/workspaces/pages/BoardView/index.js +3 -2
- package/es/modules/workspaces/pages/BoardView/index.js.map +1 -1
- package/es/pages/Space/components/Tasks/index.less +1 -1
- package/es/pages/Space/pages/MySpace/state.js.map +1 -1
- package/es/pages/Work/components/WorkSummaryCards/WorkDueCard/index.js.map +1 -1
- package/es/pages/WorkType/WorkTypeDetail/index.js.map +1 -1
- package/es/pages/WorkType/WorkTypeSelect/index.js.map +1 -1
- package/package.json +22 -24
- package/es/controls/InlineSearch/index.d.ts +0 -6
- package/es/controls/InlineSearch/index.js +0 -42
- package/es/controls/InlineSearch/index.js.map +0 -1
- package/es/controls/InlineSearch/index.less +0 -10
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.d.ts +0 -20
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.js +0 -52
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.js.map +0 -1
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.less +0 -12
- package/es/modules/tasks/controls/TaskStatusLabel/index.d.ts +0 -10
- package/es/modules/tasks/controls/TaskStatusLabel/index.js +0 -9
- package/es/modules/tasks/controls/TaskStatusLabel/index.js.map +0 -1
- package/es/modules/tasks/controls/TaskStatusLabel/index.less +0 -33
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,uDAAuD,CAAC;AACpF,OAAO,qBAAqB,MAAM,qCAAqC,CAAC;AACxE,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,YAAY,EA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AAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
@@ -45,9 +45,8 @@ const TaskList = (props) => {
|
|
45
45
|
React.createElement(StartDateFilter, { key: "StartDateFilter" }),
|
46
46
|
React.createElement(DueDateFilter, { key: "DueDateFilter" }),
|
47
47
|
],
|
48
|
-
|
48
|
+
onFilter,
|
49
49
|
},
|
50
|
-
quickSearch: true,
|
51
50
|
}, formViewTitle: "Add Task", formView: React.createElement(NewTaskForm, { showView: true }), propertiesView: (id) => React.createElement(TaskPropertiesView, { id: id }), moveAfter: moveAfter, renderItem: ({ item, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: {
|
52
51
|
active: activeId === item.id,
|
53
52
|
hoverEffect: "none",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,E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AAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -2,22 +2,21 @@ import { Archive, Reload, Sidebar } from "@voplus/morpho-document/es/controls/To
|
|
2
2
|
import { Breadcrumb, Skeleton, message } from "@voplus/antd";
|
3
3
|
import { CommentDataIcon, DocumentDataIcon, UserQuickIcon, } from "@voplus/morpho-document/es/controls/data-icons";
|
4
4
|
import React, { useEffect, useState } from "react";
|
5
|
-
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
6
5
|
import { useApplicationContext, useLayout, useTabItem } from "@voplus/morpho-data";
|
7
6
|
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
8
7
|
import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
|
9
8
|
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
10
9
|
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
11
10
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
11
|
+
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
12
12
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
13
13
|
import SubTaskItem from "../../components/TaskItem/SubTaskItem";
|
14
14
|
import SubTaskList from "../../components/SubTaskList";
|
15
15
|
import TaskAnalyticsDataIcon from "../../reports/TaskAnalyticsDataIcon";
|
16
16
|
import TaskEstimatedTime from "../../components/TaskEstimatedTime";
|
17
|
-
import TaskStatusLabel from "../../controls/TaskStatusLabel";
|
18
17
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
19
|
-
import { autorun } from "mobx";
|
20
18
|
import classnames from "classnames";
|
19
|
+
import { observe } from "@voplus/morpho-ui";
|
21
20
|
import { runInAction } from "mobx";
|
22
21
|
import styles from "./index.less";
|
23
22
|
import { useRouteMatch } from "react-router";
|
@@ -37,10 +36,12 @@ const TaskTabView = () => {
|
|
37
36
|
useEffect(() => {
|
38
37
|
runInAction(() => asideContext.openAside(AsideElement, { span: 12 }));
|
39
38
|
}, []);
|
40
|
-
useEffect(() =>
|
41
|
-
|
42
|
-
|
43
|
-
|
39
|
+
useEffect(() => {
|
40
|
+
setTaskStatus(task.taskStatus);
|
41
|
+
}, [task.taskStatus]);
|
42
|
+
useEffect(() => {
|
43
|
+
runInAction(() => (tab.title = task === null || task === void 0 ? void 0 : task.name));
|
44
|
+
}, [task === null || task === void 0 ? void 0 : task.name]);
|
44
45
|
const AsideElement = (React.createElement("div", { className: "module-tab-view_aside" },
|
45
46
|
React.createElement(DocumentTabs, { id: id, exclude: ["Task"] })));
|
46
47
|
const subStrName = (name) => {
|
@@ -83,7 +84,7 @@ const TaskTabView = () => {
|
|
83
84
|
? asideContext.closeAside()
|
84
85
|
: asideContext.openAside(AsideElement, { span: 12 })) }),
|
85
86
|
React.createElement(Archive, null))),
|
86
|
-
React.createElement(
|
87
|
+
React.createElement(DocumentStatusLabel, { status: taskStatus, editable: taskStatus !== "NotAssigned" || !task.readonly, onChange: (TaskStatus) => onEdit(TaskStatus), className: "margin-top-10" })), descriptionVisible: false }),
|
87
88
|
task.loading ? (React.createElement("div", { className: "task-tab-description" },
|
88
89
|
React.createElement(Skeleton, { active: true }))) : (React.createElement(DescriptionEditor, { id: id, description: task.description, readonly: task.readonly, padding: "0 0 0.75rem 0" })),
|
89
90
|
task.loading ? (React.createElement("div", { className: "task-tab-description" },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAO,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,C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,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAQ;wBAC7D,oBAAC,WAAW,IACX,EAAE,EACD,IAAI,CAAC,KAAK;gCACT,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE;oCACrB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;oCACd,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;gCAChB,CAAC,CAAC,EAAE,EAEN,MAAM,SACL,CACG,CACN,CAAC,CACE,CACN,CACD;gBACD,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU,GAAI,CACnD,CACjB,CACI,CACQ,CACV,CACN,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;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
|
2
|
+
import DocumentMenu from "@voplus/morpho-document/es/components/DocumentMenu";
|
2
3
|
import ListHeard from "../../components/ListHeard";
|
3
4
|
import React from "react";
|
4
5
|
import { observe } from "@voplus/morpho-ui";
|
5
6
|
import style from "./index.less";
|
6
7
|
import { useApplicationContext } from "@voplus/morpho-data";
|
7
|
-
//import DocumentMenu from "@voplus/morpho-document/es/components/DocumentMenu";
|
8
8
|
export default () => {
|
9
9
|
const { user } = useApplicationContext();
|
10
10
|
const list = [
|
@@ -55,7 +55,8 @@ export default () => {
|
|
55
55
|
React.createElement("div", { className: "list-content" }, list.map((item) => {
|
56
56
|
return (React.createElement("div", { className: "list-item", key: item.id },
|
57
57
|
React.createElement("div", { className: "list-item-top" },
|
58
|
-
React.createElement("span", null, "Dropbox Inc")
|
58
|
+
React.createElement("span", null, "Dropbox Inc"),
|
59
|
+
React.createElement(DocumentMenu, { id: "dummy" })),
|
59
60
|
React.createElement("div", { className: "list-item-title" }, "Development"),
|
60
61
|
React.createElement("div", { className: "content-list-edit" },
|
61
62
|
React.createElement("span", null,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspaces/pages/BoardView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspaces/pages/BoardView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,SAAS,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE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AAK,SAAS,EAAC,eAAe;oBAC7B,gDAAwB;oBACxB,oBAAC,YAAY,IAAC,EAAE,EAAC,OAAO,GAAG,CACtB;gBACN,6BAAK,SAAS,EAAC,iBAAiB,kBAAkB;gBAClD,6BAAK,SAAS,EAAC,mBAAmB;oBACjC;;wBACc,8BAAM,SAAS,EAAC,YAAY,IAAE,IAAI,CAAC,IAAI,CAAQ,CACtD;oBACP,+BAAM;oBACN,kCAAO,IAAI,CAAC,IAAI,CAAQ,CACnB;gBACN,6BAAK,SAAS,EAAC,eAAe;oBAC7B,oBAAC,UAAU,IAAC,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,IAAI,EAAE,EAAE,GAAI,CAC7D,CACD,CACN,CAAC;QACH,CAAC,CAAC,CACG,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,MAAkB,MAAM,QAAQ,CAAC;AAMxC,MAAM,OAAO,KAAK;IAKjB;QAJY;;;;mBAAiB,EAAE;WAAC;QAChC,sBAAsB;QACV;;;;;WAAmC;QAG9C,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,IAAW,OAAO;;QACjB,IAAI,
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,MAAkB,MAAM,QAAQ,CAAC;AAMxC,MAAM,OAAO,KAAK;IAKjB;QAJY;;;;mBAAiB,EAAE;WAAC;QAChC,sBAAsB;QACV;;;;;WAAmC;QAG9C,cAAc,CAAC,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AAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;QACnE,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC;YACnC,IAAI,CAAC,OAAO,GAAG,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QACrE,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC;YACzC,IAAI,CAAC,OAAO,GAAG;gBACd,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;gBAC1C,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;aACxC,CAAC;IACJ,CAAC;CACD;AArCY;IAAX,UAAU;sCAAqB;AAEpB;IAAX,UAAU;sCAAoC;AAqBvC;IAAP,MAAM;oCAaN"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/pages/Work/components/WorkSummaryCards/WorkDueCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,oCAAoC,CAAC;AAEtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,WAAW,GAAG,CAAC,KAAwC,EAAE,EAAE;;IAChE,MAAM,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC;IAChC,MAAM,QAAQ,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/pages/Work/components/WorkSummaryCards/WorkDueCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,oCAAoC,CAAC;AAEtD,OAAO,KAAK,MAAM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
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -28,44 +28,42 @@
|
|
28
28
|
"pre-push": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src"
|
29
29
|
}
|
30
30
|
},
|
31
|
-
"dependencies": {
|
32
|
-
"@fullcalendar/core": "^5.6.0",
|
33
|
-
"@fullcalendar/daygrid": "^5.6.0",
|
34
|
-
"@fullcalendar/interaction": "^5.6.0",
|
35
|
-
"@fullcalendar/react": "^5.6.0",
|
36
|
-
"@fullcalendar/timegrid": "^5.6.0",
|
37
|
-
"@uiw/react-codemirror": "^3.0.6",
|
38
|
-
"object-hash": "^2.1.1",
|
39
|
-
"react-beautiful-dnd": "^13.1.0",
|
40
|
-
"tippy.js": "^5.1.4"
|
41
|
-
},
|
42
31
|
"devDependencies": {
|
43
|
-
"@types/classnames": "^2.3.1",
|
44
32
|
"@types/lodash-es": "^4.17.4",
|
45
33
|
"@types/mockjs": "^1.0.3",
|
46
34
|
"@types/object-hash": "^1.3.4",
|
47
|
-
"@types/react": "^17.0.
|
35
|
+
"@types/react": "^17.0.2",
|
48
36
|
"@types/react-beautiful-dnd": "^13.0.0",
|
49
37
|
"@voplus/antd": "^4.10.3-vo1.0.2",
|
50
38
|
"@voplus/morpho-client-test": "^1.2.0-dev01",
|
51
39
|
"@voplus/morpho-collaboration": "^1.2.0-dev01",
|
52
40
|
"@voplus/morpho-collaboration-action": "^1.2.0-dev01",
|
53
|
-
"@voplus/morpho-config": "^1.2.0-
|
41
|
+
"@voplus/morpho-config": "^1.2.0-dev08",
|
54
42
|
"@voplus/morpho-data": "^1.2.0-dev01",
|
55
|
-
"@voplus/morpho-document": "^1.2.0-
|
56
|
-
"@voplus/morpho-document-core": "^1.2.0-
|
43
|
+
"@voplus/morpho-document": "^1.2.0-dev02",
|
44
|
+
"@voplus/morpho-document-core": "^1.2.0-dev01",
|
57
45
|
"@voplus/morpho-form": "^1.2.0-dev01",
|
58
|
-
"@voplus/morpho-org": "^1.2.0-
|
46
|
+
"@voplus/morpho-org": "^1.2.0-dev01",
|
59
47
|
"@voplus/morpho-report": "^1.2.0-dev01",
|
60
|
-
"@voplus/morpho-text": "^1.2.0-
|
61
|
-
"@voplus/morpho-ui": "^1.2.0-
|
48
|
+
"@voplus/morpho-text": "^1.2.0-dev02",
|
49
|
+
"@voplus/morpho-ui": "^1.2.0-dev01",
|
62
50
|
"mockjs": "^1.1.0",
|
63
51
|
"typemoq": "^2.1.0"
|
64
52
|
},
|
65
53
|
"peerDependencies": {
|
66
|
-
"@voplus/morpho-document": "1.2
|
67
|
-
"@voplus/morpho-form": "1.2
|
68
|
-
"@voplus/morpho-text": "1.2
|
69
|
-
"@voplus/morpho-report": "1.2
|
54
|
+
"@voplus/morpho-document": "^1.2.*",
|
55
|
+
"@voplus/morpho-form": "^1.2.*",
|
56
|
+
"@voplus/morpho-text": "^1.2.*",
|
57
|
+
"@voplus/morpho-report": "^1.2.*"
|
58
|
+
},
|
59
|
+
"dependencies": {
|
60
|
+
"@fullcalendar/core": "^5.5.1",
|
61
|
+
"@fullcalendar/daygrid": "^5.5.0",
|
62
|
+
"@fullcalendar/interaction": "^5.5.0",
|
63
|
+
"@fullcalendar/react": "^5.5.0",
|
64
|
+
"@fullcalendar/timegrid": "^5.5.1",
|
65
|
+
"object-hash": "^2.1.1",
|
66
|
+
"react-beautiful-dnd": "^13.0.0",
|
67
|
+
"tippy.js": "^5.1.4"
|
70
68
|
}
|
71
69
|
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import { Button, Row } from "@voplus/antd";
|
2
|
-
import React, { useEffect, useState } from "react";
|
3
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
4
|
-
import { SearchHeader } from "@voplus/morpho-ui/es/components/layout/ListView/headers";
|
5
|
-
import { faSearch } from "@fortawesome/pro-light-svg-icons";
|
6
|
-
import style from "./index.less";
|
7
|
-
const InlineSearch = (props) => {
|
8
|
-
const [search, setSearch] = useState(false);
|
9
|
-
const [keyword, setKeyword] = useState("");
|
10
|
-
const [timer, setTimer] = useState();
|
11
|
-
useEffect(() => {
|
12
|
-
setKeyword("");
|
13
|
-
setSearch(false);
|
14
|
-
}, [props.render]);
|
15
|
-
return search ? (React.createElement(Row, { align: "middle", className: style["inline-search"] },
|
16
|
-
React.createElement(SearchHeader, { onChange: onSearch }),
|
17
|
-
React.createElement(Button, { type: "text", onClick: cancel }, "Cancel"))) : (React.createElement("div", { onClick: () => setSearch(true), className: "view-title" },
|
18
|
-
React.createElement(FAIcon, { icon: faSearch, style: { marginRight: "10px" } }),
|
19
|
-
"Search"));
|
20
|
-
/** cancel search */
|
21
|
-
function cancel() {
|
22
|
-
var _a;
|
23
|
-
setSearch(false);
|
24
|
-
if (keyword) {
|
25
|
-
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, "");
|
26
|
-
setKeyword("");
|
27
|
-
}
|
28
|
-
}
|
29
|
-
/** search for name */
|
30
|
-
function onSearch(val) {
|
31
|
-
if (timer)
|
32
|
-
clearTimeout(timer);
|
33
|
-
setTimer(setTimeout(() => {
|
34
|
-
var _a;
|
35
|
-
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, val);
|
36
|
-
setKeyword(val);
|
37
|
-
setTimer(undefined);
|
38
|
-
}, 1000));
|
39
|
-
}
|
40
|
-
};
|
41
|
-
export default InlineSearch;
|
42
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/InlineSearch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,yDAAyD,CAAC;AACvF,OAA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B;IACtB,SAAS,QAAQ,CAAC,GAAW;QAC5B,IAAI,KAAK;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,QAAQ,CACP,UAAU,CAAC,GAAG,EAAE;;YACf,MAAA,KAAK,CAAC,QAAQ,+CAAd,KAAK,EAAY,GAAG,CAAC,CAAC;YACtB,UAAU,CAAC,GAAG,CAAC,CAAC;YAChB,QAAQ,CAAC,SAAS,CAAC,CAAC;QACrB,CAAC,EAAE,IAAI,CAAQ,CACf,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import React, { CSSProperties } from "react";
|
2
|
-
import style from "./index.less";
|
3
|
-
declare const QuickSearch: {
|
4
|
-
(props: {
|
5
|
-
/** reset 默认值标识/parentId */
|
6
|
-
renderId?: string | undefined;
|
7
|
-
title?: string | undefined;
|
8
|
-
placeholder?: string | undefined;
|
9
|
-
/** width of Input */
|
10
|
-
width?: string | undefined;
|
11
|
-
onChange?: ((value: string) => void) | undefined;
|
12
|
-
onPressEnter?: ((value: string) => void | Promise<void>) | undefined;
|
13
|
-
className?: string | undefined;
|
14
|
-
style?: React.CSSProperties | undefined;
|
15
|
-
}): JSX.Element;
|
16
|
-
defaultProps: {
|
17
|
-
width: string;
|
18
|
-
};
|
19
|
-
};
|
20
|
-
export default QuickSearch;
|
@@ -1,52 +0,0 @@
|
|
1
|
-
import React, { useEffect, useState } from "react";
|
2
|
-
import { faSearch, faTimes } from "@fortawesome/pro-light-svg-icons";
|
3
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
4
|
-
import { Input } from "@voplus/antd";
|
5
|
-
import classnames from "classnames";
|
6
|
-
import style from "./index.less";
|
7
|
-
const QuickSearch = (props) => {
|
8
|
-
const [inputVisible, setInputVisible] = useState(false);
|
9
|
-
const [keyword, setKeyword] = useState("");
|
10
|
-
const [timer, setTimer] = useState();
|
11
|
-
useEffect(() => {
|
12
|
-
setInputVisible(false);
|
13
|
-
setKeyword("");
|
14
|
-
}, [props === null || props === void 0 ? void 0 : props.renderId]);
|
15
|
-
return inputVisible ? (React.createElement("span", { className: classnames(style["quick-search"], props.className), style: props.style },
|
16
|
-
React.createElement(Input, { autoFocus: true, value: keyword, prefix: React.createElement(FAIcon, { icon: faSearch }), suffix: React.createElement(FAIcon, { icon: faTimes, onClick: cancel }), placeholder: props.placeholder, onChange: onChange, onPressEnter: () => props.onPressEnter && props.onPressEnter(keyword), style: { width: props.width } }))) : (React.createElement("span", { className: classnames(style["quick-search"], props.className), style: props.style, onClick: () => setInputVisible(true) },
|
17
|
-
React.createElement(FAIcon, { icon: faSearch, className: classnames({ "margin-right-10": props.title }) }),
|
18
|
-
props.title));
|
19
|
-
function onChange(e) {
|
20
|
-
setKeyword(e.target.value);
|
21
|
-
onSearch(e.target.value);
|
22
|
-
}
|
23
|
-
/** 若放置在onChange里,
|
24
|
-
* 1. props.onChange?.(e.target.value)
|
25
|
-
* If you're seeing this, you're accessing the property `target` on a released/nullified synthetic event.
|
26
|
-
* 2. props.onChange?.(keyword)
|
27
|
-
* keyword 会有点点延迟,keyword !== e.target.value
|
28
|
-
*/
|
29
|
-
function onSearch(value) {
|
30
|
-
if (timer)
|
31
|
-
clearTimeout(timer);
|
32
|
-
setTimer(setTimeout(() => {
|
33
|
-
var _a;
|
34
|
-
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, value);
|
35
|
-
setTimer(undefined);
|
36
|
-
}, 1000));
|
37
|
-
}
|
38
|
-
/** */
|
39
|
-
function cancel() {
|
40
|
-
var _a;
|
41
|
-
setInputVisible(false);
|
42
|
-
if (keyword) {
|
43
|
-
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, "");
|
44
|
-
setKeyword("");
|
45
|
-
}
|
46
|
-
}
|
47
|
-
};
|
48
|
-
QuickSearch.defaultProps = {
|
49
|
-
width: "auto",
|
50
|
-
};
|
51
|
-
export default QuickSearch;
|
52
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/MeetingList/QuickSearch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAErE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,MAAM,WAAW,GAAG,CAAC,KAWpB,EAAE,EAAE;IACJ,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAExD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAE3C,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAA8B,CAAC;IAEjE,SAAS,CAAC,GAAG,EAAE;QACd,eAAe,CAAC,KAAK,CAAC,CAAC;QACvB,UAAU,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC,EAAE,CAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,QAAQ,CAAC,CAAC,CAAC;IAEtB,OAAO,YAAY,CAAC,CAAC,CAAC,CACrB,8BAAM,SAAS,EAAE,UAAU,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK;QACtF,oBAAC,KAAK,IACL,SAAS,QACT,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,QAAQ,GAAI,EAClC,MAA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I,OAAO,EAAE;YACZ,MAAA,KAAK,CAAC,QAAQ,+CAAd,KAAK,EAAY,EAAE,CAAC,CAAC;YACrB,UAAU,CAAC,EAAE,CAAC,CAAC;SACf;IACF,CAAC;AACF,CAAC,CAAC;AAEF,WAAW,CAAC,YAAY,GAAG;IAC1B,KAAK,EAAE,MAAM;CACb,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import "./index.less";
|
3
|
-
import { TaskStatus } from "../../../../data/task";
|
4
|
-
declare const TaskStatusLabel: (props: {
|
5
|
-
status: string;
|
6
|
-
editable: boolean;
|
7
|
-
className?: string | undefined;
|
8
|
-
onChange: (status: TaskStatus) => void;
|
9
|
-
}) => JSX.Element;
|
10
|
-
export default TaskStatusLabel;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import "./index.less";
|
2
|
-
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
3
|
-
import React from "react";
|
4
|
-
import classnames from "classnames";
|
5
|
-
const TaskStatusLabel = (props) => {
|
6
|
-
return (React.createElement(DocumentStatusLabel, { className: classnames("task-status", props.className), editable: props.editable, list: [{ name: "NotStarted" }, { name: "Progress" }, { name: "Done" }, { name: "Closed" }], status: props.status, onChange: props.onChange }));
|
7
|
-
};
|
8
|
-
export default TaskStatusLabel;
|
9
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/controls/TaskStatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;AAC1F,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,eAAe,GAAG,CAAC,KAKxB,EAAE,EAAE;IACJ,OAAO,CACN,oBAAC,mBAAmB,IACnB,SAAS,EAAE,UAAU,CAAC,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,EACrD,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAC1F,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACF,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
:global {
|
2
|
-
.task-status {
|
3
|
-
&.not-assigned,
|
4
|
-
&.not-assigned:hover {
|
5
|
-
border: unset;
|
6
|
-
background: #e6ad51;
|
7
|
-
color: white;
|
8
|
-
}
|
9
|
-
&.not-started,
|
10
|
-
&.not-started:hover {
|
11
|
-
border: unset;
|
12
|
-
background: #ff5c86;
|
13
|
-
color: white;
|
14
|
-
}
|
15
|
-
&.progress,
|
16
|
-
&.progress:hover {
|
17
|
-
border: unset;
|
18
|
-
background: #4bd8e0;
|
19
|
-
color: white;
|
20
|
-
}
|
21
|
-
&.closed,
|
22
|
-
&.closed:hover {
|
23
|
-
border: unset;
|
24
|
-
background: lightgrey;
|
25
|
-
}
|
26
|
-
&.pending,
|
27
|
-
&.pending:hover {
|
28
|
-
border: unset;
|
29
|
-
background: #d8e4ff;
|
30
|
-
color: #6b818c;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
}
|