@voplus/morpho-workspace 1.1.0-dev020 → 1.1.0-dev022
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 +1 -0
- package/es/components/AvatarList/state.js +46 -50
- package/es/components/AvatarList/state.js.map +1 -1
- package/es/controls/filters/AssigneeViewFilter/state.js +35 -39
- package/es/controls/filters/AssigneeViewFilter/state.js.map +1 -1
- package/es/controls/filters/DueDateFilter/state.js +27 -31
- package/es/controls/filters/DueDateFilter/state.js.map +1 -1
- package/es/controls/filters/StartDateFilter/state.js +27 -31
- package/es/controls/filters/StartDateFilter/state.js.map +1 -1
- package/es/controls/filters/TaskStatusFilter/state.js +38 -42
- package/es/controls/filters/TaskStatusFilter/state.js.map +1 -1
- package/es/data/board/contexts/BoardListContextState/index.js +31 -35
- package/es/data/board/contexts/BoardListContextState/index.js.map +1 -1
- package/es/data/board/metas.js +11 -15
- package/es/data/board/metas.js.map +1 -1
- package/es/data/calendar/CalendarStore.d.ts +37 -0
- package/es/data/calendar/CalendarStore.js +68 -0
- package/es/data/calendar/CalendarStore.js.map +1 -0
- package/es/data/calendar/hooks.d.ts +11 -0
- package/es/data/calendar/hooks.js +22 -0
- package/es/data/calendar/hooks.js.map +1 -0
- package/es/data/calendar/index.d.ts +3 -0
- package/es/data/calendar/index.js +4 -0
- package/es/data/calendar/index.js.map +1 -0
- package/es/data/calendar/interfaces.d.ts +11 -0
- package/es/data/calendar/interfaces.js +1 -0
- package/es/data/calendar/interfaces.js.map +1 -0
- package/es/data/calendar/mock.d.ts +2 -0
- package/es/data/calendar/mock.js +26 -0
- package/es/data/calendar/mock.js.map +1 -0
- package/es/data/meeting/metas.js +18 -22
- package/es/data/meeting/metas.js.map +1 -1
- package/es/data/reports/useEstimatedTimeEffect.d.ts +13 -0
- package/es/data/reports/useEstimatedTimeEffect.js +16 -0
- package/es/data/reports/useEstimatedTimeEffect.js.map +1 -0
- package/es/data/reports/useTaskSummaryEffect.d.ts +12 -0
- package/es/data/reports/useTaskSummaryEffect.js +26 -0
- package/es/data/reports/useTaskSummaryEffect.js.map +1 -0
- package/es/data/task/metas.js +15 -19
- package/es/data/task/metas.js.map +1 -1
- package/es/modules/board/components/Board/index.js +2 -2
- package/es/modules/board/components/Board/index.js.map +1 -1
- package/es/modules/board/components/Board/state.js +158 -162
- package/es/modules/board/components/Board/state.js.map +1 -1
- package/es/modules/board/components/BoardColumn/index.less +5 -5
- package/es/modules/board/components/BoardColumn/state.js +149 -153
- package/es/modules/board/components/BoardColumn/state.js.map +1 -1
- package/es/modules/board/components/NewTaskForm/state.js +37 -41
- package/es/modules/board/components/NewTaskForm/state.js.map +1 -1
- package/es/modules/board/components/SubDocumentList/index.js +11 -3
- package/es/modules/board/components/SubDocumentList/index.js.map +1 -1
- package/es/modules/board/components/SubDocumentList/index.less +6 -6
- package/es/modules/board/components/SubDocumentList/state.js +48 -52
- package/es/modules/board/components/SubDocumentList/state.js.map +1 -1
- package/es/modules/board/components/TaskCard/index.js +3 -3
- package/es/modules/board/components/TaskCard/index.js.map +1 -1
- package/es/modules/board/components/TaskCard/state.d.ts +1 -0
- package/es/modules/board/components/TaskCard/state.js +118 -122
- package/es/modules/board/components/TaskCard/state.js.map +1 -1
- package/es/modules/board/pages/BoardViewList/index.js +3 -3
- package/es/modules/board/pages/BoardViewList/index.js.map +1 -1
- package/es/modules/board/pages/BoardViewList/state.js +10 -14
- package/es/modules/board/pages/BoardViewList/state.js.map +1 -1
- package/es/modules/calendar/components/TaskCard/index.js +1 -3
- package/es/modules/calendar/components/TaskCard/index.js.map +1 -1
- package/es/modules/calendar/components/TaskCard/state.js +54 -58
- package/es/modules/calendar/components/TaskCard/state.js.map +1 -1
- package/es/modules/calendar/pages/CalendarMonth/index.js +38 -37
- package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
- package/es/modules/calendar/pages/CalendarMonth/index.less +6 -5
- package/es/modules/calendar/pages/CalendarMonth/state.js +8 -12
- package/es/modules/calendar/pages/CalendarMonth/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +36 -40
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +43 -47
- package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +15 -19
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/state.js +18 -22
- package/es/modules/meeting/components/AgendaList/state.js.map +1 -1
- package/es/modules/meeting/components/MeetingItem/state.js +18 -22
- package/es/modules/meeting/components/MeetingItem/state.js.map +1 -1
- package/es/modules/meeting/components/MeetingQuickViewDialog/index.js +1 -1
- package/es/modules/meeting/components/MeetingQuickViewDialog/index.js.map +1 -1
- package/es/modules/meeting/components/NewMeetingForm/state.js +27 -31
- package/es/modules/meeting/components/NewMeetingForm/state.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/state.js +26 -30
- package/es/modules/tasks/components/NewTaskForm/state.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/state.js +18 -22
- package/es/modules/tasks/components/SubTaskList/state.js.map +1 -1
- package/es/modules/tasks/components/{TaskTimeBox → TaskEstimatedTime}/index.d.ts +5 -2
- package/es/modules/tasks/components/{TaskTimeBox → TaskEstimatedTime}/index.js +13 -12
- package/es/modules/tasks/components/TaskEstimatedTime/index.js.map +1 -0
- package/es/modules/tasks/components/{TaskTimeBox → TaskEstimatedTime}/state.d.ts +1 -0
- package/es/modules/tasks/components/TaskEstimatedTime/state.js +85 -0
- package/es/modules/tasks/components/TaskEstimatedTime/state.js.map +1 -0
- package/es/modules/tasks/components/TaskHeader/index.js +2 -2
- package/es/modules/tasks/components/TaskHeader/index.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +3 -1
- 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/defaultTaskItem.less +1 -1
- package/es/modules/tasks/components/TaskItem/state.js +153 -157
- package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/subTaskItem.less +61 -0
- package/es/modules/tasks/components/TaskPropertiesView/index.js +23 -2
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.less +6 -0
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js +1 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskList/index.d.ts +1 -0
- package/es/modules/tasks/pages/TaskList/index.js +5 -1
- package/es/modules/tasks/pages/TaskList/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskList/index.less +37 -0
- package/es/modules/tasks/pages/TaskTabView/index.js +25 -4
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.less +3 -0
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.d.ts +6 -0
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.js +39 -0
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.js.map +1 -0
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.less +21 -0
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.d.ts +24 -0
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js +119 -0
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js.map +1 -0
- package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.d.ts +7 -0
- package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.js +16 -0
- package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.js.map +1 -0
- package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.less +8 -0
- package/es/modules/tasks/reports/TaskSummaryCard/index.d.ts +17 -0
- package/es/modules/tasks/reports/TaskSummaryCard/index.js +76 -0
- package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +1 -0
- package/es/modules/tasks/reports/TaskSummaryCard/index.less +20 -0
- package/es/modules/tasks/reports/TaskSummaryCard/state.d.ts +11 -0
- package/es/modules/tasks/reports/TaskSummaryCard/state.js +40 -0
- package/es/modules/tasks/reports/TaskSummaryCard/state.js.map +1 -0
- package/package.json +16 -14
- package/es/controls/DocumentStatusLabel/index.d.ts +0 -14
- package/es/controls/DocumentStatusLabel/index.js +0 -41
- package/es/controls/DocumentStatusLabel/index.js.map +0 -1
- package/es/controls/DocumentStatusLabel/index.less +0 -45
- package/es/modules/board/components/DocumentCard/index.d.ts +0 -8
- package/es/modules/board/components/DocumentCard/index.js +0 -48
- package/es/modules/board/components/DocumentCard/index.js.map +0 -1
- package/es/modules/board/components/DocumentCard/index.less +0 -119
- package/es/modules/board/components/DocumentCard/state.d.ts +0 -15
- package/es/modules/board/components/DocumentCard/state.js +0 -71
- package/es/modules/board/components/DocumentCard/state.js.map +0 -1
- package/es/modules/tasks/components/TaskTimeBox/index.js.map +0 -1
- package/es/modules/tasks/components/TaskTimeBox/state.js +0 -80
- package/es/modules/tasks/components/TaskTimeBox/state.js.map +0 -1
- /package/es/modules/tasks/components/{TaskTimeBox → TaskEstimatedTime}/index.less +0 -0
@@ -1,177 +1,173 @@
|
|
1
1
|
import { __decorate } from "tslib";
|
2
2
|
import { action, computed, observable } from "mobx";
|
3
3
|
import { message } from "@voplus/antd";
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
4
|
+
export class State {
|
5
|
+
constructor(_store, _docStore) {
|
6
|
+
this._store = _store;
|
7
|
+
this._docStore = _docStore;
|
8
|
+
this.boardcolumns = [];
|
9
|
+
/** board ids */
|
10
|
+
this.ids = [];
|
11
|
+
/** search filter 1.5秒 */
|
12
|
+
this.timeout = null;
|
13
|
+
/** add BoardColumn name */
|
14
|
+
this.name = "";
|
15
|
+
this.reload = false;
|
16
|
+
/** add BoardColumn save loading */
|
17
|
+
this.addLoading = false;
|
18
|
+
/** add BoardColumn */
|
19
|
+
this.addBoardColumnAble = false;
|
20
|
+
/** BoardColumn head border-top color */
|
21
|
+
this.colorList = ["#765FEE", "#fe4066", "#FFC832", "#FF8F5E", "#16ecec", "#FFC832"];
|
22
|
+
/** documentlist filter name */
|
23
|
+
this.filterName = "";
|
24
|
+
this.filterList = [];
|
25
|
+
this.onBoardColumnCreated = (s, t) => {
|
26
|
+
if (t.parentId === this.props.parentId && t.type == "BoardColumn") {
|
27
|
+
this.boardcolumns.push(t);
|
28
|
+
this.reload = true;
|
29
|
+
}
|
30
|
+
};
|
31
|
+
this.onBoardColumnDeleted = (s, t) => {
|
32
|
+
if (t.type == "BoardColumn")
|
33
|
+
this.boardcolumns = this.boardcolumns.filter(item => item.id !== t.id);
|
34
|
+
};
|
35
|
+
this.subscribeOnBoardCreateCallback = () => {
|
36
|
+
this._docStore.DocumentCreatedEvent.subscribe(this.onBoardColumnCreated);
|
37
|
+
this._docStore.DocumentDeletedEvent.subscribe(this.onBoardColumnDeleted);
|
38
|
+
return () => {
|
39
|
+
this._docStore.DocumentCreatedEvent.unsubscribe(this.onBoardColumnCreated);
|
40
|
+
this._docStore.DocumentDeletedEvent.unsubscribe(this.onBoardColumnDeleted);
|
41
|
+
};
|
42
|
+
};
|
43
|
+
/** add BoardColumn save */
|
44
|
+
this.onSave = async () => {
|
45
|
+
if (!this.name)
|
46
|
+
return message.warning("Title is required");
|
47
|
+
this.addLoading = true;
|
48
|
+
await this._store.create({ Name: this.name, ParentId: this.props.parentId });
|
15
49
|
this.name = "";
|
16
|
-
this.reload = false;
|
17
|
-
/** add BoardColumn save loading */
|
18
50
|
this.addLoading = false;
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
this.onBoardColumnCreated = (s, t) => {
|
27
|
-
if (t.parentId === this.props.parentId && t.type == "BoardColumn") {
|
28
|
-
this.boardcolumns.push(t);
|
29
|
-
this.reload = true;
|
30
|
-
}
|
31
|
-
};
|
32
|
-
this.onBoardColumnDeleted = (s, t) => {
|
33
|
-
if (t.type == "BoardColumn")
|
34
|
-
this.boardcolumns = this.boardcolumns.filter(item => item.id !== t.id);
|
35
|
-
};
|
36
|
-
this.subscribeOnBoardCreateCallback = () => {
|
37
|
-
this._docStore.DocumentCreatedEvent.subscribe(this.onBoardColumnCreated);
|
38
|
-
this._docStore.DocumentDeletedEvent.subscribe(this.onBoardColumnDeleted);
|
39
|
-
return () => {
|
40
|
-
this._docStore.DocumentCreatedEvent.unsubscribe(this.onBoardColumnCreated);
|
41
|
-
this._docStore.DocumentDeletedEvent.unsubscribe(this.onBoardColumnDeleted);
|
42
|
-
};
|
43
|
-
};
|
44
|
-
/** add BoardColumn save */
|
45
|
-
this.onSave = async () => {
|
46
|
-
if (!this.name)
|
47
|
-
return message.warning("Title is required");
|
48
|
-
this.addLoading = true;
|
49
|
-
await this._store.create({ Name: this.name, ParentId: this.props.parentId });
|
50
|
-
this.name = "";
|
51
|
-
this.addLoading = false;
|
52
|
-
};
|
51
|
+
};
|
52
|
+
}
|
53
|
+
/** 拖拽方法 */
|
54
|
+
async onDragEnd(result) {
|
55
|
+
// dropped nowhere
|
56
|
+
if (!result.destination) {
|
57
|
+
return;
|
53
58
|
}
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
return;
|
59
|
-
}
|
60
|
-
const { source, destination, draggableId } = result;
|
61
|
-
// did not move anywhere - can bail early
|
62
|
-
if (source.droppableId === destination.droppableId && source.index === destination.index) {
|
63
|
-
return;
|
64
|
-
}
|
65
|
-
// reordering column
|
66
|
-
if (result.type === "COLUMN") {
|
67
|
-
if (destination.index === 0) {
|
68
|
-
this._docStore.moveAfter(draggableId, "");
|
69
|
-
}
|
70
|
-
else {
|
71
|
-
const afterId = this.boardcolumns.length - 1 === destination.index
|
72
|
-
? this.boardcolumns[destination.index].id
|
73
|
-
: this.boardcolumns[destination.index - 1].id;
|
74
|
-
this._docStore.moveAfter(draggableId, afterId);
|
75
|
-
}
|
76
|
-
const [removed] = this.boardcolumns.splice(source.index, 1);
|
77
|
-
this.boardcolumns.splice(destination.index, 0, removed);
|
78
|
-
return;
|
79
|
-
}
|
80
|
-
// destination,source 数据 传给SubDocumentList 进行reordering list
|
81
|
-
this.source = { parentId: source.droppableId, id: draggableId };
|
82
|
-
this.destination = {
|
83
|
-
parentId: destination.droppableId,
|
84
|
-
id: draggableId,
|
85
|
-
index: destination.index
|
86
|
-
};
|
87
|
-
let afterId = "";
|
88
|
-
const idsList = this.ids.filter(item => item.id === destination.droppableId);
|
89
|
-
const index = destination.index - 1;
|
90
|
-
if (index >= 0) {
|
91
|
-
afterId = idsList[0].ids[index];
|
92
|
-
}
|
93
|
-
if (destination.droppableId === source.droppableId) {
|
94
|
-
this._docStore.moveAfter(draggableId, afterId);
|
95
|
-
}
|
96
|
-
else {
|
97
|
-
await this._docStore.move([draggableId], destination.droppableId);
|
98
|
-
if (afterId !== "") {
|
99
|
-
this._docStore.moveAfter(draggableId, afterId);
|
100
|
-
}
|
101
|
-
}
|
59
|
+
const { source, destination, draggableId } = result;
|
60
|
+
// did not move anywhere - can bail early
|
61
|
+
if (source.droppableId === destination.droppableId && source.index === destination.index) {
|
62
|
+
return;
|
102
63
|
}
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
this.ids.push({ id: v.id, ids: v.ids });
|
64
|
+
// reordering column
|
65
|
+
if (result.type === "COLUMN") {
|
66
|
+
if (destination.index === 0) {
|
67
|
+
this._docStore.moveAfter(draggableId, "");
|
108
68
|
}
|
109
69
|
else {
|
110
|
-
|
70
|
+
const afterId = this.boardcolumns.length - 1 === destination.index
|
71
|
+
? this.boardcolumns[destination.index].id
|
72
|
+
: this.boardcolumns[destination.index - 1].id;
|
73
|
+
this._docStore.moveAfter(draggableId, afterId);
|
111
74
|
}
|
75
|
+
const [removed] = this.boardcolumns.splice(source.index, 1);
|
76
|
+
this.boardcolumns.splice(destination.index, 0, removed);
|
77
|
+
return;
|
78
|
+
}
|
79
|
+
// destination,source 数据 传给SubDocumentList 进行reordering list
|
80
|
+
this.source = { parentId: source.droppableId, id: draggableId };
|
81
|
+
this.destination = {
|
82
|
+
parentId: destination.droppableId,
|
83
|
+
id: draggableId,
|
84
|
+
index: destination.index
|
85
|
+
};
|
86
|
+
let afterId = "";
|
87
|
+
const idsList = this.ids.filter(item => item.id === destination.droppableId);
|
88
|
+
const index = destination.index - 1;
|
89
|
+
if (index >= 0) {
|
90
|
+
afterId = idsList[0].ids[index];
|
91
|
+
}
|
92
|
+
if (destination.droppableId === source.droppableId) {
|
93
|
+
this._docStore.moveAfter(draggableId, afterId);
|
112
94
|
}
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
get filters() {
|
118
|
-
let filters = [];
|
119
|
-
if (this.filterName) {
|
120
|
-
filters.push({ c: "Name", o: "contains", v1: this.filterName, l: "And" });
|
95
|
+
else {
|
96
|
+
await this._docStore.move([draggableId], destination.droppableId);
|
97
|
+
if (afterId !== "") {
|
98
|
+
this._docStore.moveAfter(draggableId, afterId);
|
121
99
|
}
|
122
|
-
filters = [...filters, ...this.filterList];
|
123
|
-
return filters;
|
124
100
|
}
|
125
101
|
}
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
102
|
+
/** 存储ids 放便拖拽后查找 afterId */
|
103
|
+
onIds(v) {
|
104
|
+
const index = this.ids.findIndex(i => i.id === v.id);
|
105
|
+
if (index == -1) {
|
106
|
+
this.ids.push({ id: v.id, ids: v.ids });
|
107
|
+
}
|
108
|
+
else {
|
109
|
+
this.ids[index] = { id: v.id, ids: v.ids };
|
110
|
+
}
|
111
|
+
}
|
112
|
+
/**
|
113
|
+
* document filters
|
114
|
+
* @return document filters
|
115
|
+
*/
|
116
|
+
get filters() {
|
117
|
+
let filters = [];
|
118
|
+
if (this.filterName) {
|
119
|
+
filters.push({ c: "Name", o: "contains", v1: this.filterName, l: "And" });
|
120
|
+
}
|
121
|
+
filters = [...filters, ...this.filterList];
|
122
|
+
return filters;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
__decorate([
|
126
|
+
observable
|
127
|
+
], State.prototype, "boardcolumns", void 0);
|
128
|
+
__decorate([
|
129
|
+
observable
|
130
|
+
], State.prototype, "ids", void 0);
|
131
|
+
__decorate([
|
132
|
+
observable
|
133
|
+
], State.prototype, "timeout", void 0);
|
134
|
+
__decorate([
|
135
|
+
observable
|
136
|
+
], State.prototype, "name", void 0);
|
137
|
+
__decorate([
|
138
|
+
observable
|
139
|
+
], State.prototype, "reload", void 0);
|
140
|
+
__decorate([
|
141
|
+
observable
|
142
|
+
], State.prototype, "addLoading", void 0);
|
143
|
+
__decorate([
|
144
|
+
observable
|
145
|
+
], State.prototype, "addBoardColumnAble", void 0);
|
146
|
+
__decorate([
|
147
|
+
observable
|
148
|
+
], State.prototype, "source", void 0);
|
149
|
+
__decorate([
|
150
|
+
observable
|
151
|
+
], State.prototype, "destination", void 0);
|
152
|
+
__decorate([
|
153
|
+
observable
|
154
|
+
], State.prototype, "colorList", void 0);
|
155
|
+
__decorate([
|
156
|
+
observable
|
157
|
+
], State.prototype, "filterName", void 0);
|
158
|
+
__decorate([
|
159
|
+
observable
|
160
|
+
], State.prototype, "filterList", void 0);
|
161
|
+
__decorate([
|
162
|
+
action
|
163
|
+
], State.prototype, "onSave", void 0);
|
164
|
+
__decorate([
|
165
|
+
action
|
166
|
+
], State.prototype, "onDragEnd", null);
|
167
|
+
__decorate([
|
168
|
+
action
|
169
|
+
], State.prototype, "onIds", null);
|
170
|
+
__decorate([
|
171
|
+
computed
|
172
|
+
], State.prototype, "filters", null);
|
177
173
|
//# sourceMappingURL=state.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAWvC
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAWvC,MAAM,OAAO,KAAK;IAEjB,YAA2B,MAAwB,EAAU,SAAwB;QAA1D,WAAM,GAAN,MAAM,CAAkB;QAAU,cAAS,GAAT,SAAS,CAAe;QAClE,iBAAY,GAAmB,EAAE,CAAC;QACrD,gBAAgB;QACG,QAAG,GAAgB,EAAE,CAAC;QACzC,yBAAyB;QACN,YAAO,GAAQ,IAAI,CAAC;QACvC,2BAA2B;QACR,SAAI,GAAG,EAAE,CAAC;QACV,WAAM,GAAG,KAAK,CAAC;QAClC,mCAAmC;QACh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C;AAElC;IAAX,UAAU;qCAAoB;AAEnB;IAAX,UAAU;0CAAyB;AAExB;IAAX,UAAU;wCAAuF;AAEtF;IAAX,UAAU;yCAAwB;AACvB;IAAX,UAAU;yCAAyC;AAyBpD;IADC,MAAM;qCAOL;AAIF;IADC,MAAM;sCAkDN;AAGO;IAAP,MAAM;kCAON;AAOD;IADC,QAAQ;oCAQR"}
|
@@ -71,7 +71,7 @@
|
|
71
71
|
.svg-inline--fa {
|
72
72
|
cursor: pointer;
|
73
73
|
}
|
74
|
-
.board-drodown{
|
74
|
+
.board-drodown {
|
75
75
|
background: #ffffff;
|
76
76
|
margin-left: 10px;
|
77
77
|
}
|
@@ -136,7 +136,7 @@
|
|
136
136
|
|
137
137
|
&:hover,
|
138
138
|
&:active {
|
139
|
-
color: #afd3e4;
|
139
|
+
//color: #afd3e4;
|
140
140
|
text-decoration: none;
|
141
141
|
}
|
142
142
|
|
@@ -226,12 +226,12 @@
|
|
226
226
|
text-overflow: ellipsis;
|
227
227
|
text-align: right;
|
228
228
|
}
|
229
|
-
.new-sub-doc{
|
229
|
+
.new-sub-doc {
|
230
230
|
padding: 0;
|
231
|
-
.ant-form-item{
|
231
|
+
.ant-form-item {
|
232
232
|
margin-bottom: 0;
|
233
233
|
}
|
234
|
-
.ant-spin-nested-loading{
|
234
|
+
.ant-spin-nested-loading {
|
235
235
|
margin: 4px 0 0 0;
|
236
236
|
}
|
237
237
|
}
|