@voplus/morpho-workspace 6.0.72 → 6.0.74
Sign up to get free protection for your applications and to get access to all the features.
- package/es/components/AutoSequenceDialog/index.less +14 -14
- package/es/components/TimeLog/index.less +86 -86
- package/es/controls/Corner/index.less +7 -7
- package/es/controls/InlineSearch/index.less +10 -10
- package/es/controls/MoreOperateDropdown/index.less +12 -12
- package/es/controls/StickyAddButton/index.less +22 -22
- package/es/controls/filters/AssigneeViewFilter/index.less +24 -24
- package/es/controls/filters/EventsFilter/index.js +2 -7
- package/es/controls/filters/EventsFilter/index.js.map +1 -1
- package/es/controls/filters/EventsFilter/state.d.ts +3 -1
- package/es/controls/filters/EventsFilter/state.js +18 -1
- package/es/controls/filters/EventsFilter/state.js.map +1 -1
- package/es/controls/filters/TaskStatusFilter/index.js +2 -7
- package/es/controls/filters/TaskStatusFilter/index.js.map +1 -1
- package/es/controls/filters/TaskStatusFilter/state.d.ts +3 -1
- package/es/controls/filters/TaskStatusFilter/state.js +18 -1
- package/es/controls/filters/TaskStatusFilter/state.js.map +1 -1
- package/es/modules/board/components/Board/index.less +133 -133
- package/es/modules/board/components/BoardColumn/index.less +270 -270
- package/es/modules/board/components/BoardPropertiesView/index.less +12 -12
- package/es/modules/board/components/SubDocumentList/index.less +30 -30
- package/es/modules/board/pages/BoardViewList/index.less +15 -15
- package/es/modules/calendar/components/CalendarMenu/index.less +31 -31
- package/es/modules/calendar/pages/CalendarMonth/index.less +268 -268
- package/es/modules/meeting/components/AgendaList/AgendaHeader/index.less +14 -14
- package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +132 -132
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.less +57 -57
- package/es/modules/meeting/components/AgendaList/index.less +47 -47
- package/es/modules/meeting/components/MeetingDescription/index.less +12 -12
- package/es/modules/meeting/components/MeetingHeader/index.less +13 -13
- package/es/modules/meeting/components/MeetingItem/index.less +66 -66
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.less +12 -12
- package/es/modules/meeting/components/MeetingPropertiesView/index.less +15 -15
- package/es/modules/meeting/components/MeetingQuickViewDialog/index.less +14 -14
- package/es/modules/meeting/components/MeetingTaskList/index.less +30 -30
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.less +8 -8
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.less +7 -7
- package/es/modules/meeting/components/NewMeetingForm/index.less +35 -35
- package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.less +7 -7
- package/es/modules/meeting/pages/MeetingDefaultView/index.less +23 -23
- package/es/modules/meeting/pages/MeetingPrintView/index.less +82 -82
- package/es/modules/meeting/pages/MeetingPrintView/print.css +22 -22
- package/es/modules/meeting/pages/MeetingTabView/index.less +21 -21
- package/es/modules/meeting/styles/MeetingMinView.less +32 -32
- package/es/modules/menus/components/AddUsers/index.less +7 -7
- package/es/modules/menus/components/UsersList/index.less +64 -64
- package/es/modules/menus/pages/ListOptions/Company/index.less +20 -20
- package/es/modules/menus/pages/ListOptions/Teams/index.less +44 -44
- package/es/modules/menus/pages/ListOptions/Users/index.less +42 -42
- package/es/modules/notification/components/DocumentNotificationCard/index.js +6 -3
- package/es/modules/notification/components/DocumentNotificationCard/index.js.map +1 -1
- package/es/modules/notification/components/DocumentNotificationCard/index.less +29 -29
- package/es/modules/notification/components/NewNotificationForm/index.less +38 -38
- package/es/modules/notification/components/NotificationHeader/index.less +12 -12
- package/es/modules/notification/components/NotificationItem/index.less +29 -29
- package/es/modules/notification/components/NotificationList/index.less +31 -31
- package/es/modules/notification/components/NotificationList2/index.less +11 -11
- package/es/modules/notification/components/NotificationPropertiesView/index.less +26 -26
- package/es/modules/notification/components/NotificationQuickViewDialog/index.less +7 -7
- package/es/modules/notification/components/NotificationRecipients/index.less +17 -17
- package/es/modules/notification/components/NotificationTabs/index.less +8 -8
- package/es/modules/notification/controls/NotificationStatusLabel/index.less +14 -14
- package/es/modules/notification/pages/NotificationDefaultView/index.less +19 -19
- package/es/modules/pin/components/MyPinned/index.less +38 -38
- package/es/modules/pin/pages/PinnedPage/index.less +31 -31
- package/es/modules/project/ProjectDefaultView/index.less +38 -38
- package/es/modules/tasks/components/AddTaskDropdown/index.less +37 -37
- package/es/modules/tasks/components/DelegateDialog/index.less +51 -51
- package/es/modules/tasks/components/NewTaskForm/index.less +37 -37
- package/es/modules/tasks/components/NotificaitonNewTaskForm/index.d.ts +17 -0
- package/es/modules/tasks/components/NotificaitonNewTaskForm/index.js +80 -0
- package/es/modules/tasks/components/NotificaitonNewTaskForm/index.js.map +1 -0
- package/es/modules/tasks/components/NotificaitonNewTaskForm/index.less +18 -0
- package/es/modules/tasks/components/NotificaitonNewTaskForm/state.d.ts +18 -0
- package/es/modules/tasks/components/NotificaitonNewTaskForm/state.js +39 -0
- package/es/modules/tasks/components/NotificaitonNewTaskForm/state.js.map +1 -0
- package/es/modules/tasks/components/SubTaskList/index.less +20 -20
- package/es/modules/tasks/components/TaskCard/index.less +15 -15
- package/es/modules/tasks/components/TaskCheckActiveTab/index.less +24 -24
- package/es/modules/tasks/components/TaskCheckItem/index.less +83 -83
- package/es/modules/tasks/components/TaskCheckList/index.less +54 -54
- package/es/modules/tasks/components/TaskCheckNewForm/index.less +41 -41
- package/es/modules/tasks/components/TaskDescription/index.less +18 -18
- package/es/modules/tasks/components/TaskEstimatedTime/index.less +25 -25
- package/es/modules/tasks/components/TaskItem/defaultTaskItem.less +51 -51
- package/es/modules/tasks/components/TaskItem/subTaskItem.less +67 -67
- package/es/modules/tasks/components/TaskPropertiesView/index.less +23 -23
- package/es/modules/tasks/components/TaskQuickViewDialog/index.less +13 -13
- package/es/modules/tasks/components/TaskSimpleProperties/index.less +18 -18
- package/es/modules/tasks/controls/ChildTasksDataIcon/index.less +29 -29
- package/es/modules/tasks/controls/TaskStatusLabel/index.less +34 -34
- package/es/modules/tasks/pages/TaskDefaultView/index.less +19 -19
- package/es/modules/tasks/pages/TaskTabView/index.less +66 -66
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.less +21 -21
- package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.less +8 -8
- package/es/modules/tasks/reports/TaskSummaryCard/index.less +28 -28
- package/es/modules/user/pages/Positions/index.less +59 -59
- package/es/modules/work/components/NewWorkErrorDialog/index.less +21 -21
- package/es/modules/work/components/NewWorkForm/index.less +18 -18
- package/es/modules/work/components/RejectWorkDialog/index.less +23 -23
- package/es/modules/work/components/RelatedWorkList/index.less +21 -21
- package/es/modules/work/components/SubWorkList/index.less +7 -7
- package/es/modules/work/components/WorkCard/index.less +7 -7
- package/es/modules/work/components/WorkCashReport/index.less +21 -31
- package/es/modules/work/components/WorkErrorItem/index.less +52 -52
- package/es/modules/work/components/WorkErrorList/index.less +4 -4
- package/es/modules/work/components/WorkErrorPropertiesView/index.less +40 -40
- package/es/modules/work/components/WorkErrorQuickViewDialog/index.less +28 -28
- package/es/modules/work/components/WorkItem/index.less +56 -56
- package/es/modules/work/components/WorkList/index.d.ts +2 -2
- package/es/modules/work/components/WorkList/index.js +20 -4
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/components/WorkList/index.less +7 -7
- package/es/modules/work/components/WorkPropertiesView/index.less +10 -10
- package/es/modules/work/components/WorkQATab/index.less +24 -24
- package/es/modules/work/components/WorkQuickViewDialog/index.less +16 -16
- package/es/modules/work/components/WorkTaskList/index.less +7 -7
- package/es/modules/work/components/WorkTasksTab/index.less +4 -4
- package/es/modules/work/components/WorksProperties/index.less +17 -17
- package/es/modules/work/controls/WorkStatusLabel/index.less +36 -36
- package/es/modules/work/pages/WorkDefaultView/index.less +18 -18
- package/es/modules/work/pages/WorkErrorDefaultView/index.less +22 -22
- package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.less +10 -10
- package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.less +12 -12
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.less +40 -40
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.less +12 -20
- package/es/modules/work/work-schedule/components/WorkScheduleQuickViewDialog/index.less +11 -11
- package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.less +7 -7
- package/es/modules/work/work-schedule/pages/WorkScheduleDefaultView/index.less +23 -23
- package/es/modules/work/work-type/components/ErrorTypeList/index.less +59 -59
- package/es/modules/work/work-type/components/NewTypeForm/index.less +7 -7
- package/es/modules/work/work-type/components/RepeatTab/index.less +42 -42
- package/es/modules/work/work-type/components/WorkTypeHeader/index.less +12 -12
- package/es/modules/work/work-type/components/WorkTypeIconList/index.less +14 -14
- package/es/modules/work/work-type/components/WorkTypeItem/index.less +48 -48
- package/es/modules/work/work-type/components/WorkTypeList/index.less +4 -4
- package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.less +12 -12
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.less +19 -19
- package/es/modules/work/work-type/components/WorkTypeQA/index.less +42 -42
- package/es/modules/work/work-type/components/WorkTypeStats/index.less +29 -29
- package/es/modules/work/work-type/components/WorkTypeTabs/index.less +45 -45
- package/es/modules/work/work-type/controls/WorkTypeStatusLabel/index.less +15 -15
- package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.less +8 -8
- package/es/modules/work/work-type/pages/WorkTypePage/index.less +56 -56
- package/es/modules/workspace/components/MyWorkspaces/index.less +30 -30
- package/es/modules/workspace/components/NewWorkspaceDialog/index.less +30 -30
- package/es/modules/workspace/components/WorkspaceIcon/index.less +81 -81
- package/es/modules/workspace/components/WorkspaceIconList/index.less +18 -18
- package/es/modules/workspace/components/WorkspaceIconList2/index.less +18 -18
- package/es/modules/workspace/components/WorkspacePropertiesView/index.less +19 -19
- package/es/modules/workspace/components/WorkspaceTabs/index.less +12 -12
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.less +8 -8
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.less +28 -28
- package/es/modules/workspace/pages/WorkspacePage/index.less +23 -23
- package/es/obsolete/WorkTypeDefaultView/index.less +19 -19
- package/es/obsolete/member/components/member.less +24 -24
- package/es/obsolete/member/styles/MemberMinView.less +24 -24
- package/es/obsolete/space/components/Notes/ColorSelect/index.less +17 -17
- package/es/obsolete/space/components/Notes/NewNoteDialog/index.less +78 -78
- package/es/obsolete/space/components/Notes/TextNoteCard/index.less +56 -56
- package/es/obsolete/space/components/Tasks/index.less +17 -17
- package/es/obsolete/space/components/Works/index.less +18 -18
- package/es/obsolete/space/pages/MySpace/index.less +56 -56
- package/es/style/common.less +187 -187
- package/es/style/index.less +13 -13
- package/package.json +66 -66
- package/readme.md +152 -152
@@ -1,14 +1,14 @@
|
|
1
|
-
:global {
|
2
|
-
.format-tip {
|
3
|
-
line-height: 25px;
|
4
|
-
h3 {
|
5
|
-
font-size: unit((20/16), em);
|
6
|
-
color: #000;
|
7
|
-
}
|
8
|
-
ul {
|
9
|
-
list-style-type: disc;
|
10
|
-
margin: 10px 0;
|
11
|
-
padding: 0 0 0 18px;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
}
|
1
|
+
:global {
|
2
|
+
.format-tip {
|
3
|
+
line-height: 25px;
|
4
|
+
h3 {
|
5
|
+
font-size: unit((20/16), em);
|
6
|
+
color: #000;
|
7
|
+
}
|
8
|
+
ul {
|
9
|
+
list-style-type: disc;
|
10
|
+
margin: 10px 0;
|
11
|
+
padding: 0 0 0 18px;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
@@ -1,86 +1,86 @@
|
|
1
|
-
.time-log {
|
2
|
-
position: relative;
|
3
|
-
margin-top: 8px;
|
4
|
-
background-color: #fff;
|
5
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
6
|
-
:global {
|
7
|
-
.time-header {
|
8
|
-
display: flex;
|
9
|
-
justify-content: space-around;
|
10
|
-
padding: 1px 0;
|
11
|
-
background: #f5f5f5;
|
12
|
-
.ant-btn {
|
13
|
-
padding: 0;
|
14
|
-
color: #333;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
.timer {
|
18
|
-
display: flex;
|
19
|
-
justify-content: center;
|
20
|
-
align-items: center;
|
21
|
-
padding: 12px 25px;
|
22
|
-
.status-icon {
|
23
|
-
cursor: pointer;
|
24
|
-
margin-left: 10px;
|
25
|
-
font-size: 20px;
|
26
|
-
}
|
27
|
-
.ant-input {
|
28
|
-
width: 40px;
|
29
|
-
padding: 0;
|
30
|
-
border: 0;
|
31
|
-
text-align: center;
|
32
|
-
font-size: 22px;
|
33
|
-
color: #000;
|
34
|
-
}
|
35
|
-
.ant-input:focus {
|
36
|
-
box-shadow: none;
|
37
|
-
border: 0;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
.record-list {
|
41
|
-
position: relative;
|
42
|
-
padding: 15px 15px 0 15px;
|
43
|
-
font-size: 13px;
|
44
|
-
line-height: 14px;
|
45
|
-
color: #666;
|
46
|
-
.ant-avatar {
|
47
|
-
margin-right: 10px;
|
48
|
-
}
|
49
|
-
.record-time {
|
50
|
-
padding-bottom: 15px;
|
51
|
-
> div + div {
|
52
|
-
padding-top: 5px;
|
53
|
-
}
|
54
|
-
span {
|
55
|
-
color: #000;
|
56
|
-
}
|
57
|
-
}
|
58
|
-
}
|
59
|
-
.record-list:before {
|
60
|
-
position: absolute;
|
61
|
-
content: "";
|
62
|
-
left: 0;
|
63
|
-
top: 0;
|
64
|
-
right: 0;
|
65
|
-
border-top: 1px #d9d9d9 solid;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
.time-log:before,
|
70
|
-
.time-log:after {
|
71
|
-
position: absolute;
|
72
|
-
content: "";
|
73
|
-
border-width: 6px;
|
74
|
-
top: -13px;
|
75
|
-
border-style: dashed solid solid dashed;
|
76
|
-
}
|
77
|
-
.time-log:before {
|
78
|
-
left: 50%;
|
79
|
-
margin-left: -6px;
|
80
|
-
border-color: transparent transparent #e4e7ed transparent;
|
81
|
-
}
|
82
|
-
.time-log:after {
|
83
|
-
left: 50%;
|
84
|
-
margin-left: -5px;
|
85
|
-
border-color: transparent transparent #f5f5f5 transparent;
|
86
|
-
}
|
1
|
+
.time-log {
|
2
|
+
position: relative;
|
3
|
+
margin-top: 8px;
|
4
|
+
background-color: #fff;
|
5
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
6
|
+
:global {
|
7
|
+
.time-header {
|
8
|
+
display: flex;
|
9
|
+
justify-content: space-around;
|
10
|
+
padding: 1px 0;
|
11
|
+
background: #f5f5f5;
|
12
|
+
.ant-btn {
|
13
|
+
padding: 0;
|
14
|
+
color: #333;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
.timer {
|
18
|
+
display: flex;
|
19
|
+
justify-content: center;
|
20
|
+
align-items: center;
|
21
|
+
padding: 12px 25px;
|
22
|
+
.status-icon {
|
23
|
+
cursor: pointer;
|
24
|
+
margin-left: 10px;
|
25
|
+
font-size: 20px;
|
26
|
+
}
|
27
|
+
.ant-input {
|
28
|
+
width: 40px;
|
29
|
+
padding: 0;
|
30
|
+
border: 0;
|
31
|
+
text-align: center;
|
32
|
+
font-size: 22px;
|
33
|
+
color: #000;
|
34
|
+
}
|
35
|
+
.ant-input:focus {
|
36
|
+
box-shadow: none;
|
37
|
+
border: 0;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
.record-list {
|
41
|
+
position: relative;
|
42
|
+
padding: 15px 15px 0 15px;
|
43
|
+
font-size: 13px;
|
44
|
+
line-height: 14px;
|
45
|
+
color: #666;
|
46
|
+
.ant-avatar {
|
47
|
+
margin-right: 10px;
|
48
|
+
}
|
49
|
+
.record-time {
|
50
|
+
padding-bottom: 15px;
|
51
|
+
> div + div {
|
52
|
+
padding-top: 5px;
|
53
|
+
}
|
54
|
+
span {
|
55
|
+
color: #000;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
.record-list:before {
|
60
|
+
position: absolute;
|
61
|
+
content: "";
|
62
|
+
left: 0;
|
63
|
+
top: 0;
|
64
|
+
right: 0;
|
65
|
+
border-top: 1px #d9d9d9 solid;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
.time-log:before,
|
70
|
+
.time-log:after {
|
71
|
+
position: absolute;
|
72
|
+
content: "";
|
73
|
+
border-width: 6px;
|
74
|
+
top: -13px;
|
75
|
+
border-style: dashed solid solid dashed;
|
76
|
+
}
|
77
|
+
.time-log:before {
|
78
|
+
left: 50%;
|
79
|
+
margin-left: -6px;
|
80
|
+
border-color: transparent transparent #e4e7ed transparent;
|
81
|
+
}
|
82
|
+
.time-log:after {
|
83
|
+
left: 50%;
|
84
|
+
margin-left: -5px;
|
85
|
+
border-color: transparent transparent #f5f5f5 transparent;
|
86
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
:global {
|
2
|
-
.corner-view {
|
3
|
-
position: absolute;
|
4
|
-
right: 20px;
|
5
|
-
bottom: 20px;
|
6
|
-
}
|
7
|
-
}
|
1
|
+
:global {
|
2
|
+
.corner-view {
|
3
|
+
position: absolute;
|
4
|
+
right: 20px;
|
5
|
+
bottom: 20px;
|
6
|
+
}
|
7
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
.inline-search {
|
2
|
-
:global {
|
3
|
-
.ant-input-affix-wrapper {
|
4
|
-
border-radius: 20px;
|
5
|
-
}
|
6
|
-
.ant-btn {
|
7
|
-
font-style: italic;
|
8
|
-
}
|
9
|
-
}
|
10
|
-
}
|
1
|
+
.inline-search {
|
2
|
+
:global {
|
3
|
+
.ant-input-affix-wrapper {
|
4
|
+
border-radius: 20px;
|
5
|
+
}
|
6
|
+
.ant-btn {
|
7
|
+
font-style: italic;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
}
|
@@ -1,12 +1,12 @@
|
|
1
|
-
.more-operate-dropdown {
|
2
|
-
:global {
|
3
|
-
.type-name {
|
4
|
-
margin-left: 10px;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
}
|
8
|
-
.more-operate {
|
9
|
-
// font-size: 24px;
|
10
|
-
vertical-align: middle;
|
11
|
-
cursor: pointer;
|
12
|
-
}
|
1
|
+
.more-operate-dropdown {
|
2
|
+
:global {
|
3
|
+
.type-name {
|
4
|
+
margin-left: 10px;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
}
|
8
|
+
.more-operate {
|
9
|
+
// font-size: 24px;
|
10
|
+
vertical-align: middle;
|
11
|
+
cursor: pointer;
|
12
|
+
}
|
@@ -1,22 +1,22 @@
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
2
|
-
|
3
|
-
:global {
|
4
|
-
.sticky-add-button {
|
5
|
-
display: block;
|
6
|
-
width: 36px;
|
7
|
-
height: 36px;
|
8
|
-
line-height: 36px;
|
9
|
-
font-size: 16px;
|
10
|
-
text-align: center;
|
11
|
-
color: #222;
|
12
|
-
cursor: pointer;
|
13
|
-
border-radius: 50%;
|
14
|
-
background: #fff;
|
15
|
-
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
16
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
17
|
-
transition: color 0.3s;
|
18
|
-
&:hover {
|
19
|
-
color: @primary-color;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
2
|
+
|
3
|
+
:global {
|
4
|
+
.sticky-add-button {
|
5
|
+
display: block;
|
6
|
+
width: 36px;
|
7
|
+
height: 36px;
|
8
|
+
line-height: 36px;
|
9
|
+
font-size: 16px;
|
10
|
+
text-align: center;
|
11
|
+
color: #222;
|
12
|
+
cursor: pointer;
|
13
|
+
border-radius: 50%;
|
14
|
+
background: #fff;
|
15
|
+
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
16
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
17
|
+
transition: color 0.3s;
|
18
|
+
&:hover {
|
19
|
+
color: @primary-color;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
@@ -1,24 +1,24 @@
|
|
1
|
-
:global {
|
2
|
-
.assignee-view {
|
3
|
-
&-item {
|
4
|
-
position: relative;
|
5
|
-
display: flex;
|
6
|
-
justify-content: space-between;
|
7
|
-
align-items: center;
|
8
|
-
height: 32px;
|
9
|
-
padding: 0 7px;
|
10
|
-
margin-top: 7px;
|
11
|
-
color: #999;
|
12
|
-
background: #f2f2f2;
|
13
|
-
font-size: 13px;
|
14
|
-
box-shadow: 0px 1px 0px 0.5px #dcdcdc;
|
15
|
-
cursor: pointer;
|
16
|
-
&.bold {
|
17
|
-
color: #000;
|
18
|
-
}
|
19
|
-
.anticon-close {
|
20
|
-
color: #444;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
1
|
+
:global {
|
2
|
+
.assignee-view {
|
3
|
+
&-item {
|
4
|
+
position: relative;
|
5
|
+
display: flex;
|
6
|
+
justify-content: space-between;
|
7
|
+
align-items: center;
|
8
|
+
height: 32px;
|
9
|
+
padding: 0 7px;
|
10
|
+
margin-top: 7px;
|
11
|
+
color: #999;
|
12
|
+
background: #f2f2f2;
|
13
|
+
font-size: 13px;
|
14
|
+
box-shadow: 0px 1px 0px 0.5px #dcdcdc;
|
15
|
+
cursor: pointer;
|
16
|
+
&.bold {
|
17
|
+
color: #000;
|
18
|
+
}
|
19
|
+
.anticon-close {
|
20
|
+
color: #444;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React
|
1
|
+
import React from "react";
|
2
2
|
import { Badge } from "antd";
|
3
3
|
import { State } from "./state";
|
4
4
|
import classnames from "classnames";
|
@@ -6,12 +6,7 @@ import { observe } from "@voplus/morpho-ui";
|
|
6
6
|
import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
|
7
7
|
const EventsFilter = (props) => {
|
8
8
|
const context = useFilterOptionsContext();
|
9
|
-
const state = context.getFilterState("Events", () => new State());
|
10
|
-
useEffect(() => {
|
11
|
-
var _a;
|
12
|
-
state.reset();
|
13
|
-
(_a = props.defaultValue) === null || _a === void 0 ? void 0 : _a.map((value) => state.onChangeEvents(value));
|
14
|
-
}, [props.defaultValue]);
|
9
|
+
const state = context.getFilterState("Events", () => new State(props.defaultValue));
|
15
10
|
return observe(() => (React.createElement("div", null,
|
16
11
|
React.createElement("div", { className: "menu-item-title" }, "Events"),
|
17
12
|
state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/EventsFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/EventsFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,YAAY,GAAG,CAAC,KAAkC,EAAE,EAAE;IAC3D,MAAM,OAAO,GAAG,uBAAuB,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,OAAO,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;IAEpF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,6BAAK,SAAS,EAAC,iBAAiB,aAAa;QAC5C,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,KAAa,EAAE,EAAE,CAAC,CAC9C,6BACC,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE;gBACzC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;aAClC,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC;YAE/C,6BAAK,SAAS,EAAC,aAAa;gBAC3B,oBAAC,KAAK,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI;gBAC3B,IAAI,CAAC,IAAI,CACL;YACN,kCAAO,IAAI,CAAC,MAAM,CAAQ,CACrB,CACN,CAAC,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import { FilterOption } from "@voplus/morpho-data";
|
2
2
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
3
3
|
export declare class State extends DefaultFilterState {
|
4
|
+
private defaultFilter?;
|
4
5
|
/** events of filter */
|
5
6
|
events: Map<string, boolean>;
|
6
|
-
constructor();
|
7
|
+
constructor(defaultFilter?: string[] | undefined);
|
8
|
+
onInit(): void;
|
7
9
|
/** update events */
|
8
10
|
onChangeEvents(value: string): void;
|
9
11
|
get menus(): {
|
@@ -2,8 +2,15 @@ import { __decorate } from "tslib";
|
|
2
2
|
import { action, makeObservable, observable } from "mobx";
|
3
3
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
4
4
|
export class State extends DefaultFilterState {
|
5
|
-
constructor() {
|
5
|
+
constructor(defaultFilter) {
|
6
|
+
var _a;
|
6
7
|
super();
|
8
|
+
Object.defineProperty(this, "defaultFilter", {
|
9
|
+
enumerable: true,
|
10
|
+
configurable: true,
|
11
|
+
writable: true,
|
12
|
+
value: defaultFilter
|
13
|
+
});
|
7
14
|
/** events of filter */
|
8
15
|
Object.defineProperty(this, "events", {
|
9
16
|
enumerable: true,
|
@@ -12,6 +19,13 @@ export class State extends DefaultFilterState {
|
|
12
19
|
value: new Map()
|
13
20
|
});
|
14
21
|
makeObservable(this);
|
22
|
+
if ((_a = this.defaultFilter) === null || _a === void 0 ? void 0 : _a.length)
|
23
|
+
this.onInit();
|
24
|
+
}
|
25
|
+
onInit() {
|
26
|
+
var _a;
|
27
|
+
this.reset();
|
28
|
+
(_a = this.defaultFilter) === null || _a === void 0 ? void 0 : _a.map((f) => this.onChangeEvents(f));
|
15
29
|
}
|
16
30
|
/** update events */
|
17
31
|
onChangeEvents(value) {
|
@@ -41,6 +55,9 @@ export class State extends DefaultFilterState {
|
|
41
55
|
__decorate([
|
42
56
|
observable
|
43
57
|
], State.prototype, "events", void 0);
|
58
|
+
__decorate([
|
59
|
+
action
|
60
|
+
], State.prototype, "onInit", null);
|
44
61
|
__decorate([
|
45
62
|
action
|
46
63
|
], State.prototype, "onChangeEvents", null);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/EventsFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAI5C
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/EventsFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAI5C,YAAoB,aAAwB;;QAC3C,KAAK,EAAE,CAAC;QADG;;;;mBAAQ,aAAa;WAAW;QAH5C,uBAAuB;QACJ;;;;mBAA+B,IAAI,GAAG,EAAE;WAAC;QAI3D,cAAc,CAAC,IAAI,CAAC,CAAC;QAErB,IAAI,MAAA,IAAI,CAAC,aAAa,0CAAE,MAAM;YA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N,MAAM;mCAIN;AAIM;IADN,MAAM;2CAGN"}
|
@@ -1,17 +1,12 @@
|
|
1
1
|
import { Badge } from "antd";
|
2
|
-
import React
|
2
|
+
import React from "react";
|
3
3
|
import { State } from "./state";
|
4
4
|
import classnames from "classnames";
|
5
5
|
import { observe } from "@voplus/morpho-ui";
|
6
6
|
import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
|
7
7
|
const TaskStatusFilter = (props) => {
|
8
8
|
const context = useFilterOptionsContext();
|
9
|
-
const state = context.getFilterState("Status", () => new State());
|
10
|
-
useEffect(() => {
|
11
|
-
var _a;
|
12
|
-
state.reset();
|
13
|
-
(_a = props.defaultValue) === null || _a === void 0 ? void 0 : _a.map((value) => state.onChangeStatus(value));
|
14
|
-
}, [props.defaultValue]);
|
9
|
+
const state = context.getFilterState("Status", () => new State(props.defaultValue));
|
15
10
|
return observe(() => (React.createElement("div", null,
|
16
11
|
React.createElement("div", { className: "menu-item-title" }, "Status"),
|
17
12
|
state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/TaskStatusFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/TaskStatusFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAIpE,MAAM,gBAAgB,GAAG,CAAC,KAA4B,EAAE,EAAE;IACzD,MAAM,OAAO,GAAG,uBAAuB,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,OAAO,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;IAEpF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,6BAAK,SAAS,EAAC,iBAAiB,aAAa;QAC5C,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,KAAa,EAAE,EAAE,CAAC,CAC9C,6BACC,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE;gBACzC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;aAClC,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC;YAE/C,6BAAK,SAAS,EAAC,aAAa;gBAC3B,oBAAC,KAAK,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI;gBAC3B,IAAI,CAAC,IAAI,CACL;YACN,kCAAO,IAAI,CAAC,MAAM,CAAQ,CACrB,CACN,CAAC,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import { FilterOption } from "@voplus/morpho-data";
|
2
2
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
3
3
|
export declare class State extends DefaultFilterState {
|
4
|
+
private defaultFilter?;
|
4
5
|
/** Status of filter */
|
5
6
|
status: Map<string, boolean>;
|
6
|
-
constructor();
|
7
|
+
constructor(defaultFilter?: string[] | undefined);
|
8
|
+
onInit(): void;
|
7
9
|
/** update status */
|
8
10
|
onChangeStatus(value: string): void;
|
9
11
|
get menus(): {
|
@@ -2,8 +2,15 @@ import { __decorate } from "tslib";
|
|
2
2
|
import { action, makeObservable, observable } from "mobx";
|
3
3
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
4
4
|
export class State extends DefaultFilterState {
|
5
|
-
constructor() {
|
5
|
+
constructor(defaultFilter) {
|
6
|
+
var _a;
|
6
7
|
super();
|
8
|
+
Object.defineProperty(this, "defaultFilter", {
|
9
|
+
enumerable: true,
|
10
|
+
configurable: true,
|
11
|
+
writable: true,
|
12
|
+
value: defaultFilter
|
13
|
+
});
|
7
14
|
/** Status of filter */
|
8
15
|
Object.defineProperty(this, "status", {
|
9
16
|
enumerable: true,
|
@@ -12,6 +19,13 @@ export class State extends DefaultFilterState {
|
|
12
19
|
value: new Map()
|
13
20
|
});
|
14
21
|
makeObservable(this);
|
22
|
+
if ((_a = this.defaultFilter) === null || _a === void 0 ? void 0 : _a.length)
|
23
|
+
this.onInit();
|
24
|
+
}
|
25
|
+
onInit() {
|
26
|
+
var _a;
|
27
|
+
this.reset();
|
28
|
+
(_a = this.defaultFilter) === null || _a === void 0 ? void 0 : _a.map((f) => this.onChangeStatus(f));
|
15
29
|
}
|
16
30
|
/** update status */
|
17
31
|
onChangeStatus(value) {
|
@@ -44,6 +58,9 @@ export class State extends DefaultFilterState {
|
|
44
58
|
__decorate([
|
45
59
|
observable
|
46
60
|
], State.prototype, "status", void 0);
|
61
|
+
__decorate([
|
62
|
+
action
|
63
|
+
], State.prototype, "onInit", null);
|
47
64
|
__decorate([
|
48
65
|
action
|
49
66
|
], State.prototype, "onChangeStatus", null);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/TaskStatusFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,OAAO,KAAM,SAAQ,kBAAkB;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