@titaui/pc 1.12.6 → 1.12.7-beta.1
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/lib/components/attachments-preview/index.css +11 -0
- package/lib/components/attachments-preview/index.js +112 -0
- package/lib/components/auto-save/img/failed.svg +17 -0
- package/lib/components/auto-save/img/success.svg +16 -0
- package/lib/components/auto-save/index.css +39 -0
- package/lib/components/auto-save/index.js +78 -0
- package/lib/components/auto-save/interface.js +5 -0
- package/lib/components/dialog-upload/img/doc.svg +1 -0
- package/lib/components/dialog-upload/img/other.svg +1 -0
- package/lib/components/dialog-upload/img/pdf.svg +1 -0
- package/lib/components/dialog-upload/img/ppt.svg +1 -0
- package/lib/components/dialog-upload/img/radio.svg +1 -0
- package/lib/components/dialog-upload/img/video.svg +1 -0
- package/lib/components/dialog-upload/img/xls.svg +1 -0
- package/lib/components/dialog-upload/index.css +77 -0
- package/lib/components/dialog-upload/index.js +330 -0
- package/lib/components/dialog-upload/type.js +35 -0
- package/lib/components/dialog-upload/uploaded-preview.css +77 -0
- package/lib/components/dialog-upload/uploaded-preview.js +132 -0
- package/lib/components/dialog-upload/util.js +131 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/encourage.js +119 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/APP-shoucang-m.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/ascore.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/curEfforts.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/curGood.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/curGreat.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/efforts.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/good.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/great.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/halfscore.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/loading.gif +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/score.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/img/top.svg +14 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/index.css +68 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/index.js +116 -0
- package/lib/components/dynamic/dynamic-item/components/comments-dialog/rate.js +143 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/evalute.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/fighting.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/happy.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/long-story.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/pressure.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.css +170 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +120 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/request-api.js +10 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/utils.js +10 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/kr-progress/index.css +8 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/kr-progress/index.js +26 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/o-progress/index.css +8 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/o-progress/index.js +26 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.css +197 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.js +220 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/request-api.js +20 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/util.js +134 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/task-progress/index.css +10 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/task-progress/index.js +60 -0
- package/lib/components/dynamic/dynamic-item/components/progress/index.css +25 -0
- package/lib/components/dynamic/dynamic-item/components/progress/index.js +71 -0
- package/lib/components/dynamic/dynamic-item/components/progress/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/index.css +31 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/index.js +59 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/evalute.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/fighting.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/happy.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/long-story.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/pressure.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.css +136 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +348 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.css +24 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.js +52 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.css +50 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.js +65 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.css +201 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +95 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/utils.js +10 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-small.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/evaluate-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-small.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-small.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.css +32 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.js +43 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.css +37 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.js +79 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/evalute.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/fighting.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/happy.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/long-story.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/pressure.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.css +155 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +155 -0
- package/lib/components/dynamic/dynamic-item/index.js +4 -3
- package/lib/components/import-modal/helper.js +179 -0
- package/lib/components/import-modal/image/loading.gif +0 -0
- package/lib/components/import-modal/import-okr-modal/index.css +18 -0
- package/lib/components/import-modal/import-okr-modal/index.js +132 -0
- package/lib/components/import-modal/import-task-modal/index.css +18 -0
- package/lib/components/import-modal/import-task-modal/index.js +240 -0
- package/lib/components/import-modal/import-task-modal/search-form.js +135 -0
- package/lib/components/import-modal/index.css +30 -0
- package/lib/components/import-modal/index.js +20 -0
- package/lib/components/import-modal/radio.js +62 -0
- package/lib/components/import-modal/request-api.js +204 -0
- package/lib/components/import-modal/search/category-select.js +74 -0
- package/lib/components/import-modal/search/okr-classify-select.js +74 -0
- package/lib/components/import-modal/search/okr-status-select.js +74 -0
- package/lib/components/import-modal/search/okr-type-select.js +87 -0
- package/lib/components/import-modal/search/principal.js +135 -0
- package/lib/components/import-modal/search/relation.js +77 -0
- package/lib/components/import-modal/search/search-dropdown/index.css +50 -0
- package/lib/components/import-modal/search/search-dropdown/index.js +32 -0
- package/lib/components/import-modal/search/task-relation.js +83 -0
- package/lib/components/import-modal/search/task-status-select.js +87 -0
- package/lib/components/import-modal/search/work-relation.js +83 -0
- package/lib/components/import-modal/search/work-status-select.js +74 -0
- package/lib/components/import-modal/tree/okr-tree/index.css +61 -0
- package/lib/components/import-modal/tree/okr-tree/index.js +265 -0
- package/lib/components/import-modal/tree/okr-tree/search-form.js +161 -0
- package/lib/components/import-modal/tree/task-work-tree/index.css +123 -0
- package/lib/components/import-modal/tree/task-work-tree/index.js +187 -0
- package/lib/components/import-modal/tree-node/index.css +0 -0
- package/lib/components/import-modal/tree-node/index.js +51 -0
- package/lib/components/import-modal/tree-node/kr-node/index.css +58 -0
- package/lib/components/import-modal/tree-node/kr-node/index.js +108 -0
- package/lib/components/import-modal/tree-node/milestone-node/index.css +61 -0
- package/lib/components/import-modal/tree-node/milestone-node/index.js +118 -0
- package/lib/components/import-modal/tree-node/o-node/index.css +46 -0
- package/lib/components/import-modal/tree-node/o-node/index.js +138 -0
- package/lib/components/import-modal/tree-node/work-node/index.css +51 -0
- package/lib/components/import-modal/tree-node/work-node/index.js +108 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/caidan-enjoy.svg +14 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/my-setup.svg +18 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/my-zongjie.svg +15 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/zongjie-s.svg +15 -0
- package/lib/components/menus/components/menu-tree/tree-node/index.css +120 -0
- package/lib/components/menus/components/menu-tree/tree-node/index.js +22 -2
- package/lib/components/menus/components/menu-tree/tree-node/subordinates.js +74 -0
- package/lib/components/menus/components/menu-tree/tree-node/summary-share.js +74 -0
- package/lib/components/menus/export-modules/summary-menus/depart-menus/helper.js +56 -0
- package/lib/components/menus/export-modules/summary-menus/depart-menus/index.css +32 -0
- package/lib/components/menus/export-modules/summary-menus/depart-menus/index.js +201 -0
- package/lib/components/menus/export-modules/summary-menus/index.css +9 -0
- package/lib/components/menus/export-modules/summary-menus/index.js +134 -0
- package/lib/components/menus/export-modules/summary-menus/menu-highlight.js +76 -0
- package/lib/components/menus/export-modules/summary-menus/menus.js +199 -0
- package/lib/components/menus/export-modules/summary-menus/summary-front-menus.js +199 -0
- package/lib/components/menus/i18n.js +8 -0
- package/lib/components/menus/index.js +6 -0
- package/lib/components/nav-top/components/menu/index.js +1 -1
- package/lib/components/new-confidence/constant.js +53 -0
- package/lib/components/new-confidence/img/1.svg +40 -0
- package/lib/components/new-confidence/img/10.svg +33 -0
- package/lib/components/new-confidence/img/2.svg +40 -0
- package/lib/components/new-confidence/img/3.svg +40 -0
- package/lib/components/new-confidence/img/4.svg +40 -0
- package/lib/components/new-confidence/img/5.svg +40 -0
- package/lib/components/new-confidence/img/6.svg +40 -0
- package/lib/components/new-confidence/img/7.svg +40 -0
- package/lib/components/new-confidence/img/8.svg +40 -0
- package/lib/components/new-confidence/img/9.svg +40 -0
- package/lib/components/new-confidence/index.css +62 -0
- package/lib/components/new-confidence/index.js +115 -0
- package/lib/components/new-confidence/interface.js +5 -0
- package/lib/components/okr-detail/components/o-progress-update/index.js +8 -4
- package/lib/components/okr-progress/components/o-progress-update/index.js +4 -2
- package/lib/components/picker/components/panels/week-panel/index.css +42 -0
- package/lib/components/picker/components/panels/week-panel/index.js +49 -0
- package/lib/components/picker/components/panels/week-panel/week-body.js +127 -0
- package/lib/components/picker/components/panels/week-panel/week-head.js +80 -0
- package/lib/components/picker/components/picker-trigger/index.js +3 -2
- package/lib/components/picker/picker-panels.js +45 -4
- package/lib/components/picker/picker.js +7 -3
- package/lib/components/rate/index.js +52 -0
- package/lib/components/rich-editor-at/components/index.css +66 -0
- package/lib/components/rich-editor-at/components/index.js +188 -0
- package/lib/components/rich-editor-at/index.css +40 -0
- package/lib/components/rich-editor-at/index.js +108 -0
- package/lib/components/rich-editor-upload/index.css +11 -0
- package/lib/components/rich-editor-upload/index.js +84 -0
- package/lib/components/search-input/index.js +5 -0
- package/lib/components/textarea/index.js +7 -5
- package/lib/index.js +40 -0
- package/lib/utils/bs-global.js +1 -1
- package/lib/utils/helpers.js +8 -0
- package/package.json +2 -1
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
.titaui-dynamic-summary-task-progress {
|
|
2
|
+
margin-top: 16px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.titaui-dynamic-summary-task-progress__title {
|
|
6
|
+
font-size: 18px;
|
|
7
|
+
font-weight: 600;
|
|
8
|
+
color: #141c28;
|
|
9
|
+
line-height: 26px;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.titaui-dynamic-summary-task-progress__title-update {
|
|
16
|
+
font-size: 14px;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
color: #2879ff;
|
|
19
|
+
line-height: 22px;
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.titaui-dynamic-summary-task-progress__title-update-icon {
|
|
25
|
+
margin-right: 4px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.titaui-dynamic-summary-task-progress__title-update:hover {
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
opacity: 0.8;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.titaui-dynamic-summary-task-progress__table {
|
|
34
|
+
border: 1px solid #dfe3ea;
|
|
35
|
+
border-radius: 12px;
|
|
36
|
+
margin-top: 12px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.titaui-dynamic-summary-task-progress__table table {
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.titaui-dynamic-summary-task-progress__table table thead {
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.titaui-dynamic-summary-task-progress__table table tbody {
|
|
48
|
+
width: 100%;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.titaui-dynamic-summary-task-progress__table table tbody tr {
|
|
52
|
+
border-bottom: 1px solid #dfe3ea;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.titaui-dynamic-summary-task-progress__table table tbody tr:last-child {
|
|
56
|
+
border-bottom: unset;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.titaui-dynamic-summary-task-progress__table table tbody tr td {
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
padding: 0 12px;
|
|
62
|
+
border-right: 1px solid #dfe3ea;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.titaui-dynamic-summary-task-progress__table table tbody tr td:last-child {
|
|
66
|
+
border-right: unset;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.titaui-dynamic-summary-task-progress__table table tbody tr td:nth-child(2) {
|
|
70
|
+
padding: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.titaui-dynamic-summary-task-progress__table-title {
|
|
74
|
+
height: 40px;
|
|
75
|
+
background: #f0f4fa;
|
|
76
|
+
font-size: 13px;
|
|
77
|
+
color: #89919f;
|
|
78
|
+
line-height: 18px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.titaui-dynamic-summary-task-progress__table-title td {
|
|
82
|
+
text-align: center;
|
|
83
|
+
padding: 0 12px;
|
|
84
|
+
box-sizing: border-box;
|
|
85
|
+
border-right: 1px solid #dfe3ea;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.titaui-dynamic-summary-task-progress__table-title td:last-child {
|
|
89
|
+
border-right: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.titaui-dynamic-summary-task-progress__table-title-okrs {
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
border-top-left-radius: 12px;
|
|
95
|
+
width: 282px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.titaui-dynamic-summary-task-progress__table-title-progress {
|
|
99
|
+
width: 102px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.titaui-dynamic-summary-task-progress__table-title-progress-desc {
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
border-top-right-radius: 12px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.titaui-dynamic-summary-task-progress__table-title-progress-desc-icon {
|
|
108
|
+
font-size: 14px;
|
|
109
|
+
margin-left: 4px;
|
|
110
|
+
vertical-align: text-top;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.titaui-dynamic-summary-task-progress__statistic {
|
|
114
|
+
display: flex;
|
|
115
|
+
justify-content: space-between;
|
|
116
|
+
margin-top: 12px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.titaui-dynamic-summary-task-progress__statistic-item {
|
|
120
|
+
flex: 1;
|
|
121
|
+
height: 48px;
|
|
122
|
+
border-radius: 12px;
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
justify-content: space-between;
|
|
126
|
+
margin-right: 10px;
|
|
127
|
+
padding: 0 16px;
|
|
128
|
+
font-size: 14px;
|
|
129
|
+
font-weight: 600;
|
|
130
|
+
color: #141c28;
|
|
131
|
+
line-height: 22px;
|
|
132
|
+
position: relative;
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.titaui-dynamic-summary-task-progress__statistic-item:last-child {
|
|
137
|
+
margin-right: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.titaui-dynamic-summary-task-progress__statistic-item--finished {
|
|
141
|
+
background: rgba(0, 214, 133, 0.1);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.titaui-dynamic-summary-task-progress__statistic-item--finished::before {
|
|
145
|
+
content: '';
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
left: 0;
|
|
149
|
+
width: 4px;
|
|
150
|
+
height: 48px;
|
|
151
|
+
background: rgba(0, 214, 133, 0.3);
|
|
152
|
+
border-radius: 12px 0 0 12px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.titaui-dynamic-summary-task-progress__statistic-item--finished-text {
|
|
156
|
+
color: #00D685;
|
|
157
|
+
font-size: 16px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.titaui-dynamic-summary-task-progress__statistic-item--processing {
|
|
161
|
+
background: rgba(40, 121, 255, 0.1);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.titaui-dynamic-summary-task-progress__statistic-item--processing-text {
|
|
165
|
+
color: #2879FF;
|
|
166
|
+
font-size: 16px;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.titaui-dynamic-summary-task-progress__statistic-item--overdue {
|
|
170
|
+
background: rgba(240, 94, 94, 0.1);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.titaui-dynamic-summary-task-progress__statistic-item--overdue-text {
|
|
174
|
+
color: #F05E5E;
|
|
175
|
+
font-size: 16px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.titaui-dynamic-summary-task-progress__import {
|
|
179
|
+
margin-top: 10px;
|
|
180
|
+
width: 60px;
|
|
181
|
+
height: 60px;
|
|
182
|
+
border-radius: 8px;
|
|
183
|
+
border: 1px solid #e9ecf0;
|
|
184
|
+
display: flex;
|
|
185
|
+
align-items: center;
|
|
186
|
+
justify-content: center;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.titaui-dynamic-summary-task-progress__import-icon {
|
|
190
|
+
font-size: 24px;
|
|
191
|
+
color: #BFC7D5;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.titaui-dynamic-summary-task-progress__import:hover {
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
border: 1px solid #2879ff;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.titaui-dynamic-summary-task-progress__import:hover .tu-icon-add1 {
|
|
200
|
+
color: #2879ff;
|
|
201
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _tooltip = _interopRequireDefault(require("../../../../tooltip"));
|
|
13
|
+
|
|
14
|
+
var _getLocale = require("../../../../../utils/getLocale");
|
|
15
|
+
|
|
16
|
+
var _progress = _interopRequireDefault(require("../progress"));
|
|
17
|
+
|
|
18
|
+
require("./index.css");
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
22
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
|
+
|
|
24
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
+
|
|
26
|
+
var prefix = "titaui-dynamic-summary-task-progress";
|
|
27
|
+
|
|
28
|
+
var TaskProgress = function TaskProgress(_ref) {
|
|
29
|
+
var _ref$type = _ref.type,
|
|
30
|
+
type = _ref$type === void 0 ? "day" : _ref$type;
|
|
31
|
+
var renderTitle = (0, _react.useMemo)(function () {
|
|
32
|
+
if (type === "day") {
|
|
33
|
+
return (0, _getLocale.getLocale)("Rep_NewS_Toworkasks");
|
|
34
|
+
} else if (type === "week") {
|
|
35
|
+
return (0, _getLocale.getLocale)("Rep_NewS_Thisetasks");
|
|
36
|
+
} else if (type === "month") {
|
|
37
|
+
return (0, _getLocale.getLocale)("Rep_NewS_Taskormonth");
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return "";
|
|
41
|
+
}, [type]);
|
|
42
|
+
var renderTable = (0, _react.useMemo)(function () {
|
|
43
|
+
return /*#__PURE__*/_react["default"].createElement("table", null, /*#__PURE__*/_react["default"].createElement("thead", null, /*#__PURE__*/_react["default"].createElement("tr", {
|
|
44
|
+
className: "".concat(prefix, "__table-title")
|
|
45
|
+
}, /*#__PURE__*/_react["default"].createElement("td", {
|
|
46
|
+
className: "".concat(prefix, "__table-title-okrs")
|
|
47
|
+
}, (0, _getLocale.getLocale)("OKR_MyO_Title_Taskname")), /*#__PURE__*/_react["default"].createElement("td", {
|
|
48
|
+
className: "".concat(prefix, "__table-title-progress")
|
|
49
|
+
}, (0, _getLocale.getLocale)("OKR_MyO_Pop_Upd_Progresss1")), /*#__PURE__*/_react["default"].createElement("td", {
|
|
50
|
+
className: "".concat(prefix, "__table-title-progress-desc")
|
|
51
|
+
}, (0, _getLocale.getLocale)("Feed_Tab_Title_Progress"), /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
|
|
52
|
+
overlay: (0, _getLocale.getLocale)("Rep_Tab_Mys_FillOKRsync"),
|
|
53
|
+
placement: "top",
|
|
54
|
+
align: {
|
|
55
|
+
offset: [0, 5]
|
|
56
|
+
}
|
|
57
|
+
}, /*#__PURE__*/_react["default"].createElement("i", {
|
|
58
|
+
className: "tu-icon-wiki ".concat(prefix, "__table-title-progress-desc-icon")
|
|
59
|
+
}))))), /*#__PURE__*/_react["default"].createElement("tbody", null, /*#__PURE__*/_react["default"].createElement("tr", null, /*#__PURE__*/_react["default"].createElement("td", null, "1"), /*#__PURE__*/_react["default"].createElement("td", null, /*#__PURE__*/_react["default"].createElement(_progress["default"], {
|
|
60
|
+
type: "task",
|
|
61
|
+
status: "normal",
|
|
62
|
+
value: 50
|
|
63
|
+
})), /*#__PURE__*/_react["default"].createElement("td", null, "4")), /*#__PURE__*/_react["default"].createElement("tr", null, /*#__PURE__*/_react["default"].createElement("td", {
|
|
64
|
+
colSpan: 4
|
|
65
|
+
}, "222")), /*#__PURE__*/_react["default"].createElement("tr", null, /*#__PURE__*/_react["default"].createElement("td", null, "1"), /*#__PURE__*/_react["default"].createElement("td", null, /*#__PURE__*/_react["default"].createElement(_progress["default"], {
|
|
66
|
+
type: "task",
|
|
67
|
+
status: "risk",
|
|
68
|
+
value: 80
|
|
69
|
+
})), /*#__PURE__*/_react["default"].createElement("td", null, "4"))));
|
|
70
|
+
}, []);
|
|
71
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
72
|
+
className: prefix
|
|
73
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
74
|
+
className: "".concat(prefix, "__title")
|
|
75
|
+
}, renderTitle), /*#__PURE__*/_react["default"].createElement("div", {
|
|
76
|
+
className: "".concat(prefix, "__statistic")
|
|
77
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
78
|
+
className: "".concat(prefix, "__statistic-item ").concat(prefix, "__statistic-item--finished")
|
|
79
|
+
}, (0, _getLocale.getLocale)("OKR_MyO_E_From_Completed"), " ", /*#__PURE__*/_react["default"].createElement("span", {
|
|
80
|
+
className: "".concat(prefix, "__statistic-item--finished-text")
|
|
81
|
+
}, "5")), /*#__PURE__*/_react["default"].createElement("span", {
|
|
82
|
+
className: "".concat(prefix, "__statistic-item ").concat(prefix, "__statistic-item--processing")
|
|
83
|
+
}, (0, _getLocale.getLocale)("OKR_MyO_Butt_Inprogress"), " ", /*#__PURE__*/_react["default"].createElement("span", {
|
|
84
|
+
className: "".concat(prefix, "__statistic-item--processing-text")
|
|
85
|
+
}, "5")), /*#__PURE__*/_react["default"].createElement("span", {
|
|
86
|
+
className: "".concat(prefix, "__statistic-item ").concat(prefix, "__statistic-item--overdue")
|
|
87
|
+
}, (0, _getLocale.getLocale)("OKR_MyO_E_Overdue"), " ", /*#__PURE__*/_react["default"].createElement("span", {
|
|
88
|
+
className: "".concat(prefix, "__statistic-item--overdue-text")
|
|
89
|
+
}, "5"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
90
|
+
className: "".concat(prefix, "__table")
|
|
91
|
+
}, renderTable));
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
var _default = TaskProgress;
|
|
95
|
+
exports["default"] = _default;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-big.png
ADDED
|
Binary file
|
package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-small.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.titaui-dynamic-summary__evalute-card {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 102px;
|
|
4
|
+
background: rgba(240, 163, 38, 0.12);
|
|
5
|
+
border-radius: 12px;
|
|
6
|
+
margin-top: 20px;
|
|
7
|
+
padding: 16px 8px 14px 16px;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.titaui-dynamic-summary__evalute-card__head {
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
color: #3F4755;
|
|
16
|
+
line-height: 22px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.titaui-dynamic-summary__evalute-card__head-img {
|
|
20
|
+
width: 24px;
|
|
21
|
+
height: 24px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.titaui-dynamic-summary__evalute-card__head-name {
|
|
25
|
+
margin: 0 8px 0 6px;
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.titaui-dynamic-summary__evalute-card__head-rate {
|
|
30
|
+
margin-left: 4px;
|
|
31
|
+
color: #F0A326;
|
|
32
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _rate = _interopRequireDefault(require("../../../../../rate"));
|
|
11
|
+
|
|
12
|
+
var _getLocale = require("../../../../../../utils/getLocale");
|
|
13
|
+
|
|
14
|
+
var _fighting = _interopRequireDefault(require("../../img/fighting.png"));
|
|
15
|
+
|
|
16
|
+
require("./index.css");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
|
|
20
|
+
var preCls = 'titaui-dynamic-summary__evalute-card';
|
|
21
|
+
|
|
22
|
+
var EvaluteCard = function EvaluteCard() {
|
|
23
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
24
|
+
className: preCls
|
|
25
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
26
|
+
className: "".concat(preCls, "__head")
|
|
27
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
28
|
+
src: _fighting["default"],
|
|
29
|
+
className: "".concat(preCls, "__head-img")
|
|
30
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
className: "".concat(preCls, "__head-name")
|
|
32
|
+
}, "cnjsk"), (0, _getLocale.getLocale)('Rep_NewS_EvaluationOF'), /*#__PURE__*/_react["default"].createElement(_rate["default"], {
|
|
33
|
+
defaultValue: 2.5,
|
|
34
|
+
disabled: true // style={{ fontSize: 50, marginTop: 24 }}
|
|
35
|
+
,
|
|
36
|
+
allowHalf: true
|
|
37
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
38
|
+
className: "".concat(preCls, "__head-rate")
|
|
39
|
+
}, "5\u5206")));
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
var _default = EvaluteCard;
|
|
43
|
+
exports["default"] = _default;
|
package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.css
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.titaui-dynamic-summary__remind-view {
|
|
2
|
+
margin-top: 25px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.titaui-dynamic-summary__remind-view__title {
|
|
6
|
+
font-size: 18px;
|
|
7
|
+
font-weight: 600;
|
|
8
|
+
color: #141C28;
|
|
9
|
+
line-height: 26px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.titaui-dynamic-summary__remind-view__list {
|
|
13
|
+
margin-top: 16px;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-wrap: wrap;
|
|
16
|
+
row-gap: 10px;
|
|
17
|
+
column-gap: 10px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.titaui-dynamic-summary__remind-view__user {
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
height: 32px;
|
|
24
|
+
background: #F0F4FA;
|
|
25
|
+
border-radius: 16px;
|
|
26
|
+
padding: 4px 8px 4px 4px;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
color: #3F4755;
|
|
30
|
+
line-height: 22px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.titaui-dynamic-summary__remind-view__user-avatar {
|
|
34
|
+
width: 24px;
|
|
35
|
+
height: 24px;
|
|
36
|
+
border-radius: 15px;
|
|
37
|
+
}
|
package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _getLocale = require("../../../../../../utils/getLocale");
|
|
11
|
+
|
|
12
|
+
var _fighting = _interopRequireDefault(require("../../img/fighting.png"));
|
|
13
|
+
|
|
14
|
+
require("./index.css");
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
var preCls = 'titaui-dynamic-summary__remind-view';
|
|
19
|
+
var userInfo = [{
|
|
20
|
+
id: 0,
|
|
21
|
+
name: 'cnehbvh',
|
|
22
|
+
avatar: _fighting["default"]
|
|
23
|
+
}, {
|
|
24
|
+
id: 1,
|
|
25
|
+
name: 'cnehbvhcnehbvh',
|
|
26
|
+
avatar: _fighting["default"]
|
|
27
|
+
}, {
|
|
28
|
+
id: 2,
|
|
29
|
+
name: 'cnehbvh',
|
|
30
|
+
avatar: _fighting["default"]
|
|
31
|
+
}, {
|
|
32
|
+
id: 3,
|
|
33
|
+
name: 'cnehbvh',
|
|
34
|
+
avatar: _fighting["default"]
|
|
35
|
+
}, {
|
|
36
|
+
id: 4,
|
|
37
|
+
name: 'cnehbvh',
|
|
38
|
+
avatar: _fighting["default"]
|
|
39
|
+
}, {
|
|
40
|
+
id: 5,
|
|
41
|
+
name: 'cnehbvhcnehbvh',
|
|
42
|
+
avatar: _fighting["default"]
|
|
43
|
+
}, {
|
|
44
|
+
id: 6,
|
|
45
|
+
name: 'cnehbvh',
|
|
46
|
+
avatar: _fighting["default"]
|
|
47
|
+
}, {
|
|
48
|
+
id: 7,
|
|
49
|
+
name: 'cnehbvhcnehbvh',
|
|
50
|
+
avatar: _fighting["default"]
|
|
51
|
+
}, {
|
|
52
|
+
id: 8,
|
|
53
|
+
name: 'cnehbvh',
|
|
54
|
+
avatar: _fighting["default"]
|
|
55
|
+
}, {
|
|
56
|
+
id: 9,
|
|
57
|
+
name: 'cnehbvhcnehbvh',
|
|
58
|
+
avatar: _fighting["default"]
|
|
59
|
+
}];
|
|
60
|
+
|
|
61
|
+
var RemindUserView = function RemindUserView() {
|
|
62
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
63
|
+
className: preCls
|
|
64
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
65
|
+
className: "".concat(preCls, "__title")
|
|
66
|
+
}, (0, _getLocale.getLocale)('OKR_MyO_himher')), /*#__PURE__*/_react["default"].createElement("div", {
|
|
67
|
+
className: "".concat(preCls, "__list")
|
|
68
|
+
}, userInfo.map(function (item) {
|
|
69
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
70
|
+
className: "".concat(preCls, "__user")
|
|
71
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
72
|
+
src: item.avatar,
|
|
73
|
+
className: "".concat(preCls, "__user-avatar")
|
|
74
|
+
}), item.name);
|
|
75
|
+
})));
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
var _default = RemindUserView;
|
|
79
|
+
exports["default"] = _default;
|