@things-factory/worklist 6.0.145 → 6.0.149
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 +16 -14
- package/client/pages/activity/starter-list-page.ts +4 -4
- package/client/pages/activity-instance/activity-instance-start-page.ts +7 -4
- package/client/pages/todo/approval-done-list-page.ts +6 -5
- package/client/pages/todo/approval-pending-list-page.ts +10 -9
- 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 +16 -14
- 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/activity-instance/activity-instance-start-page.js +6 -4
- package/dist-client/pages/activity-instance/activity-instance-start-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 +10 -9
- 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 +2 -2
|
@@ -196,7 +196,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
196
196
|
options: ActivityStatus
|
|
197
197
|
},
|
|
198
198
|
filter: true,
|
|
199
|
-
width:
|
|
199
|
+
width: 70
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
type: 'select',
|
|
@@ -208,7 +208,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
208
208
|
options: ActivityTypes
|
|
209
209
|
},
|
|
210
210
|
sortable: true,
|
|
211
|
-
width:
|
|
211
|
+
width: 75
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
214
|
type: 'select',
|
|
@@ -220,7 +220,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
220
220
|
options: ActivityStartingTypes
|
|
221
221
|
},
|
|
222
222
|
sortable: true,
|
|
223
|
-
width:
|
|
223
|
+
width: 75
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
type: 'select',
|
|
@@ -235,7 +235,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
235
235
|
{ display: 'Sequential', value: 'sequential' }
|
|
236
236
|
]
|
|
237
237
|
},
|
|
238
|
-
width:
|
|
238
|
+
width: 90
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
241
|
type: 'activity-search-keys',
|
|
@@ -245,7 +245,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
245
245
|
record: {
|
|
246
246
|
editable: true
|
|
247
247
|
},
|
|
248
|
-
width:
|
|
248
|
+
width: 60
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
type: 'number',
|
|
@@ -253,13 +253,14 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
253
253
|
header: i18next.t('field.priority'),
|
|
254
254
|
record: {
|
|
255
255
|
editable: true,
|
|
256
|
+
align: 'center',
|
|
256
257
|
renderer: function (value, column, record, rowIndex, field) {
|
|
257
258
|
const color = ['', 'gray', 'yellow', 'orange', 'red'][value || 0]
|
|
258
259
|
const count = new Array(value > 4 ? 4 : value || 0).fill('')
|
|
259
260
|
return html`${count.map(() => html`<mwc-icon style="color:${color};">star</mwc-icon>`)}`
|
|
260
261
|
}
|
|
261
262
|
},
|
|
262
|
-
width:
|
|
263
|
+
width: 75
|
|
263
264
|
},
|
|
264
265
|
{
|
|
265
266
|
type: 'crontab',
|
|
@@ -303,7 +304,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
303
304
|
}
|
|
304
305
|
},
|
|
305
306
|
filter: 'search',
|
|
306
|
-
width:
|
|
307
|
+
width: 85
|
|
307
308
|
},
|
|
308
309
|
{
|
|
309
310
|
type: 'resource-object',
|
|
@@ -317,7 +318,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
317
318
|
}
|
|
318
319
|
},
|
|
319
320
|
filter: 'search',
|
|
320
|
-
width:
|
|
321
|
+
width: 85
|
|
321
322
|
},
|
|
322
323
|
{
|
|
323
324
|
type: 'resource-object',
|
|
@@ -331,7 +332,7 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
331
332
|
}
|
|
332
333
|
},
|
|
333
334
|
filter: 'search',
|
|
334
|
-
width:
|
|
335
|
+
width: 85
|
|
335
336
|
},
|
|
336
337
|
{
|
|
337
338
|
type: 'assignees',
|
|
@@ -340,16 +341,17 @@ export class ActivityListPage extends connect(store)(localize(i18next)(PageView)
|
|
|
340
341
|
record: {
|
|
341
342
|
editable: true
|
|
342
343
|
},
|
|
343
|
-
width:
|
|
344
|
+
width: 80
|
|
344
345
|
},
|
|
345
346
|
{
|
|
346
347
|
type: 'approval-line',
|
|
347
348
|
name: 'approvalLine',
|
|
348
349
|
header: i18next.t('field.approval-line'),
|
|
349
350
|
record: {
|
|
350
|
-
editable: true
|
|
351
|
+
editable: true,
|
|
352
|
+
align: 'center'
|
|
351
353
|
},
|
|
352
|
-
width:
|
|
354
|
+
width: 60
|
|
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: 300
|
|
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: 350
|
|
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',
|
|
@@ -206,7 +206,7 @@ export class ActivityInstanceStartPage extends connect(store)(localize(i18next)(
|
|
|
206
206
|
element.activityId = this.activityInstance.activity.id
|
|
207
207
|
element.input = input
|
|
208
208
|
element.output = output
|
|
209
|
-
|
|
209
|
+
|
|
210
210
|
element.addEventListener('change-input', (e: CustomEvent) => {
|
|
211
211
|
this.activityInstance.input = e.detail
|
|
212
212
|
})
|
|
@@ -222,6 +222,7 @@ export class ActivityInstanceStartPage extends connect(store)(localize(i18next)(
|
|
|
222
222
|
this.customHtmlElement = element
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
+
|
|
225
226
|
return this.customHtmlElement
|
|
226
227
|
}
|
|
227
228
|
|
|
@@ -251,10 +252,9 @@ export class ActivityInstanceStartPage extends connect(store)(localize(i18next)(
|
|
|
251
252
|
|
|
252
253
|
async pageUpdated(changes, lifecycle, changedBefore) {
|
|
253
254
|
if (this.active) {
|
|
254
|
-
if(lifecycle.resourceId != this.activityInstance?.id){
|
|
255
|
-
this.customHtmlElement = undefined
|
|
256
|
-
}
|
|
257
255
|
this.fetchActivityInstance(lifecycle.resourceId)
|
|
256
|
+
} else {
|
|
257
|
+
this.customHtmlElement = undefined;
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
|
|
@@ -308,6 +308,7 @@ export class ActivityInstanceStartPage extends connect(store)(localize(i18next)(
|
|
|
308
308
|
}
|
|
309
309
|
})
|
|
310
310
|
|
|
311
|
+
this.customHtmlElement = undefined
|
|
311
312
|
this.activityInstance = response.data.activityInstance
|
|
312
313
|
this.activity = this.activityInstance.activity
|
|
313
314
|
}
|
|
@@ -414,6 +415,7 @@ export class ActivityInstanceStartPage extends connect(store)(localize(i18next)(
|
|
|
414
415
|
})
|
|
415
416
|
|
|
416
417
|
if (!response.errors) {
|
|
418
|
+
this.customHtmlElement = undefined
|
|
417
419
|
this.activityInstance = response.data.draftActivityInstance
|
|
418
420
|
this.activity = this.activityInstance.activity
|
|
419
421
|
|
|
@@ -516,6 +518,7 @@ export class ActivityInstanceStartPage extends connect(store)(localize(i18next)(
|
|
|
516
518
|
})
|
|
517
519
|
|
|
518
520
|
if (!response.errors) {
|
|
521
|
+
this.customHtmlElement = undefined
|
|
519
522
|
this.activityInstance = response.data.issueActivityInstance
|
|
520
523
|
this.activity = this.activityInstance.activity
|
|
521
524
|
|
|
@@ -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: 225
|
|
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,13 +168,14 @@ 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: 75
|
|
178
179
|
},
|
|
179
180
|
{
|
|
180
181
|
type: 'number',
|
|
@@ -183,7 +184,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
183
184
|
record: {
|
|
184
185
|
editable: false
|
|
185
186
|
},
|
|
186
|
-
width:
|
|
187
|
+
width: 55
|
|
187
188
|
},
|
|
188
189
|
{
|
|
189
190
|
type: 'select',
|
|
@@ -196,7 +197,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
196
197
|
{ display: i18next.t('label.activity-state-escalated'), value: 'escalated' }
|
|
197
198
|
]
|
|
198
199
|
},
|
|
199
|
-
width:
|
|
200
|
+
width: 85
|
|
200
201
|
},
|
|
201
202
|
{
|
|
202
203
|
type: 'datetime',
|
|
@@ -210,7 +211,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
210
211
|
day: 'numeric'
|
|
211
212
|
}
|
|
212
213
|
},
|
|
213
|
-
width:
|
|
214
|
+
width: 180
|
|
214
215
|
},
|
|
215
216
|
{
|
|
216
217
|
type: 'string',
|
|
@@ -223,7 +224,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
223
224
|
}
|
|
224
225
|
},
|
|
225
226
|
sortable: false,
|
|
226
|
-
width:
|
|
227
|
+
width: 180
|
|
227
228
|
},
|
|
228
229
|
{
|
|
229
230
|
type: 'resource-object',
|
|
@@ -233,7 +234,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
233
234
|
editable: false
|
|
234
235
|
},
|
|
235
236
|
sortable: true,
|
|
236
|
-
width:
|
|
237
|
+
width: 85
|
|
237
238
|
},
|
|
238
239
|
{
|
|
239
240
|
type: 'resource-object',
|
|
@@ -243,7 +244,7 @@ export class ApprovalPendingListPage extends connect(store)(localize(i18next)(Pa
|
|
|
243
244
|
editable: false
|
|
244
245
|
},
|
|
245
246
|
sortable: true,
|
|
246
|
-
width:
|
|
247
|
+
width: 85
|
|
247
248
|
},
|
|
248
249
|
{
|
|
249
250
|
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: 300
|
|
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: 350
|
|
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: 225
|
|
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: 75
|
|
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',
|
|
@@ -168,7 +168,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
168
168
|
options: ActivityStatus
|
|
169
169
|
},
|
|
170
170
|
filter: true,
|
|
171
|
-
width:
|
|
171
|
+
width: 70
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
type: 'select',
|
|
@@ -180,7 +180,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
180
180
|
options: ActivityTypes
|
|
181
181
|
},
|
|
182
182
|
sortable: true,
|
|
183
|
-
width:
|
|
183
|
+
width: 75
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
type: 'select',
|
|
@@ -192,7 +192,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
192
192
|
options: ActivityStartingTypes
|
|
193
193
|
},
|
|
194
194
|
sortable: true,
|
|
195
|
-
width:
|
|
195
|
+
width: 75
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
type: 'select',
|
|
@@ -207,7 +207,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
207
207
|
{ display: 'Sequential', value: 'sequential' }
|
|
208
208
|
]
|
|
209
209
|
},
|
|
210
|
-
width:
|
|
210
|
+
width: 90
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
type: 'activity-search-keys',
|
|
@@ -217,7 +217,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
217
217
|
record: {
|
|
218
218
|
editable: true
|
|
219
219
|
},
|
|
220
|
-
width:
|
|
220
|
+
width: 60
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
type: 'number',
|
|
@@ -225,13 +225,14 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
225
225
|
header: i18next.t('field.priority'),
|
|
226
226
|
record: {
|
|
227
227
|
editable: true,
|
|
228
|
+
align: 'center',
|
|
228
229
|
renderer: function (value, column, record, rowIndex, field) {
|
|
229
230
|
const color = ['', 'gray', 'yellow', 'orange', 'red'][value || 0];
|
|
230
231
|
const count = new Array(value > 4 ? 4 : value || 0).fill('');
|
|
231
232
|
return html `${count.map(() => html `<mwc-icon style="color:${color};">star</mwc-icon>`)}`;
|
|
232
233
|
}
|
|
233
234
|
},
|
|
234
|
-
width:
|
|
235
|
+
width: 75
|
|
235
236
|
},
|
|
236
237
|
{
|
|
237
238
|
type: 'crontab',
|
|
@@ -275,7 +276,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
275
276
|
}
|
|
276
277
|
},
|
|
277
278
|
filter: 'search',
|
|
278
|
-
width:
|
|
279
|
+
width: 85
|
|
279
280
|
},
|
|
280
281
|
{
|
|
281
282
|
type: 'resource-object',
|
|
@@ -289,7 +290,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
289
290
|
}
|
|
290
291
|
},
|
|
291
292
|
filter: 'search',
|
|
292
|
-
width:
|
|
293
|
+
width: 85
|
|
293
294
|
},
|
|
294
295
|
{
|
|
295
296
|
type: 'resource-object',
|
|
@@ -303,7 +304,7 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
303
304
|
}
|
|
304
305
|
},
|
|
305
306
|
filter: 'search',
|
|
306
|
-
width:
|
|
307
|
+
width: 85
|
|
307
308
|
},
|
|
308
309
|
{
|
|
309
310
|
type: 'assignees',
|
|
@@ -312,16 +313,17 @@ let ActivityListPage = class ActivityListPage extends connect(store)(localize(i1
|
|
|
312
313
|
record: {
|
|
313
314
|
editable: true
|
|
314
315
|
},
|
|
315
|
-
width:
|
|
316
|
+
width: 80
|
|
316
317
|
},
|
|
317
318
|
{
|
|
318
319
|
type: 'approval-line',
|
|
319
320
|
name: 'approvalLine',
|
|
320
321
|
header: i18next.t('field.approval-line'),
|
|
321
322
|
record: {
|
|
322
|
-
editable: true
|
|
323
|
+
editable: true,
|
|
324
|
+
align: 'center'
|
|
323
325
|
},
|
|
324
|
-
width:
|
|
326
|
+
width: 60
|
|
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',
|