@giteeteam/apps-team-components 1.2.2 → 1.2.3-alpha.2
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/README.md +28 -28
- package/dist/components/common/PriceTag.js +18 -18
- package/dist/components/common/overflow-tooltip/style/index.js +13 -13
- package/dist/components/common/style/global.js +2 -2
- package/dist/components/common/user-field/style/index.js +21 -21
- package/dist/components/fields/bind-workspace/style/index.js +3 -3
- package/dist/components/fields/hyper-link/style/index.js +14 -14
- package/dist/components/fields/long-text/style/index.js +5 -5
- package/dist/components/fields/priority/style/index.js +50 -50
- package/dist/components/fields/status/SelectTransition.js +105 -5
- package/dist/components/fields/status/TransitionButton.d.ts +5 -21
- package/dist/components/fields/status/TransitionButton.js +8 -99
- package/dist/components/fields/status/style/index.js +323 -323
- package/dist/components/fields/tag/style/index.js +5 -5
- package/dist/components/fields/team/style/index.js +2 -2
- package/dist/components/fields/user/style/index.js +8 -8
- package/dist/components/table-components/style/index.js +5 -5
- package/dist/icons/svg/DottedCircle.svg +7 -7
- package/dist/icons/svg/HollowCircle.svg +6 -6
- package/dist/icons/svg/Workflow.svg +12 -12
- package/dist/lib/contexts/workflowConfig.d.ts +2 -0
- package/dist/lib/workflow.d.ts +1 -0
- package/dist/lib/workflow.js +104 -19
- package/package.json +69 -69
|
@@ -1,325 +1,325 @@
|
|
|
1
1
|
import { fieldLabelColor, gray7, statusCellMinWidth, themeBgColorBase } from '../../../../style/common';
|
|
2
|
-
export const readViewWrapper = `
|
|
3
|
-
display: -webkit-box;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
min-width: 62px;
|
|
7
|
-
height: 22px;
|
|
8
|
-
padding: 0 8px;
|
|
9
|
-
font-size: 12px;
|
|
10
|
-
font-weight: 600;
|
|
11
|
-
line-height: 22px;
|
|
12
|
-
text-align: center;
|
|
13
|
-
border-radius: 4px;
|
|
14
|
-
`;
|
|
15
|
-
export const workflowContentStyle = `
|
|
16
|
-
max-width: 200px;
|
|
17
|
-
text-align: left;
|
|
18
|
-
`;
|
|
19
|
-
export const statePopoverStyle = (antPrefix) => `
|
|
20
|
-
z-index: 999 !important;
|
|
21
|
-
|
|
22
|
-
div.${antPrefix}-popover-inner-content, div.${antPrefix}-popover-inner {
|
|
23
|
-
padding: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
div.${antPrefix}-popover-arrow {
|
|
27
|
-
background: transparent;
|
|
28
|
-
border-style: none;
|
|
29
|
-
border-width: 0;
|
|
30
|
-
}
|
|
31
|
-
`;
|
|
32
|
-
export const flowNextStyle = `
|
|
33
|
-
max-height: 260px;
|
|
34
|
-
padding-top: 10px;
|
|
35
|
-
overflow: auto;
|
|
36
|
-
margin: -12px;
|
|
37
|
-
`;
|
|
38
|
-
export const flowWrapperStyle = `
|
|
39
|
-
padding: 4px 0;
|
|
40
|
-
`;
|
|
41
|
-
export const flowStateStyle = `
|
|
42
|
-
min-width: ${statusCellMinWidth};
|
|
43
|
-
height: 24px;
|
|
44
|
-
padding: 0 18px 0 8px;
|
|
45
|
-
font-size: 12px;
|
|
46
|
-
font-weight: 600;
|
|
47
|
-
line-height: 24px;
|
|
48
|
-
color: #fff;
|
|
49
|
-
text-align: center;
|
|
50
|
-
background: #cdcdcd;
|
|
51
|
-
border-radius: 4px;
|
|
52
|
-
box-shadow: none !important;
|
|
53
|
-
|
|
54
|
-
span {
|
|
55
|
-
text-decoration: none !important;
|
|
56
|
-
}
|
|
57
|
-
`;
|
|
58
|
-
export const flowStateInWorkflowStyle = `
|
|
59
|
-
&.status-btn:not(.add-weights) {
|
|
60
|
-
min-width: ${statusCellMinWidth};
|
|
61
|
-
height: 22px;
|
|
62
|
-
padding: 0 8px;
|
|
63
|
-
font-size: 12px;
|
|
64
|
-
font-weight: 600;
|
|
65
|
-
line-height: 22px;
|
|
66
|
-
color: #fff;
|
|
67
|
-
text-align: center;
|
|
68
|
-
background: #cdcdcd;
|
|
69
|
-
border-radius: 4px;
|
|
70
|
-
|
|
71
|
-
display: flex;
|
|
72
|
-
align-items: center;
|
|
73
|
-
justify-content: center;
|
|
74
|
-
}
|
|
75
|
-
`;
|
|
76
|
-
export const flowStateButtonStyle = `
|
|
77
|
-
&:not(.add-weights) > span {
|
|
78
|
-
display: -webkit-box;
|
|
79
|
-
}
|
|
80
|
-
`;
|
|
81
|
-
export const stateBtnStyle = `
|
|
82
|
-
height: 22px;
|
|
83
|
-
line-height: 22px;
|
|
84
|
-
`;
|
|
85
|
-
export const noStateStyle = `
|
|
86
|
-
color: ${fieldLabelColor};
|
|
87
|
-
background: ${themeBgColorBase};
|
|
88
|
-
`;
|
|
89
|
-
export const caretDownStyle = `
|
|
90
|
-
padding-left: 2px;
|
|
91
|
-
margin-left: 0;
|
|
92
|
-
line-height: 10px;
|
|
93
|
-
`;
|
|
94
|
-
export const statusViewGlobalStyle = `
|
|
95
|
-
.field-layout.status-view {
|
|
96
|
-
position: relative;
|
|
97
|
-
padding: 10px;
|
|
98
|
-
margin: -12px;
|
|
99
|
-
margin-top: 10px;
|
|
100
|
-
font-size: 12px;
|
|
101
|
-
cursor: pointer;
|
|
102
|
-
border-top: 1px solid #ddd;
|
|
103
|
-
width: auto;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.field-layout.status-view .status-view-watch {
|
|
107
|
-
width: 12px;
|
|
108
|
-
height: 12px;
|
|
109
|
-
margin-right: 5px;
|
|
110
|
-
font-size: 12px;
|
|
111
|
-
vertical-align: middle;
|
|
112
|
-
}
|
|
113
|
-
`;
|
|
114
|
-
export const tipLineStyle = `
|
|
115
|
-
margin-bottom: 0;
|
|
116
|
-
`;
|
|
117
|
-
export const tooltipStyle = `
|
|
118
|
-
width: 98px;
|
|
119
|
-
`;
|
|
120
|
-
export const iconStyle = `
|
|
121
|
-
padding: 0 6px;
|
|
122
|
-
color: ${gray7};
|
|
123
|
-
`;
|
|
124
|
-
export const stateBoxStyle = `
|
|
125
|
-
display: flex;
|
|
126
|
-
width: 98px;
|
|
127
|
-
|
|
128
|
-
span {
|
|
129
|
-
padding-right: 8px;
|
|
130
|
-
}
|
|
131
|
-
`;
|
|
132
|
-
export const flowBtnStyle = `
|
|
133
|
-
display: flex;
|
|
134
|
-
padding: 5px 10px;
|
|
135
|
-
margin: 0;
|
|
136
|
-
|
|
137
|
-
&:hover {
|
|
138
|
-
background-color: var(--select-item-selected-bg, #e6f3ff);
|
|
139
|
-
}
|
|
140
|
-
`;
|
|
141
|
-
export const notAllowedStyle = `
|
|
142
|
-
cursor: not-allowed;
|
|
143
|
-
opacity: 0.3;
|
|
144
|
-
`;
|
|
145
|
-
export const pointerStyle = `
|
|
146
|
-
cursor: pointer;
|
|
147
|
-
`;
|
|
148
|
-
export const spinStyle = `
|
|
149
|
-
width: 150px;
|
|
150
|
-
height: 50px;
|
|
151
|
-
`;
|
|
152
|
-
export const noPermissionStyle = `
|
|
153
|
-
display: block;
|
|
154
|
-
width: 120px;
|
|
155
|
-
padding: 20px 10px 10px;
|
|
156
|
-
font-size: 12px;
|
|
157
|
-
color: #2e405e;
|
|
158
|
-
`;
|
|
159
|
-
export const overflowStyle = `
|
|
160
|
-
display: flex;
|
|
161
|
-
margin-top: 4px;
|
|
162
|
-
`;
|
|
163
|
-
export const overflowStyleText = `
|
|
164
|
-
font-size: 13px;
|
|
165
|
-
line-height: 24px;
|
|
166
|
-
color: ${gray7};
|
|
167
|
-
flex: 1;
|
|
168
|
-
`;
|
|
169
|
-
export const headerFlowStyle = `
|
|
170
|
-
text-align: right;
|
|
171
|
-
`;
|
|
172
|
-
export const headerStateStyle = `
|
|
173
|
-
& > span {
|
|
174
|
-
display: inline-block !important;
|
|
175
|
-
}
|
|
176
|
-
`;
|
|
177
|
-
export const FlowHandlerWrapper = `
|
|
178
|
-
width: 216px;
|
|
179
|
-
`;
|
|
180
|
-
export const FlowHandlerHeader = `
|
|
181
|
-
position: relative;
|
|
182
|
-
font-size: 14px;
|
|
183
|
-
text-align: center;
|
|
184
|
-
line-height: 22px;
|
|
185
|
-
margin-top: -6px;
|
|
186
|
-
.back-wrapper {
|
|
187
|
-
position: absolute;
|
|
188
|
-
left: 0;
|
|
189
|
-
top: 0;
|
|
190
|
-
cursor: pointer;
|
|
191
|
-
}
|
|
192
|
-
.icon-back {
|
|
193
|
-
font-size: 16px !important;
|
|
194
|
-
width: 16px !important;
|
|
195
|
-
}
|
|
196
|
-
`;
|
|
197
|
-
export const FlowHandlerSearchWrapper = `
|
|
198
|
-
margin: 0 -12px;
|
|
199
|
-
padding: 5px 10px;
|
|
200
|
-
border-top: 1px solid #f1f2f4;
|
|
201
|
-
border-bottom: 1px solid #f1f2f4;
|
|
202
|
-
|
|
203
|
-
.icon-search {
|
|
204
|
-
position: relative;
|
|
205
|
-
top: 2px;
|
|
206
|
-
color: #b5bac5;
|
|
207
|
-
font-size: 16px !important;
|
|
208
|
-
width: 16px !important;
|
|
209
|
-
}
|
|
210
|
-
.search-input {
|
|
211
|
-
padding-left: 6px;
|
|
212
|
-
border: none;
|
|
213
|
-
width: 196px;
|
|
214
|
-
outline: none;
|
|
215
|
-
fill: none;
|
|
216
|
-
box-shadow: none !important;
|
|
217
|
-
}
|
|
218
|
-
`;
|
|
219
|
-
export const FlowHandlerSelectWrapper = `
|
|
220
|
-
margin: 0 -12px;
|
|
221
|
-
padding: 9px 10px;
|
|
222
|
-
.icon-arrow-down {
|
|
223
|
-
position: relative;
|
|
224
|
-
top: 2px;
|
|
225
|
-
color: #b5bac5;
|
|
226
|
-
font-size: 16px !important;
|
|
227
|
-
width: 16px !important;
|
|
228
|
-
}
|
|
229
|
-
.select-input {
|
|
230
|
-
border: none;
|
|
231
|
-
display: inline-block;
|
|
232
|
-
width: 196px;
|
|
233
|
-
outline: none;
|
|
234
|
-
fill: none;
|
|
235
|
-
box-shadow: none;
|
|
236
|
-
&:focus {
|
|
237
|
-
box-shadow: none;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
.select-input::placeholder {
|
|
241
|
-
color: #b5bac5;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
`;
|
|
245
|
-
export const FlowHandlerSelectMessage = `
|
|
246
|
-
margin: 0 -12px;
|
|
247
|
-
padding: 6px 12px;
|
|
248
|
-
display: flex;
|
|
249
|
-
font-size: 12px;
|
|
250
|
-
color: #091940;
|
|
251
|
-
border-bottom: 1px solid #f1f2f4;
|
|
252
|
-
|
|
253
|
-
span:nth-child(1) {
|
|
254
|
-
position: relative;
|
|
255
|
-
color: #0C62FF;
|
|
256
|
-
cursor: pointer;
|
|
257
|
-
&:hover {
|
|
258
|
-
color: #091940;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
&:after {
|
|
262
|
-
content: '';
|
|
263
|
-
position: absolute;
|
|
264
|
-
height: 14px;
|
|
265
|
-
top: 2px;
|
|
266
|
-
right: -10px;
|
|
267
|
-
border-right: 1px solid #f1f2f4;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
span:nth-child(2) {
|
|
271
|
-
padding-left: 18px;
|
|
272
|
-
flex: 1;
|
|
273
|
-
|
|
274
|
-
}
|
|
275
|
-
span:nth-child(3) {
|
|
276
|
-
color: #0c62ff;
|
|
277
|
-
cursor: pointer;
|
|
278
|
-
&:hover {
|
|
279
|
-
color: #091940;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
`;
|
|
283
|
-
export const FlowHandlerSelectContent = `
|
|
284
|
-
min-height: 200px;
|
|
285
|
-
max-height: 200px;
|
|
286
|
-
overflow-y: auto;
|
|
287
|
-
margin: 0 -12px;
|
|
288
|
-
.loading {
|
|
289
|
-
height: 200px !important;
|
|
290
|
-
}
|
|
291
|
-
`;
|
|
292
|
-
export const FlowHandlerSelectItem = `
|
|
293
|
-
position: relative;
|
|
294
|
-
margin: 0 4px;
|
|
295
|
-
padding: 5px 12px;
|
|
296
|
-
font-size: 14px;
|
|
297
|
-
color: #091940;
|
|
298
|
-
cursor: pointer;
|
|
299
|
-
border-radius: 4px;
|
|
300
|
-
|
|
301
|
-
.icon-done {
|
|
302
|
-
position: absolute;
|
|
303
|
-
top: 10px;
|
|
304
|
-
right: 14px;
|
|
305
|
-
width: 12px;
|
|
306
|
-
height: 12px;
|
|
307
|
-
color: #0C62FF;
|
|
308
|
-
scale: 1.2;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
&:hover {
|
|
312
|
-
background-color: #f1f2f4;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
&.active {
|
|
316
|
-
background-color: #E6F3FF;
|
|
317
|
-
font-weight: 600;
|
|
318
|
-
}
|
|
319
|
-
`;
|
|
320
|
-
export const FlowHandlerSubmitWrapper = `
|
|
321
|
-
border-top: 1px solid #f1f2f4;
|
|
322
|
-
padding: 6px 6px 6px 0;
|
|
323
|
-
margin: 0 -12px -12px -12px;
|
|
324
|
-
text-align: right;
|
|
2
|
+
export const readViewWrapper = `
|
|
3
|
+
display: -webkit-box;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
min-width: 62px;
|
|
7
|
+
height: 22px;
|
|
8
|
+
padding: 0 8px;
|
|
9
|
+
font-size: 12px;
|
|
10
|
+
font-weight: 600;
|
|
11
|
+
line-height: 22px;
|
|
12
|
+
text-align: center;
|
|
13
|
+
border-radius: 4px;
|
|
14
|
+
`;
|
|
15
|
+
export const workflowContentStyle = `
|
|
16
|
+
max-width: 200px;
|
|
17
|
+
text-align: left;
|
|
18
|
+
`;
|
|
19
|
+
export const statePopoverStyle = (antPrefix) => `
|
|
20
|
+
z-index: 999 !important;
|
|
21
|
+
|
|
22
|
+
div.${antPrefix}-popover-inner-content, div.${antPrefix}-popover-inner {
|
|
23
|
+
padding: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
div.${antPrefix}-popover-arrow {
|
|
27
|
+
background: transparent;
|
|
28
|
+
border-style: none;
|
|
29
|
+
border-width: 0;
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
32
|
+
export const flowNextStyle = `
|
|
33
|
+
max-height: 260px;
|
|
34
|
+
padding-top: 10px;
|
|
35
|
+
overflow: auto;
|
|
36
|
+
margin: -12px;
|
|
37
|
+
`;
|
|
38
|
+
export const flowWrapperStyle = `
|
|
39
|
+
padding: 4px 0;
|
|
40
|
+
`;
|
|
41
|
+
export const flowStateStyle = `
|
|
42
|
+
min-width: ${statusCellMinWidth};
|
|
43
|
+
height: 24px;
|
|
44
|
+
padding: 0 18px 0 8px;
|
|
45
|
+
font-size: 12px;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
line-height: 24px;
|
|
48
|
+
color: #fff;
|
|
49
|
+
text-align: center;
|
|
50
|
+
background: #cdcdcd;
|
|
51
|
+
border-radius: 4px;
|
|
52
|
+
box-shadow: none !important;
|
|
53
|
+
|
|
54
|
+
span {
|
|
55
|
+
text-decoration: none !important;
|
|
56
|
+
}
|
|
57
|
+
`;
|
|
58
|
+
export const flowStateInWorkflowStyle = `
|
|
59
|
+
&.status-btn:not(.add-weights) {
|
|
60
|
+
min-width: ${statusCellMinWidth};
|
|
61
|
+
height: 22px;
|
|
62
|
+
padding: 0 8px;
|
|
63
|
+
font-size: 12px;
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
line-height: 22px;
|
|
66
|
+
color: #fff;
|
|
67
|
+
text-align: center;
|
|
68
|
+
background: #cdcdcd;
|
|
69
|
+
border-radius: 4px;
|
|
70
|
+
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
}
|
|
75
|
+
`;
|
|
76
|
+
export const flowStateButtonStyle = `
|
|
77
|
+
&:not(.add-weights) > span {
|
|
78
|
+
display: -webkit-box;
|
|
79
|
+
}
|
|
80
|
+
`;
|
|
81
|
+
export const stateBtnStyle = `
|
|
82
|
+
height: 22px;
|
|
83
|
+
line-height: 22px;
|
|
84
|
+
`;
|
|
85
|
+
export const noStateStyle = `
|
|
86
|
+
color: ${fieldLabelColor};
|
|
87
|
+
background: ${themeBgColorBase};
|
|
88
|
+
`;
|
|
89
|
+
export const caretDownStyle = `
|
|
90
|
+
padding-left: 2px;
|
|
91
|
+
margin-left: 0;
|
|
92
|
+
line-height: 10px;
|
|
93
|
+
`;
|
|
94
|
+
export const statusViewGlobalStyle = `
|
|
95
|
+
.field-layout.status-view {
|
|
96
|
+
position: relative;
|
|
97
|
+
padding: 10px;
|
|
98
|
+
margin: -12px;
|
|
99
|
+
margin-top: 10px;
|
|
100
|
+
font-size: 12px;
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
border-top: 1px solid #ddd;
|
|
103
|
+
width: auto;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.field-layout.status-view .status-view-watch {
|
|
107
|
+
width: 12px;
|
|
108
|
+
height: 12px;
|
|
109
|
+
margin-right: 5px;
|
|
110
|
+
font-size: 12px;
|
|
111
|
+
vertical-align: middle;
|
|
112
|
+
}
|
|
113
|
+
`;
|
|
114
|
+
export const tipLineStyle = `
|
|
115
|
+
margin-bottom: 0;
|
|
116
|
+
`;
|
|
117
|
+
export const tooltipStyle = `
|
|
118
|
+
width: 98px;
|
|
119
|
+
`;
|
|
120
|
+
export const iconStyle = `
|
|
121
|
+
padding: 0 6px;
|
|
122
|
+
color: ${gray7};
|
|
123
|
+
`;
|
|
124
|
+
export const stateBoxStyle = `
|
|
125
|
+
display: flex;
|
|
126
|
+
width: 98px;
|
|
127
|
+
|
|
128
|
+
span {
|
|
129
|
+
padding-right: 8px;
|
|
130
|
+
}
|
|
131
|
+
`;
|
|
132
|
+
export const flowBtnStyle = `
|
|
133
|
+
display: flex;
|
|
134
|
+
padding: 5px 10px;
|
|
135
|
+
margin: 0;
|
|
136
|
+
|
|
137
|
+
&:hover {
|
|
138
|
+
background-color: var(--select-item-selected-bg, #e6f3ff);
|
|
139
|
+
}
|
|
140
|
+
`;
|
|
141
|
+
export const notAllowedStyle = `
|
|
142
|
+
cursor: not-allowed;
|
|
143
|
+
opacity: 0.3;
|
|
144
|
+
`;
|
|
145
|
+
export const pointerStyle = `
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
`;
|
|
148
|
+
export const spinStyle = `
|
|
149
|
+
width: 150px;
|
|
150
|
+
height: 50px;
|
|
151
|
+
`;
|
|
152
|
+
export const noPermissionStyle = `
|
|
153
|
+
display: block;
|
|
154
|
+
width: 120px;
|
|
155
|
+
padding: 20px 10px 10px;
|
|
156
|
+
font-size: 12px;
|
|
157
|
+
color: #2e405e;
|
|
158
|
+
`;
|
|
159
|
+
export const overflowStyle = `
|
|
160
|
+
display: flex;
|
|
161
|
+
margin-top: 4px;
|
|
162
|
+
`;
|
|
163
|
+
export const overflowStyleText = `
|
|
164
|
+
font-size: 13px;
|
|
165
|
+
line-height: 24px;
|
|
166
|
+
color: ${gray7};
|
|
167
|
+
flex: 1;
|
|
168
|
+
`;
|
|
169
|
+
export const headerFlowStyle = `
|
|
170
|
+
text-align: right;
|
|
171
|
+
`;
|
|
172
|
+
export const headerStateStyle = `
|
|
173
|
+
& > span {
|
|
174
|
+
display: inline-block !important;
|
|
175
|
+
}
|
|
176
|
+
`;
|
|
177
|
+
export const FlowHandlerWrapper = `
|
|
178
|
+
width: 216px;
|
|
179
|
+
`;
|
|
180
|
+
export const FlowHandlerHeader = `
|
|
181
|
+
position: relative;
|
|
182
|
+
font-size: 14px;
|
|
183
|
+
text-align: center;
|
|
184
|
+
line-height: 22px;
|
|
185
|
+
margin-top: -6px;
|
|
186
|
+
.back-wrapper {
|
|
187
|
+
position: absolute;
|
|
188
|
+
left: 0;
|
|
189
|
+
top: 0;
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
}
|
|
192
|
+
.icon-back {
|
|
193
|
+
font-size: 16px !important;
|
|
194
|
+
width: 16px !important;
|
|
195
|
+
}
|
|
196
|
+
`;
|
|
197
|
+
export const FlowHandlerSearchWrapper = `
|
|
198
|
+
margin: 0 -12px;
|
|
199
|
+
padding: 5px 10px;
|
|
200
|
+
border-top: 1px solid #f1f2f4;
|
|
201
|
+
border-bottom: 1px solid #f1f2f4;
|
|
202
|
+
|
|
203
|
+
.icon-search {
|
|
204
|
+
position: relative;
|
|
205
|
+
top: 2px;
|
|
206
|
+
color: #b5bac5;
|
|
207
|
+
font-size: 16px !important;
|
|
208
|
+
width: 16px !important;
|
|
209
|
+
}
|
|
210
|
+
.search-input {
|
|
211
|
+
padding-left: 6px;
|
|
212
|
+
border: none;
|
|
213
|
+
width: 196px;
|
|
214
|
+
outline: none;
|
|
215
|
+
fill: none;
|
|
216
|
+
box-shadow: none !important;
|
|
217
|
+
}
|
|
218
|
+
`;
|
|
219
|
+
export const FlowHandlerSelectWrapper = `
|
|
220
|
+
margin: 0 -12px;
|
|
221
|
+
padding: 9px 10px;
|
|
222
|
+
.icon-arrow-down {
|
|
223
|
+
position: relative;
|
|
224
|
+
top: 2px;
|
|
225
|
+
color: #b5bac5;
|
|
226
|
+
font-size: 16px !important;
|
|
227
|
+
width: 16px !important;
|
|
228
|
+
}
|
|
229
|
+
.select-input {
|
|
230
|
+
border: none;
|
|
231
|
+
display: inline-block;
|
|
232
|
+
width: 196px;
|
|
233
|
+
outline: none;
|
|
234
|
+
fill: none;
|
|
235
|
+
box-shadow: none;
|
|
236
|
+
&:focus {
|
|
237
|
+
box-shadow: none;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
.select-input::placeholder {
|
|
241
|
+
color: #b5bac5;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
`;
|
|
245
|
+
export const FlowHandlerSelectMessage = `
|
|
246
|
+
margin: 0 -12px;
|
|
247
|
+
padding: 6px 12px;
|
|
248
|
+
display: flex;
|
|
249
|
+
font-size: 12px;
|
|
250
|
+
color: #091940;
|
|
251
|
+
border-bottom: 1px solid #f1f2f4;
|
|
252
|
+
|
|
253
|
+
span:nth-child(1) {
|
|
254
|
+
position: relative;
|
|
255
|
+
color: #0C62FF;
|
|
256
|
+
cursor: pointer;
|
|
257
|
+
&:hover {
|
|
258
|
+
color: #091940;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&:after {
|
|
262
|
+
content: '';
|
|
263
|
+
position: absolute;
|
|
264
|
+
height: 14px;
|
|
265
|
+
top: 2px;
|
|
266
|
+
right: -10px;
|
|
267
|
+
border-right: 1px solid #f1f2f4;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
span:nth-child(2) {
|
|
271
|
+
padding-left: 18px;
|
|
272
|
+
flex: 1;
|
|
273
|
+
|
|
274
|
+
}
|
|
275
|
+
span:nth-child(3) {
|
|
276
|
+
color: #0c62ff;
|
|
277
|
+
cursor: pointer;
|
|
278
|
+
&:hover {
|
|
279
|
+
color: #091940;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
`;
|
|
283
|
+
export const FlowHandlerSelectContent = `
|
|
284
|
+
min-height: 200px;
|
|
285
|
+
max-height: 200px;
|
|
286
|
+
overflow-y: auto;
|
|
287
|
+
margin: 0 -12px;
|
|
288
|
+
.loading {
|
|
289
|
+
height: 200px !important;
|
|
290
|
+
}
|
|
291
|
+
`;
|
|
292
|
+
export const FlowHandlerSelectItem = `
|
|
293
|
+
position: relative;
|
|
294
|
+
margin: 0 4px;
|
|
295
|
+
padding: 5px 12px;
|
|
296
|
+
font-size: 14px;
|
|
297
|
+
color: #091940;
|
|
298
|
+
cursor: pointer;
|
|
299
|
+
border-radius: 4px;
|
|
300
|
+
|
|
301
|
+
.icon-done {
|
|
302
|
+
position: absolute;
|
|
303
|
+
top: 10px;
|
|
304
|
+
right: 14px;
|
|
305
|
+
width: 12px;
|
|
306
|
+
height: 12px;
|
|
307
|
+
color: #0C62FF;
|
|
308
|
+
scale: 1.2;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
&:hover {
|
|
312
|
+
background-color: #f1f2f4;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
&.active {
|
|
316
|
+
background-color: #E6F3FF;
|
|
317
|
+
font-weight: 600;
|
|
318
|
+
}
|
|
319
|
+
`;
|
|
320
|
+
export const FlowHandlerSubmitWrapper = `
|
|
321
|
+
border-top: 1px solid #f1f2f4;
|
|
322
|
+
padding: 6px 6px 6px 0;
|
|
323
|
+
margin: 0 -12px -12px -12px;
|
|
324
|
+
text-align: right;
|
|
325
325
|
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export const baseTagStyle = `
|
|
2
|
-
max-width: 6em;
|
|
3
|
-
height: 22px;
|
|
4
|
-
white-space: normal;
|
|
5
|
-
vertical-align: middle;
|
|
1
|
+
export const baseTagStyle = `
|
|
2
|
+
max-width: 6em;
|
|
3
|
+
height: 22px;
|
|
4
|
+
white-space: normal;
|
|
5
|
+
vertical-align: middle;
|
|
6
6
|
`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { gray6, gray9 } from '../../../../style/common';
|
|
2
|
-
export const userDisabledStyle = `
|
|
3
|
-
color: ${gray6};
|
|
2
|
+
export const userDisabledStyle = `
|
|
3
|
+
color: ${gray6};
|
|
4
4
|
`;
|
|
5
|
-
export const userDeletedStyle = `
|
|
6
|
-
text-decoration: line-through;
|
|
5
|
+
export const userDeletedStyle = `
|
|
6
|
+
text-decoration: line-through;
|
|
7
7
|
`;
|
|
8
|
-
export const usernameStyle = `
|
|
9
|
-
font-size: 14px;
|
|
10
|
-
line-height: 20px;
|
|
11
|
-
color: ${gray9};
|
|
8
|
+
export const usernameStyle = `
|
|
9
|
+
font-size: 14px;
|
|
10
|
+
line-height: 20px;
|
|
11
|
+
color: ${gray9};
|
|
12
12
|
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export const fieldCellGlobalStyle = `
|
|
2
|
-
.field-cell-layout {
|
|
3
|
-
align-items: center;
|
|
4
|
-
width: 100%;
|
|
5
|
-
}
|
|
1
|
+
export const fieldCellGlobalStyle = `
|
|
2
|
+
.field-cell-layout {
|
|
3
|
+
align-items: center;
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
6
|
`;
|