@voplus/morpho-workspace 6.0.71 → 6.0.72
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/WorkTypesFilter/index.d.ts +0 -1
- package/es/controls/filters/WorkTypesFilter/index.js +11 -8
- package/es/controls/filters/WorkTypesFilter/index.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.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/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 +30 -30
- 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.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.js +5 -2
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.less +20 -12
- 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,21 +1,16 @@
|
|
1
|
-
import React, {
|
1
|
+
import React, { useState } from "react";
|
2
2
|
import { State } from "./state";
|
3
3
|
import { Badge, Input } from "antd";
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
5
5
|
import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
|
6
6
|
import classnames from "classnames";
|
7
7
|
const WorkTypesFilter = (props) => {
|
8
|
+
const [timer, setTimer] = useState();
|
8
9
|
const context = useFilterOptionsContext();
|
9
10
|
const state = context.getFilterState("WorkTypes", () => new State(props.workTypeList));
|
10
|
-
// defaultValue 为传入的预选状态
|
11
|
-
useEffect(() => {
|
12
|
-
var _a;
|
13
|
-
state.reset();
|
14
|
-
(_a = props.defaultValue) === null || _a === void 0 ? void 0 : _a.map((value) => state.onChangeTypes(value));
|
15
|
-
}, [props.defaultValue]);
|
16
11
|
return observe(() => (React.createElement("div", { style: { maxHeight: "400px", overflow: "scroll", scrollbarWidth: "none" } },
|
17
12
|
React.createElement("div", { className: "menu-item-title" }, "WorkTypes"),
|
18
|
-
React.createElement(Input.Search, { allowClear: true,
|
13
|
+
React.createElement(Input.Search, { allowClear: true, onChange: (e) => onSearch(e.target.value) }),
|
19
14
|
state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
|
20
15
|
bold: state.types.has(item.value),
|
21
16
|
}), onClick: () => state.onChangeTypes(item.value) },
|
@@ -23,6 +18,14 @@ const WorkTypesFilter = (props) => {
|
|
23
18
|
React.createElement(Badge, { color: item.color }),
|
24
19
|
item.name),
|
25
20
|
React.createElement("span", null, item.counts)))))));
|
21
|
+
function onSearch(value) {
|
22
|
+
if (timer)
|
23
|
+
clearTimeout(timer);
|
24
|
+
setTimer(setTimeout(() => {
|
25
|
+
state.searchWorkType(value);
|
26
|
+
setTimer(undefined);
|
27
|
+
}, 1000));
|
28
|
+
}
|
26
29
|
};
|
27
30
|
export default WorkTypesFilter;
|
28
31
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,eAAe,GAAG,CAAC,KAAoC,EAAE,EAAE;IAChE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAA8B,CAAC;IAEjE,MAAM,OAAO,GAAG,uBAAuB,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,OAAO,CAAC,cAAc,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;IAEvF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE;QAC7E,6BAAK,SAAS,EAAC,iBAAiB,gBAAgB;QAChD,oBAAC,KAAK,CAAC,MAAM,IAAC,UAAU,QAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAAI;QACrE,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,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;aACjC,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC;YAE9C,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;IAEH,SAAS,QAAQ,CAAC,KAAa;QAC9B,IAAI,KAAK;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,QAAQ,CACP,UAAU,CAAC,GAAG,EAAE;YACf,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;YAC5B,QAAQ,CAAC,SAAS,CAAC,CAAC;QACrB,CAAC,EAAE,IAAI,CAAQ,CACf,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -1,133 +1,133 @@
|
|
1
|
-
.board-context {
|
2
|
-
height: 100%;
|
3
|
-
display: flex;
|
4
|
-
flex-direction: column;
|
5
|
-
:global {
|
6
|
-
.board-list {
|
7
|
-
height: 100%;
|
8
|
-
display: flex;
|
9
|
-
justify-content: space-between;
|
10
|
-
padding: 10px 12px;
|
11
|
-
|
12
|
-
.board-sortDnD {
|
13
|
-
flex: 1;
|
14
|
-
display: flex;
|
15
|
-
> div {
|
16
|
-
flex: 1;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
.add-board {
|
20
|
-
width: 100px;
|
21
|
-
min-width: 100px;
|
22
|
-
font-size: 16px;
|
23
|
-
text-align: center;
|
24
|
-
line-height: 50px;
|
25
|
-
margin: 8px 0;
|
26
|
-
> div {
|
27
|
-
cursor: pointer;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
.add-board-controls {
|
31
|
-
.ant-spin-nested-loading {
|
32
|
-
margin: 8px 0 8px 8px;
|
33
|
-
> div > .ant-spin {
|
34
|
-
height: 50px;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
.add-board-able {
|
39
|
-
display: flex;
|
40
|
-
justify-content: center;
|
41
|
-
align-items: center;
|
42
|
-
height: 50px;
|
43
|
-
color: #000000;
|
44
|
-
line-height: 50px;
|
45
|
-
padding: 0 10px;
|
46
|
-
background: #ffffff;
|
47
|
-
margin-bottom: 15px;
|
48
|
-
min-width: 150px;
|
49
|
-
.ant-input {
|
50
|
-
padding: 0;
|
51
|
-
border: none;
|
52
|
-
}
|
53
|
-
.ant-input:focus {
|
54
|
-
box-shadow: none;
|
55
|
-
}
|
56
|
-
.svg-inline--fa {
|
57
|
-
cursor: pointer;
|
58
|
-
margin-left: 8px;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
.ant-calendar {
|
62
|
-
max-width: 250px;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
.swiper {
|
67
|
-
width: 100%;
|
68
|
-
height: 100%;
|
69
|
-
background-color: #eeeeee;
|
70
|
-
}
|
71
|
-
|
72
|
-
.swiper-slide {
|
73
|
-
text-align: center;
|
74
|
-
font-size: 18px;
|
75
|
-
background: #fff;
|
76
|
-
|
77
|
-
/* Center slide text vertically */
|
78
|
-
display: -webkit-box;
|
79
|
-
display: -ms-flexbox;
|
80
|
-
display: -webkit-flex;
|
81
|
-
display: flex;
|
82
|
-
-webkit-box-pack: center;
|
83
|
-
-ms-flex-pack: center;
|
84
|
-
-webkit-justify-content: center;
|
85
|
-
justify-content: center;
|
86
|
-
-webkit-box-align: center;
|
87
|
-
-ms-flex-align: center;
|
88
|
-
-webkit-align-items: center;
|
89
|
-
align-items: center;
|
90
|
-
}
|
91
|
-
|
92
|
-
.swiper-slide img {
|
93
|
-
display: block;
|
94
|
-
width: 100%;
|
95
|
-
height: 100%;
|
96
|
-
object-fit: cover;
|
97
|
-
}
|
98
|
-
|
99
|
-
.swiper-slide {
|
100
|
-
width: 80%;
|
101
|
-
background-color: cornsilk;
|
102
|
-
> div {
|
103
|
-
width: 100%;
|
104
|
-
height: 100%;
|
105
|
-
min-width: auto;
|
106
|
-
margin: 0;
|
107
|
-
.content-top {
|
108
|
-
width: 100%;
|
109
|
-
}
|
110
|
-
.wrapper {
|
111
|
-
width: 100%;
|
112
|
-
padding: 0 15px;
|
113
|
-
}
|
114
|
-
.new-sub-doc {
|
115
|
-
background: #fff;
|
116
|
-
border-top: solid 1px #eeeeee;
|
117
|
-
padding: 5px 10px;
|
118
|
-
.ant-btn {
|
119
|
-
padding: 4px 5px;
|
120
|
-
}
|
121
|
-
}
|
122
|
-
}
|
123
|
-
}
|
124
|
-
}
|
125
|
-
}
|
126
|
-
// .board_header {
|
127
|
-
// display: flex;
|
128
|
-
// justify-content: space-between;
|
129
|
-
// align-items: center;
|
130
|
-
// padding: 10px 20px;
|
131
|
-
// border-bottom: 1px solid #f2f2f2;
|
132
|
-
// background-color: #ffffff;
|
133
|
-
// }
|
1
|
+
.board-context {
|
2
|
+
height: 100%;
|
3
|
+
display: flex;
|
4
|
+
flex-direction: column;
|
5
|
+
:global {
|
6
|
+
.board-list {
|
7
|
+
height: 100%;
|
8
|
+
display: flex;
|
9
|
+
justify-content: space-between;
|
10
|
+
padding: 10px 12px;
|
11
|
+
|
12
|
+
.board-sortDnD {
|
13
|
+
flex: 1;
|
14
|
+
display: flex;
|
15
|
+
> div {
|
16
|
+
flex: 1;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
.add-board {
|
20
|
+
width: 100px;
|
21
|
+
min-width: 100px;
|
22
|
+
font-size: 16px;
|
23
|
+
text-align: center;
|
24
|
+
line-height: 50px;
|
25
|
+
margin: 8px 0;
|
26
|
+
> div {
|
27
|
+
cursor: pointer;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
.add-board-controls {
|
31
|
+
.ant-spin-nested-loading {
|
32
|
+
margin: 8px 0 8px 8px;
|
33
|
+
> div > .ant-spin {
|
34
|
+
height: 50px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
.add-board-able {
|
39
|
+
display: flex;
|
40
|
+
justify-content: center;
|
41
|
+
align-items: center;
|
42
|
+
height: 50px;
|
43
|
+
color: #000000;
|
44
|
+
line-height: 50px;
|
45
|
+
padding: 0 10px;
|
46
|
+
background: #ffffff;
|
47
|
+
margin-bottom: 15px;
|
48
|
+
min-width: 150px;
|
49
|
+
.ant-input {
|
50
|
+
padding: 0;
|
51
|
+
border: none;
|
52
|
+
}
|
53
|
+
.ant-input:focus {
|
54
|
+
box-shadow: none;
|
55
|
+
}
|
56
|
+
.svg-inline--fa {
|
57
|
+
cursor: pointer;
|
58
|
+
margin-left: 8px;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
.ant-calendar {
|
62
|
+
max-width: 250px;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
.swiper {
|
67
|
+
width: 100%;
|
68
|
+
height: 100%;
|
69
|
+
background-color: #eeeeee;
|
70
|
+
}
|
71
|
+
|
72
|
+
.swiper-slide {
|
73
|
+
text-align: center;
|
74
|
+
font-size: 18px;
|
75
|
+
background: #fff;
|
76
|
+
|
77
|
+
/* Center slide text vertically */
|
78
|
+
display: -webkit-box;
|
79
|
+
display: -ms-flexbox;
|
80
|
+
display: -webkit-flex;
|
81
|
+
display: flex;
|
82
|
+
-webkit-box-pack: center;
|
83
|
+
-ms-flex-pack: center;
|
84
|
+
-webkit-justify-content: center;
|
85
|
+
justify-content: center;
|
86
|
+
-webkit-box-align: center;
|
87
|
+
-ms-flex-align: center;
|
88
|
+
-webkit-align-items: center;
|
89
|
+
align-items: center;
|
90
|
+
}
|
91
|
+
|
92
|
+
.swiper-slide img {
|
93
|
+
display: block;
|
94
|
+
width: 100%;
|
95
|
+
height: 100%;
|
96
|
+
object-fit: cover;
|
97
|
+
}
|
98
|
+
|
99
|
+
.swiper-slide {
|
100
|
+
width: 80%;
|
101
|
+
background-color: cornsilk;
|
102
|
+
> div {
|
103
|
+
width: 100%;
|
104
|
+
height: 100%;
|
105
|
+
min-width: auto;
|
106
|
+
margin: 0;
|
107
|
+
.content-top {
|
108
|
+
width: 100%;
|
109
|
+
}
|
110
|
+
.wrapper {
|
111
|
+
width: 100%;
|
112
|
+
padding: 0 15px;
|
113
|
+
}
|
114
|
+
.new-sub-doc {
|
115
|
+
background: #fff;
|
116
|
+
border-top: solid 1px #eeeeee;
|
117
|
+
padding: 5px 10px;
|
118
|
+
.ant-btn {
|
119
|
+
padding: 4px 5px;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
// .board_header {
|
127
|
+
// display: flex;
|
128
|
+
// justify-content: space-between;
|
129
|
+
// align-items: center;
|
130
|
+
// padding: 10px 20px;
|
131
|
+
// border-bottom: 1px solid #f2f2f2;
|
132
|
+
// background-color: #ffffff;
|
133
|
+
// }
|