@things-factory/worklist 6.0.146 → 6.0.150
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/client/pages/activity/activity-list-page.ts +25 -23
- package/client/pages/activity/starter-list-page.ts +4 -4
- package/client/pages/todo/approval-done-list-page.ts +6 -5
- package/client/pages/todo/approval-pending-list-page.ts +12 -10
- package/client/pages/todo/done-list-page.ts +8 -7
- package/client/pages/todo/draft-list-page.ts +4 -4
- package/client/pages/todo/pickable-list-page.ts +3 -3
- package/client/pages/todo/todo-list-page.ts +9 -7
- package/dist-client/pages/activity/activity-list-page.js +25 -23
- package/dist-client/pages/activity/activity-list-page.js.map +1 -1
- package/dist-client/pages/activity/starter-list-page.js +4 -4
- package/dist-client/pages/activity/starter-list-page.js.map +1 -1
- package/dist-client/pages/todo/approval-done-list-page.js +6 -5
- package/dist-client/pages/todo/approval-done-list-page.js.map +1 -1
- package/dist-client/pages/todo/approval-pending-list-page.js +12 -10
- package/dist-client/pages/todo/approval-pending-list-page.js.map +1 -1
- package/dist-client/pages/todo/done-list-page.js +8 -7
- package/dist-client/pages/todo/done-list-page.js.map +1 -1
- package/dist-client/pages/todo/draft-list-page.js +4 -4
- package/dist-client/pages/todo/draft-list-page.js.map +1 -1
- package/dist-client/pages/todo/pickable-list-page.js +3 -3
- package/dist-client/pages/todo/pickable-list-page.js.map +1 -1
- package/dist-client/pages/todo/todo-list-page.js +9 -7
- package/dist-client/pages/todo/todo-list-page.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -175,7 +175,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
175
175
|
},
|
|
176
176
|
filter: 'search',
|
|
177
177
|
sortable: true,
|
|
178
|
-
width:
|
|
178
|
+
width: 175
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
type: 'string',
|
|
@@ -185,7 +185,17 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
185
185
|
editable: true
|
|
186
186
|
},
|
|
187
187
|
filter: 'search',
|
|
188
|
-
width:
|
|
188
|
+
width: 225
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
type: 'approval-line',
|
|
192
|
+
name: 'approvalLine',
|
|
193
|
+
header: i18next.t('field.approval-line'),
|
|
194
|
+
record: {
|
|
195
|
+
editable: true,
|
|
196
|
+
align: 'center'
|
|
197
|
+
},
|
|
198
|
+
width: 60
|
|
189
199
|
},
|
|
190
200
|
{
|
|
191
201
|
type: 'select',
|
|
@@ -196,7 +206,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
196
206
|
options: ActivityStatus
|
|
197
207
|
},
|
|
198
208
|
filter: true,
|
|
199
|
-
width:
|
|
209
|
+
width: 75
|
|
200
210
|
},
|
|
201
211
|
{
|
|
202
212
|
type: 'select',
|
|
@@ -208,7 +218,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
208
218
|
options: ActivityTypes
|
|
209
219
|
},
|
|
210
220
|
sortable: true,
|
|
211
|
-
width:
|
|
221
|
+
width: 75
|
|
212
222
|
},
|
|
213
223
|
{
|
|
214
224
|
type: 'select',
|
|
@@ -220,7 +230,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
220
230
|
options: ActivityStartingTypes
|
|
221
231
|
},
|
|
222
232
|
sortable: true,
|
|
223
|
-
width:
|
|
233
|
+
width: 75
|
|
224
234
|
},
|
|
225
235
|
{
|
|
226
236
|
type: 'select',
|
|
@@ -235,7 +245,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
235
245
|
{ display: 'Sequential', value: 'sequential' }
|
|
236
246
|
]
|
|
237
247
|
},
|
|
238
|
-
width:
|
|
248
|
+
width: 90
|
|
239
249
|
},
|
|
240
250
|
{
|
|
241
251
|
type: 'activity-search-keys',
|
|
@@ -245,7 +255,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
245
255
|
record: {
|
|
246
256
|
editable: true
|
|
247
257
|
},
|
|
248
|
-
width:
|
|
258
|
+
width: 60
|
|
249
259
|
},
|
|
250
260
|
{
|
|
251
261
|
type: 'number',
|
|
@@ -253,13 +263,14 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
253
263
|
header: i18next.t('field.priority'),
|
|
254
264
|
record: {
|
|
255
265
|
editable: true,
|
|
266
|
+
align: 'center',
|
|
256
267
|
renderer: function (value, column, record, rowIndex, field) {
|
|
257
268
|
const color = ['', 'gray', 'yellow', 'orange', 'red'][value || 0]
|
|
258
269
|
const count = new Array(value > 4 ? 4 : value || 0).fill('')
|
|
259
270
|
return html`${count.map(() => html`<mwc-icon style="color:${color};">star</mwc-icon>`)}`
|
|
260
271
|
}
|
|
261
272
|
},
|
|
262
|
-
width:
|
|
273
|
+
width: 75
|
|
263
274
|
},
|
|
264
275
|
{
|
|
265
276
|
type: 'crontab',
|
|
@@ -303,7 +314,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
303
314
|
}
|
|
304
315
|
},
|
|
305
316
|
filter: 'search',
|
|
306
|
-
width:
|
|
317
|
+
width: 85
|
|
307
318
|
},
|
|
308
319
|
{
|
|
309
320
|
type: 'resource-object',
|
|
@@ -317,7 +328,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
317
328
|
}
|
|
318
329
|
},
|
|
319
330
|
filter: 'search',
|
|
320
|
-
width:
|
|
331
|
+
width: 85
|
|
321
332
|
},
|
|
322
333
|
{
|
|
323
334
|
type: 'resource-object',
|
|
@@ -331,7 +342,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
331
342
|
}
|
|
332
343
|
},
|
|
333
344
|
filter: 'search',
|
|
334
|
-
width:
|
|
345
|
+
width: 85
|
|
335
346
|
},
|
|
336
347
|
{
|
|
337
348
|
type: 'assignees',
|
|
@@ -340,16 +351,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
340
351
|
record: {
|
|
341
352
|
editable: true
|
|
342
353
|
},
|
|
343
|
-
width:
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
type: 'approval-line',
|
|
347
|
-
name: 'approvalLine',
|
|
348
|
-
header: i18next.t('field.approval-line'),
|
|
349
|
-
record: {
|
|
350
|
-
editable: true
|
|
351
|
-
},
|
|
352
|
-
width: 50
|
|
354
|
+
width: 80
|
|
353
355
|
},
|
|
354
356
|
{
|
|
355
357
|
type: 'select',
|
|
@@ -443,7 +445,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
443
445
|
editable: true
|
|
444
446
|
},
|
|
445
447
|
sortable: true,
|
|
446
|
-
width:
|
|
448
|
+
width: 105
|
|
447
449
|
},
|
|
448
450
|
{
|
|
449
451
|
type: 'resource-object',
|
|
@@ -453,7 +455,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
453
455
|
editable: false
|
|
454
456
|
},
|
|
455
457
|
sortable: true,
|
|
456
|
-
width:
|
|
458
|
+
width: 85
|
|
457
459
|
},
|
|
458
460
|
{
|
|
459
461
|
type: 'datetime',
|
|
@@ -147,14 +147,14 @@ export class StarterListPage extends connect(store)(localize(i18next)(PageView))
|
|
|
147
147
|
header: i18next.t('field.name'),
|
|
148
148
|
filter: 'search',
|
|
149
149
|
sortable: true,
|
|
150
|
-
width:
|
|
150
|
+
width: 375
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
type: 'string',
|
|
154
154
|
name: 'description',
|
|
155
155
|
header: i18next.t('field.description'),
|
|
156
156
|
filter: 'search',
|
|
157
|
-
width:
|
|
157
|
+
width: 400
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
type: 'select',
|
|
@@ -166,14 +166,14 @@ export class StarterListPage extends connect(store)(localize(i18next)(PageView))
|
|
|
166
166
|
options: ActivityStartingTypes
|
|
167
167
|
},
|
|
168
168
|
sortable: true,
|
|
169
|
-
width:
|
|
169
|
+
width: 90
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
type: 'resource-object',
|
|
173
173
|
name: 'updater',
|
|
174
174
|
header: i18next.t('field.updater'),
|
|
175
175
|
sortable: true,
|
|
176
|
-
width:
|
|
176
|
+
width: 90
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
type: 'datetime',
|
|
@@ -134,7 +134,7 @@ export class ApprovalDoneListPage extends connect(store)(localize(i18next)(PageV
|
|
|
134
134
|
},
|
|
135
135
|
filter: 'search',
|
|
136
136
|
sortable: true,
|
|
137
|
-
width:
|
|
137
|
+
width: 225
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
type: 'string',
|
|
@@ -144,7 +144,7 @@ export class ApprovalDoneListPage extends connect(store)(localize(i18next)(PageV
|
|
|
144
144
|
editable: false
|
|
145
145
|
},
|
|
146
146
|
filter: 'search',
|
|
147
|
-
width:
|
|
147
|
+
width: 275
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
type: 'number',
|
|
@@ -153,7 +153,7 @@ export class ApprovalDoneListPage extends connect(store)(localize(i18next)(PageV
|
|
|
153
153
|
record: {
|
|
154
154
|
editable: false
|
|
155
155
|
},
|
|
156
|
-
width:
|
|
156
|
+
width: 50
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
type: 'string',
|
|
@@ -181,7 +181,7 @@ export class ApprovalDoneListPage extends connect(store)(localize(i18next)(PageV
|
|
|
181
181
|
return html`${count.map(() => html`<mwc-icon style="color:gray;">star</mwc-icon>`)}`
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
|
-
width:
|
|
184
|
+
width: 75
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
type: 'select',
|
|
@@ -189,6 +189,7 @@ export class ApprovalDoneListPage extends connect(store)(localize(i18next)(PageV
|
|
|
189
189
|
header: i18next.t('field.judgment'),
|
|
190
190
|
record: {
|
|
191
191
|
editable: false,
|
|
192
|
+
align: 'center',
|
|
192
193
|
options: [
|
|
193
194
|
{ display: i18next.t('label.activity-state-rejected'), value: 'rejected' },
|
|
194
195
|
{ display: i18next.t('label.activity-state-escalated'), value: 'escalated' },
|
|
@@ -206,7 +207,7 @@ export class ApprovalDoneListPage extends connect(store)(localize(i18next)(PageV
|
|
|
206
207
|
record: {
|
|
207
208
|
editable: false
|
|
208
209
|
},
|
|
209
|
-
width:
|
|
210
|
+
width: 200
|
|
210
211
|
},
|
|
211
212
|
{
|
|
212
213
|
type: 'datetime',
|
|
@@ -135,7 +135,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
135
135
|
},
|
|
136
136
|
filter: 'search',
|
|
137
137
|
sortable: true,
|
|
138
|
-
width:
|
|
138
|
+
width: 250
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
type: 'string',
|
|
@@ -145,7 +145,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
145
145
|
editable: false
|
|
146
146
|
},
|
|
147
147
|
filter: 'search',
|
|
148
|
-
width:
|
|
148
|
+
width: 275
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
type: 'string',
|
|
@@ -168,22 +168,24 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
168
168
|
header: i18next.t('field.priority'),
|
|
169
169
|
record: {
|
|
170
170
|
editable: false,
|
|
171
|
+
align: 'center',
|
|
171
172
|
renderer: function (value, column, record, rowIndex, field) {
|
|
172
173
|
const color = ['', 'gray', 'yellow', 'orange', 'red'][value || 0]
|
|
173
174
|
const count = new Array(value > 4 ? 4 : value || 0).fill('')
|
|
174
175
|
return html`${count.map(() => html`<mwc-icon style="color:${color};">star</mwc-icon>`)}`
|
|
175
176
|
}
|
|
176
177
|
},
|
|
177
|
-
width:
|
|
178
|
+
width: 70
|
|
178
179
|
},
|
|
179
180
|
{
|
|
180
181
|
type: 'number',
|
|
181
182
|
name: 'round',
|
|
182
183
|
header: i18next.t('field.round'),
|
|
183
184
|
record: {
|
|
184
|
-
editable: false
|
|
185
|
+
editable: false,
|
|
186
|
+
align: 'right'
|
|
185
187
|
},
|
|
186
|
-
width:
|
|
188
|
+
width: 50
|
|
187
189
|
},
|
|
188
190
|
{
|
|
189
191
|
type: 'select',
|
|
@@ -196,7 +198,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
196
198
|
{ display: i18next.t('label.activity-state-escalated'), value: 'escalated' }
|
|
197
199
|
]
|
|
198
200
|
},
|
|
199
|
-
width:
|
|
201
|
+
width: 85
|
|
200
202
|
},
|
|
201
203
|
{
|
|
202
204
|
type: 'datetime',
|
|
@@ -210,7 +212,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
210
212
|
day: 'numeric'
|
|
211
213
|
}
|
|
212
214
|
},
|
|
213
|
-
width:
|
|
215
|
+
width: 180
|
|
214
216
|
},
|
|
215
217
|
{
|
|
216
218
|
type: 'string',
|
|
@@ -223,7 +225,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
223
225
|
}
|
|
224
226
|
},
|
|
225
227
|
sortable: false,
|
|
226
|
-
width:
|
|
228
|
+
width: 180
|
|
227
229
|
},
|
|
228
230
|
{
|
|
229
231
|
type: 'resource-object',
|
|
@@ -233,7 +235,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
233
235
|
editable: false
|
|
234
236
|
},
|
|
235
237
|
sortable: true,
|
|
236
|
-
width:
|
|
238
|
+
width: 85
|
|
237
239
|
},
|
|
238
240
|
{
|
|
239
241
|
type: 'resource-object',
|
|
@@ -243,7 +245,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
243
245
|
editable: false
|
|
244
246
|
},
|
|
245
247
|
sortable: true,
|
|
246
|
-
width:
|
|
248
|
+
width: 85
|
|
247
249
|
},
|
|
248
250
|
{
|
|
249
251
|
type: 'datetime',
|
|
@@ -133,7 +133,7 @@ export class DoneListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
133
133
|
},
|
|
134
134
|
filter: 'search',
|
|
135
135
|
sortable: true,
|
|
136
|
-
width:
|
|
136
|
+
width: 225
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
type: 'string',
|
|
@@ -143,7 +143,7 @@ export class DoneListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
143
143
|
editable: false
|
|
144
144
|
},
|
|
145
145
|
filter: 'search',
|
|
146
|
-
width:
|
|
146
|
+
width: 275
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
type: 'string',
|
|
@@ -166,12 +166,13 @@ export class DoneListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
166
166
|
header: i18next.t('field.priority'),
|
|
167
167
|
record: {
|
|
168
168
|
editable: false,
|
|
169
|
+
align: 'center',
|
|
169
170
|
renderer: function (value, column, record, rowIndex, field) {
|
|
170
171
|
const count = new Array(value > 4 ? 4 : value || 0).fill('')
|
|
171
172
|
return html`${count.map(() => html`<mwc-icon style="color:gray;">star</mwc-icon>`)}`
|
|
172
173
|
}
|
|
173
174
|
},
|
|
174
|
-
width:
|
|
175
|
+
width: 75
|
|
175
176
|
},
|
|
176
177
|
{
|
|
177
178
|
type: 'select',
|
|
@@ -206,7 +207,7 @@ export class DoneListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
206
207
|
}
|
|
207
208
|
},
|
|
208
209
|
sortable: true,
|
|
209
|
-
width:
|
|
210
|
+
width: 180
|
|
210
211
|
},
|
|
211
212
|
{
|
|
212
213
|
type: 'datetime',
|
|
@@ -216,7 +217,7 @@ export class DoneListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
216
217
|
editable: false
|
|
217
218
|
},
|
|
218
219
|
sortable: true,
|
|
219
|
-
width:
|
|
220
|
+
width: 180
|
|
220
221
|
},
|
|
221
222
|
{
|
|
222
223
|
type: 'datetime',
|
|
@@ -226,7 +227,7 @@ export class DoneListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
226
227
|
editable: false
|
|
227
228
|
},
|
|
228
229
|
sortable: true,
|
|
229
|
-
width:
|
|
230
|
+
width: 180
|
|
230
231
|
},
|
|
231
232
|
{
|
|
232
233
|
type: 'resource-object',
|
|
@@ -236,7 +237,7 @@ export class DoneListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
236
237
|
editable: false
|
|
237
238
|
},
|
|
238
239
|
sortable: true,
|
|
239
|
-
width:
|
|
240
|
+
width: 85
|
|
240
241
|
},
|
|
241
242
|
{
|
|
242
243
|
type: 'datetime',
|
|
@@ -132,7 +132,7 @@ export class DraftListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
132
132
|
},
|
|
133
133
|
filter: 'search',
|
|
134
134
|
sortable: true,
|
|
135
|
-
width:
|
|
135
|
+
width: 375
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
type: 'string',
|
|
@@ -142,7 +142,7 @@ export class DraftListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
142
142
|
editable: false
|
|
143
143
|
},
|
|
144
144
|
filter: 'search',
|
|
145
|
-
width:
|
|
145
|
+
width: 400
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
type: 'select',
|
|
@@ -154,7 +154,7 @@ export class DraftListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
154
154
|
options: ActivityStartingTypes
|
|
155
155
|
},
|
|
156
156
|
sortable: true,
|
|
157
|
-
width:
|
|
157
|
+
width: 90
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
type: 'select',
|
|
@@ -174,7 +174,7 @@ export class DraftListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
174
174
|
{ display: i18next.t('label.activity-state-aborted'), value: 'aborted' }
|
|
175
175
|
]
|
|
176
176
|
},
|
|
177
|
-
width:
|
|
177
|
+
width: 85
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
type: 'datetime',
|
|
@@ -142,7 +142,7 @@ export class PickableListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
142
142
|
},
|
|
143
143
|
filter: 'search',
|
|
144
144
|
sortable: true,
|
|
145
|
-
width:
|
|
145
|
+
width: 225
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
type: 'string',
|
|
@@ -152,7 +152,7 @@ export class PickableListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
152
152
|
editable: false
|
|
153
153
|
},
|
|
154
154
|
filter: 'search',
|
|
155
|
-
width:
|
|
155
|
+
width: 275
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
type: 'string',
|
|
@@ -177,7 +177,7 @@ export class PickableListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
177
177
|
editable: false
|
|
178
178
|
},
|
|
179
179
|
sortable: true,
|
|
180
|
-
width:
|
|
180
|
+
width: 85
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
type: 'datetime',
|
|
@@ -142,7 +142,7 @@ export class TodoListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
142
142
|
},
|
|
143
143
|
filter: 'search',
|
|
144
144
|
sortable: true,
|
|
145
|
-
width:
|
|
145
|
+
width: 250
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
type: 'string',
|
|
@@ -152,7 +152,7 @@ export class TodoListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
152
152
|
editable: false
|
|
153
153
|
},
|
|
154
154
|
filter: 'search',
|
|
155
|
-
width:
|
|
155
|
+
width: 275
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
type: 'string',
|
|
@@ -175,13 +175,14 @@ export class TodoListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
175
175
|
header: i18next.t('field.priority'),
|
|
176
176
|
record: {
|
|
177
177
|
editable: false,
|
|
178
|
+
align: 'center',
|
|
178
179
|
renderer: function (value, column, record, rowIndex, field) {
|
|
179
180
|
const color = ['', 'gray', 'yellow', 'orange', 'red'][value || 0]
|
|
180
181
|
const count = new Array(value > 4 ? 4 : value || 0).fill('')
|
|
181
182
|
return html`${count.map(() => html`<mwc-icon style="color:${color};">star</mwc-icon>`)}`
|
|
182
183
|
}
|
|
183
184
|
},
|
|
184
|
-
width:
|
|
185
|
+
width: 70
|
|
185
186
|
},
|
|
186
187
|
{
|
|
187
188
|
type: 'select',
|
|
@@ -189,6 +190,7 @@ export class TodoListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
189
190
|
header: i18next.t('field.status'),
|
|
190
191
|
record: {
|
|
191
192
|
editable: false,
|
|
193
|
+
align: 'center',
|
|
192
194
|
options: [
|
|
193
195
|
{ display: i18next.t('label.activity-state-assigned'), value: 'assigned' },
|
|
194
196
|
{ display: i18next.t('label.activity-state-started'), value: 'started' },
|
|
@@ -200,7 +202,7 @@ export class TodoListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
200
202
|
{ display: i18next.t('label.activity-state-aborted'), value: 'aborted' }
|
|
201
203
|
]
|
|
202
204
|
},
|
|
203
|
-
width:
|
|
205
|
+
width: 85
|
|
204
206
|
},
|
|
205
207
|
{
|
|
206
208
|
type: 'datetime',
|
|
@@ -215,7 +217,7 @@ export class TodoListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
215
217
|
}
|
|
216
218
|
},
|
|
217
219
|
sortable: true,
|
|
218
|
-
width:
|
|
220
|
+
width: 180
|
|
219
221
|
},
|
|
220
222
|
{
|
|
221
223
|
type: 'string',
|
|
@@ -228,7 +230,7 @@ export class TodoListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
228
230
|
}
|
|
229
231
|
},
|
|
230
232
|
sortable: false,
|
|
231
|
-
width:
|
|
233
|
+
width: 180
|
|
232
234
|
},
|
|
233
235
|
{
|
|
234
236
|
type: 'resource-object',
|
|
@@ -238,7 +240,7 @@ export class TodoListPage extends connect(store)(localize(i18next)(PageView)) {
|
|
|
238
240
|
editable: false
|
|
239
241
|
},
|
|
240
242
|
sortable: true,
|
|
241
|
-
width:
|
|
243
|
+
width: 85
|
|
242
244
|
},
|
|
243
245
|
{
|
|
244
246
|
type: 'datetime',
|
|
@@ -147,7 +147,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
147
147
|
},
|
|
148
148
|
filter: 'search',
|
|
149
149
|
sortable: true,
|
|
150
|
-
width:
|
|
150
|
+
width: 175
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
type: 'string',
|
|
@@ -157,7 +157,17 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
157
157
|
editable: true
|
|
158
158
|
},
|
|
159
159
|
filter: 'search',
|
|
160
|
-
width:
|
|
160
|
+
width: 225
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
type: 'approval-line',
|
|
164
|
+
name: 'approvalLine',
|
|
165
|
+
header: i18next.t('field.approval-line'),
|
|
166
|
+
record: {
|
|
167
|
+
editable: true,
|
|
168
|
+
align: 'center'
|
|
169
|
+
},
|
|
170
|
+
width: 60
|
|
161
171
|
},
|
|
162
172
|
{
|
|
163
173
|
type: 'select',
|
|
@@ -168,7 +178,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
168
178
|
options: ActivityStatus
|
|
169
179
|
},
|
|
170
180
|
filter: true,
|
|
171
|
-
width:
|
|
181
|
+
width: 75
|
|
172
182
|
},
|
|
173
183
|
{
|
|
174
184
|
type: 'select',
|
|
@@ -180,7 +190,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
180
190
|
options: ActivityTypes
|
|
181
191
|
},
|
|
182
192
|
sortable: true,
|
|
183
|
-
width:
|
|
193
|
+
width: 75
|
|
184
194
|
},
|
|
185
195
|
{
|
|
186
196
|
type: 'select',
|
|
@@ -192,7 +202,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
192
202
|
options: ActivityStartingTypes
|
|
193
203
|
},
|
|
194
204
|
sortable: true,
|
|
195
|
-
width:
|
|
205
|
+
width: 75
|
|
196
206
|
},
|
|
197
207
|
{
|
|
198
208
|
type: 'select',
|
|
@@ -207,7 +217,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
207
217
|
{ display: 'Sequential', value: 'sequential' }
|
|
208
218
|
]
|
|
209
219
|
},
|
|
210
|
-
width:
|
|
220
|
+
width: 90
|
|
211
221
|
},
|
|
212
222
|
{
|
|
213
223
|
type: 'activity-search-keys',
|
|
@@ -217,7 +227,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
217
227
|
record: {
|
|
218
228
|
editable: true
|
|
219
229
|
},
|
|
220
|
-
width:
|
|
230
|
+
width: 60
|
|
221
231
|
},
|
|
222
232
|
{
|
|
223
233
|
type: 'number',
|
|
@@ -225,13 +235,14 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
225
235
|
header: i18next.t('field.priority'),
|
|
226
236
|
record: {
|
|
227
237
|
editable: true,
|
|
238
|
+
align: 'center',
|
|
228
239
|
renderer: function (value, column, record, rowIndex, field) {
|
|
229
240
|
const color = ['', 'gray', 'yellow', 'orange', 'red'][value || 0];
|
|
230
241
|
const count = new Array(value > 4 ? 4 : value || 0).fill('');
|
|
231
242
|
return html `${count.map(() => html `<mwc-icon style="color:${color};">star</mwc-icon>`)}`;
|
|
232
243
|
}
|
|
233
244
|
},
|
|
234
|
-
width:
|
|
245
|
+
width: 75
|
|
235
246
|
},
|
|
236
247
|
{
|
|
237
248
|
type: 'crontab',
|
|
@@ -275,7 +286,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
275
286
|
}
|
|
276
287
|
},
|
|
277
288
|
filter: 'search',
|
|
278
|
-
width:
|
|
289
|
+
width: 85
|
|
279
290
|
},
|
|
280
291
|
{
|
|
281
292
|
type: 'resource-object',
|
|
@@ -289,7 +300,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
289
300
|
}
|
|
290
301
|
},
|
|
291
302
|
filter: 'search',
|
|
292
|
-
width:
|
|
303
|
+
width: 85
|
|
293
304
|
},
|
|
294
305
|
{
|
|
295
306
|
type: 'resource-object',
|
|
@@ -303,7 +314,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
303
314
|
}
|
|
304
315
|
},
|
|
305
316
|
filter: 'search',
|
|
306
|
-
width:
|
|
317
|
+
width: 85
|
|
307
318
|
},
|
|
308
319
|
{
|
|
309
320
|
type: 'assignees',
|
|
@@ -312,16 +323,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
312
323
|
record: {
|
|
313
324
|
editable: true
|
|
314
325
|
},
|
|
315
|
-
width:
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
type: 'approval-line',
|
|
319
|
-
name: 'approvalLine',
|
|
320
|
-
header: i18next.t('field.approval-line'),
|
|
321
|
-
record: {
|
|
322
|
-
editable: true
|
|
323
|
-
},
|
|
324
|
-
width: 50
|
|
326
|
+
width: 80
|
|
325
327
|
},
|
|
326
328
|
{
|
|
327
329
|
type: 'select',
|
|
@@ -415,7 +417,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
415
417
|
editable: true
|
|
416
418
|
},
|
|
417
419
|
sortable: true,
|
|
418
|
-
width:
|
|
420
|
+
width: 105
|
|
419
421
|
},
|
|
420
422
|
{
|
|
421
423
|
type: 'resource-object',
|
|
@@ -425,7 +427,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
425
427
|
editable: false
|
|
426
428
|
},
|
|
427
429
|
sortable: true,
|
|
428
|
-
width:
|
|
430
|
+
width: 85
|
|
429
431
|
},
|
|
430
432
|
{
|
|
431
433
|
type: 'datetime',
|