@things-factory/dataset 6.2.71 → 6.2.72

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.
@@ -86,6 +86,8 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
86
86
 
87
87
  --grid-record-emphasized-background-color: red;
88
88
  --grid-record-emphasized-color: yellow;
89
+
90
+ --grid-header-padding: 2px 0 2px 9px;
89
91
  }
90
92
 
91
93
  ox-grist {
@@ -355,7 +357,7 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
355
357
  objectified: true /* transfered as a object type */
356
358
  }
357
359
  },
358
- width: 50
360
+ width: 80
359
361
  },
360
362
  {
361
363
  type: 'select',
@@ -419,7 +421,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
419
421
  {
420
422
  type: 'resource-object',
421
423
  name: 'supervisoryRole',
422
- header: i18next.t('field.supervisory-role'),
424
+ header: {
425
+ renderer: i18next.t('field.supervisory-role'),
426
+ group: i18next.t('field.role')
427
+ },
423
428
  record: {
424
429
  editable: true,
425
430
  options: {
@@ -433,7 +438,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
433
438
  {
434
439
  type: 'resource-object',
435
440
  name: 'entryRole',
436
- header: i18next.t('field.entry-role'),
441
+ header: {
442
+ renderer: i18next.t('field.entry-role'),
443
+ group: i18next.t('field.role')
444
+ },
437
445
  record: {
438
446
  editable: true,
439
447
  options: {
@@ -446,35 +454,47 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
446
454
  {
447
455
  type: 'assignees',
448
456
  name: 'assignees',
449
- header: i18next.t('field.assignees'),
457
+ header: {
458
+ renderer: i18next.t('field.assignees'),
459
+ group: i18next.t('field.role')
460
+ },
450
461
  record: {
451
462
  editable: true
452
463
  },
453
- width: 50
464
+ width: 80
454
465
  },
455
466
  {
456
467
  type: 'approval-line',
457
468
  name: 'reviewApprovalLine',
458
- header: i18next.t('field.review-approval-line'),
469
+ header: {
470
+ renderer: i18next.t('field.review-approval-line'),
471
+ group: i18next.t('field.role')
472
+ },
459
473
  record: {
460
474
  editable: true
461
475
  },
462
- width: 50
476
+ width: 80
463
477
  },
464
478
  {
465
479
  type: 'approval-line',
466
480
  name: 'outlierApprovalLine',
467
- header: i18next.t('field.outlier-approval-line'),
481
+ header: {
482
+ renderer: i18next.t('field.outlier-approval-line'),
483
+ group: i18next.t('field.role')
484
+ },
468
485
  record: {
469
486
  editable: true
470
487
  },
471
- width: 50
488
+ width: 80
472
489
  },
473
490
  {
474
491
  type: 'checkbox',
475
492
  name: 'requiresReview',
476
493
  label: true,
477
- header: i18next.t('field.requires-review'),
494
+ header: {
495
+ renderer: i18next.t('field.requires-review'),
496
+ group: i18next.t('field.role')
497
+ },
478
498
  record: {
479
499
  editable: true
480
500
  },
@@ -492,7 +512,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
492
512
  type: 'select',
493
513
  name: 'entryType',
494
514
  label: true,
495
- header: i18next.t('field.entry-type'),
515
+ header: {
516
+ renderer: i18next.t('field.entry-type'),
517
+ group: i18next.t('field.view')
518
+ },
496
519
  record: {
497
520
  editable: true,
498
521
  options: ENTRY_TYPES
@@ -502,7 +525,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
502
525
  {
503
526
  type: 'string',
504
527
  name: 'entryView',
505
- header: i18next.t('field.entry-view'),
528
+ header: {
529
+ renderer: i18next.t('field.entry-view'),
530
+ group: i18next.t('field.view')
531
+ },
506
532
  record: {
507
533
  editable: true,
508
534
  editor: function (value, column, record, rowIndex, field) {
@@ -520,7 +546,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
520
546
  type: 'select',
521
547
  name: 'monitorType',
522
548
  label: true,
523
- header: i18next.t('field.monitor-type'),
549
+ header: {
550
+ renderer: i18next.t('field.monitor-type'),
551
+ group: i18next.t('field.view')
552
+ },
524
553
  record: {
525
554
  editable: true,
526
555
  options: MONITOR_TYPES
@@ -530,7 +559,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
530
559
  {
531
560
  type: 'string',
532
561
  name: 'monitorView',
533
- header: i18next.t('field.monitor-view'),
562
+ header: {
563
+ renderer: i18next.t('field.monitor-view'),
564
+ group: i18next.t('field.view')
565
+ },
534
566
  record: {
535
567
  editable: true,
536
568
  editor: function (value, column, record, rowIndex, field) {
@@ -548,7 +580,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
548
580
  type: 'select',
549
581
  name: 'reportType',
550
582
  label: true,
551
- header: i18next.t('field.report-type'),
583
+ header: {
584
+ renderer: i18next.t('field.report-type'),
585
+ group: i18next.t('field.view')
586
+ },
552
587
  record: {
553
588
  editable: true,
554
589
  options: REPORT_TYPES
@@ -558,7 +593,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
558
593
  {
559
594
  type: 'string',
560
595
  name: 'reportView',
561
- header: i18next.t('field.report-view'),
596
+ header: {
597
+ renderer: i18next.t('field.report-view'),
598
+ group: i18next.t('field.view')
599
+ },
562
600
  record: {
563
601
  editable: true,
564
602
  editor: function (value, column, record, rowIndex, field) {
@@ -575,7 +613,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
575
613
  {
576
614
  type: 'file',
577
615
  name: 'reportTemplate',
578
- header: i18next.t('field.report-template'),
616
+ header: {
617
+ renderer: i18next.t('field.report-template'),
618
+ group: i18next.t('field.view')
619
+ },
579
620
  record: {
580
621
  editable: true
581
622
  },
@@ -29,6 +29,8 @@ export class DataSummaryListPage extends connect(store)(localize(i18next)(PageVi
29
29
 
30
30
  --grid-record-emphasized-background-color: red;
31
31
  --grid-record-emphasized-color: yellow;
32
+
33
+ --grid-header-padding: 2px 0 2px 9px;
32
34
  }
33
35
  `
34
36
  ]
@@ -164,111 +166,37 @@ export class DataSummaryListPage extends connect(store)(localize(i18next)(PageVi
164
166
  width: 60,
165
167
  imex: true
166
168
  },
167
- {
168
- type: 'string',
169
- name: 'key01',
170
- header: i18next.t('field.key-01'),
171
- record: {
172
- editable: false
173
- },
174
- sortable: true,
175
- width: 120,
176
- imex: true
177
- },
178
- {
179
- type: 'string',
180
- name: 'key02',
181
- header: i18next.t('field.key-02'),
182
- record: {
183
- editable: false
184
- },
185
- sortable: true,
186
- width: 120,
187
- imex: true
188
- },
189
- {
190
- type: 'string',
191
- name: 'key03',
192
- header: i18next.t('field.key-03'),
193
- record: {
194
- editable: false
195
- },
196
- sortable: true,
197
- width: 120,
198
- imex: true
199
- },
200
- {
201
- type: 'string',
202
- name: 'key04',
203
- header: i18next.t('field.key-04'),
204
- record: {
205
- editable: false
206
- },
207
- sortable: true,
208
- width: 120,
209
- imex: true
210
- },
211
- {
212
- type: 'string',
213
- name: 'key05',
214
- header: i18next.t('field.key-05'),
215
- record: {
216
- editable: false
217
- },
218
- sortable: true,
219
- width: 120,
220
- imex: true
221
- },
222
- {
223
- type: 'number',
224
- name: 'data01',
225
- header: i18next.t('field.data-01'),
226
- record: {
227
- editable: false
228
- },
229
- width: 120,
230
- imex: true
231
- },
232
- {
233
- type: 'number',
234
- name: 'data02',
235
- header: i18next.t('field.data-02'),
236
- record: {
237
- editable: false
238
- },
239
- width: 120,
240
- imex: true
241
- },
242
- {
243
- type: 'number',
244
- name: 'data03',
245
- header: i18next.t('field.data-03'),
246
- record: {
247
- editable: false
248
- },
249
- width: 120,
250
- imex: true
251
- },
252
- {
253
- type: 'number',
254
- name: 'data04',
255
- header: i18next.t('field.data-04'),
256
- record: {
257
- editable: false
258
- },
259
- width: 120,
260
- imex: true
261
- },
262
- {
263
- type: 'number',
264
- name: 'data05',
265
- header: i18next.t('field.data-05'),
266
- record: {
267
- editable: false
268
- },
269
- width: 120,
270
- imex: true
271
- },
169
+ ...Array.from({ length: 5 }, (_, idx) => {
170
+ return {
171
+ type: 'string',
172
+ name: `key0${idx + 1}`,
173
+ header: {
174
+ renderer: i18next.t(`field.key-0${idx + 1}`),
175
+ group: i18next.t('field.key')
176
+ },
177
+ record: {
178
+ editable: false
179
+ },
180
+ width: 120,
181
+ imex: true
182
+ }
183
+ }),
184
+ ...Array.from({ length: 5 }, (_, idx) => {
185
+ return {
186
+ type: 'number',
187
+ name: `data0${idx + 1}`,
188
+ header: {
189
+ renderer: i18next.t(`field.data-0${idx + 1}`),
190
+ group: i18next.t('field.data')
191
+ },
192
+ record: {
193
+ editable: false,
194
+ align: 'right'
195
+ },
196
+ width: 120,
197
+ imex: true
198
+ }
199
+ }),
272
200
  {
273
201
  type: 'number',
274
202
  name: 'count',
@@ -321,7 +321,7 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
321
321
  objectified: true /* transfered as a object type */
322
322
  }
323
323
  },
324
- width: 50
324
+ width: 80
325
325
  },
326
326
  {
327
327
  type: 'select',
@@ -385,7 +385,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
385
385
  {
386
386
  type: 'resource-object',
387
387
  name: 'supervisoryRole',
388
- header: i18next.t('field.supervisory-role'),
388
+ header: {
389
+ renderer: i18next.t('field.supervisory-role'),
390
+ group: i18next.t('field.role')
391
+ },
389
392
  record: {
390
393
  editable: true,
391
394
  options: {
@@ -399,7 +402,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
399
402
  {
400
403
  type: 'resource-object',
401
404
  name: 'entryRole',
402
- header: i18next.t('field.entry-role'),
405
+ header: {
406
+ renderer: i18next.t('field.entry-role'),
407
+ group: i18next.t('field.role')
408
+ },
403
409
  record: {
404
410
  editable: true,
405
411
  options: {
@@ -412,35 +418,47 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
412
418
  {
413
419
  type: 'assignees',
414
420
  name: 'assignees',
415
- header: i18next.t('field.assignees'),
421
+ header: {
422
+ renderer: i18next.t('field.assignees'),
423
+ group: i18next.t('field.role')
424
+ },
416
425
  record: {
417
426
  editable: true
418
427
  },
419
- width: 50
428
+ width: 80
420
429
  },
421
430
  {
422
431
  type: 'approval-line',
423
432
  name: 'reviewApprovalLine',
424
- header: i18next.t('field.review-approval-line'),
433
+ header: {
434
+ renderer: i18next.t('field.review-approval-line'),
435
+ group: i18next.t('field.role')
436
+ },
425
437
  record: {
426
438
  editable: true
427
439
  },
428
- width: 50
440
+ width: 80
429
441
  },
430
442
  {
431
443
  type: 'approval-line',
432
444
  name: 'outlierApprovalLine',
433
- header: i18next.t('field.outlier-approval-line'),
445
+ header: {
446
+ renderer: i18next.t('field.outlier-approval-line'),
447
+ group: i18next.t('field.role')
448
+ },
434
449
  record: {
435
450
  editable: true
436
451
  },
437
- width: 50
452
+ width: 80
438
453
  },
439
454
  {
440
455
  type: 'checkbox',
441
456
  name: 'requiresReview',
442
457
  label: true,
443
- header: i18next.t('field.requires-review'),
458
+ header: {
459
+ renderer: i18next.t('field.requires-review'),
460
+ group: i18next.t('field.role')
461
+ },
444
462
  record: {
445
463
  editable: true
446
464
  },
@@ -458,7 +476,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
458
476
  type: 'select',
459
477
  name: 'entryType',
460
478
  label: true,
461
- header: i18next.t('field.entry-type'),
479
+ header: {
480
+ renderer: i18next.t('field.entry-type'),
481
+ group: i18next.t('field.view')
482
+ },
462
483
  record: {
463
484
  editable: true,
464
485
  options: ENTRY_TYPES
@@ -468,7 +489,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
468
489
  {
469
490
  type: 'string',
470
491
  name: 'entryView',
471
- header: i18next.t('field.entry-view'),
492
+ header: {
493
+ renderer: i18next.t('field.entry-view'),
494
+ group: i18next.t('field.view')
495
+ },
472
496
  record: {
473
497
  editable: true,
474
498
  editor: function (value, column, record, rowIndex, field) {
@@ -486,7 +510,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
486
510
  type: 'select',
487
511
  name: 'monitorType',
488
512
  label: true,
489
- header: i18next.t('field.monitor-type'),
513
+ header: {
514
+ renderer: i18next.t('field.monitor-type'),
515
+ group: i18next.t('field.view')
516
+ },
490
517
  record: {
491
518
  editable: true,
492
519
  options: MONITOR_TYPES
@@ -496,7 +523,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
496
523
  {
497
524
  type: 'string',
498
525
  name: 'monitorView',
499
- header: i18next.t('field.monitor-view'),
526
+ header: {
527
+ renderer: i18next.t('field.monitor-view'),
528
+ group: i18next.t('field.view')
529
+ },
500
530
  record: {
501
531
  editable: true,
502
532
  editor: function (value, column, record, rowIndex, field) {
@@ -514,7 +544,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
514
544
  type: 'select',
515
545
  name: 'reportType',
516
546
  label: true,
517
- header: i18next.t('field.report-type'),
547
+ header: {
548
+ renderer: i18next.t('field.report-type'),
549
+ group: i18next.t('field.view')
550
+ },
518
551
  record: {
519
552
  editable: true,
520
553
  options: REPORT_TYPES
@@ -524,7 +557,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
524
557
  {
525
558
  type: 'string',
526
559
  name: 'reportView',
527
- header: i18next.t('field.report-view'),
560
+ header: {
561
+ renderer: i18next.t('field.report-view'),
562
+ group: i18next.t('field.view')
563
+ },
528
564
  record: {
529
565
  editable: true,
530
566
  editor: function (value, column, record, rowIndex, field) {
@@ -541,7 +577,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
541
577
  {
542
578
  type: 'file',
543
579
  name: 'reportTemplate',
544
- header: i18next.t('field.report-template'),
580
+ header: {
581
+ renderer: i18next.t('field.report-template'),
582
+ group: i18next.t('field.view')
583
+ },
545
584
  record: {
546
585
  editable: true
547
586
  },
@@ -874,6 +913,8 @@ DataSetListPage.styles = [
874
913
 
875
914
  --grid-record-emphasized-background-color: red;
876
915
  --grid-record-emphasized-color: yellow;
916
+
917
+ --grid-header-padding: 2px 0 2px 9px;
877
918
  }
878
919
 
879
920
  ox-grist {