@things-factory/dataset 6.2.71 → 6.2.73

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 {
@@ -173,7 +175,7 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
173
175
  this.gristConfig = {
174
176
  list: {
175
177
  fields: ['name', 'description'],
176
- details: ['schedule', 'active']
178
+ details: ['schedule', 'active', 'tag']
177
179
  },
178
180
  columns: [
179
181
  { type: 'gutter', gutterName: 'sequence', fixed: true },
@@ -272,6 +274,22 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
272
274
  key: 'description'
273
275
  }
274
276
  },
277
+ {
278
+ type: 'string',
279
+ name: 'tag',
280
+ header: i18next.t('field.tag'),
281
+ record: {
282
+ editable: true
283
+ },
284
+ filter: 'search',
285
+ width: 120,
286
+ imex: {
287
+ width: 25,
288
+ header: i18next.t('field.tag'),
289
+ type: 'string',
290
+ key: 'tag'
291
+ }
292
+ },
275
293
  {
276
294
  type: 'checkbox',
277
295
  name: 'active',
@@ -355,7 +373,7 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
355
373
  objectified: true /* transfered as a object type */
356
374
  }
357
375
  },
358
- width: 50
376
+ width: 80
359
377
  },
360
378
  {
361
379
  type: 'select',
@@ -419,7 +437,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
419
437
  {
420
438
  type: 'resource-object',
421
439
  name: 'supervisoryRole',
422
- header: i18next.t('field.supervisory-role'),
440
+ header: {
441
+ renderer: i18next.t('field.supervisory-role'),
442
+ group: i18next.t('field.role')
443
+ },
423
444
  record: {
424
445
  editable: true,
425
446
  options: {
@@ -433,7 +454,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
433
454
  {
434
455
  type: 'resource-object',
435
456
  name: 'entryRole',
436
- header: i18next.t('field.entry-role'),
457
+ header: {
458
+ renderer: i18next.t('field.entry-role'),
459
+ group: i18next.t('field.role')
460
+ },
437
461
  record: {
438
462
  editable: true,
439
463
  options: {
@@ -446,35 +470,47 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
446
470
  {
447
471
  type: 'assignees',
448
472
  name: 'assignees',
449
- header: i18next.t('field.assignees'),
473
+ header: {
474
+ renderer: i18next.t('field.assignees'),
475
+ group: i18next.t('field.role')
476
+ },
450
477
  record: {
451
478
  editable: true
452
479
  },
453
- width: 50
480
+ width: 80
454
481
  },
455
482
  {
456
483
  type: 'approval-line',
457
484
  name: 'reviewApprovalLine',
458
- header: i18next.t('field.review-approval-line'),
485
+ header: {
486
+ renderer: i18next.t('field.review-approval-line'),
487
+ group: i18next.t('field.role')
488
+ },
459
489
  record: {
460
490
  editable: true
461
491
  },
462
- width: 50
492
+ width: 80
463
493
  },
464
494
  {
465
495
  type: 'approval-line',
466
496
  name: 'outlierApprovalLine',
467
- header: i18next.t('field.outlier-approval-line'),
497
+ header: {
498
+ renderer: i18next.t('field.outlier-approval-line'),
499
+ group: i18next.t('field.role')
500
+ },
468
501
  record: {
469
502
  editable: true
470
503
  },
471
- width: 50
504
+ width: 80
472
505
  },
473
506
  {
474
507
  type: 'checkbox',
475
508
  name: 'requiresReview',
476
509
  label: true,
477
- header: i18next.t('field.requires-review'),
510
+ header: {
511
+ renderer: i18next.t('field.requires-review'),
512
+ group: i18next.t('field.role')
513
+ },
478
514
  record: {
479
515
  editable: true
480
516
  },
@@ -492,7 +528,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
492
528
  type: 'select',
493
529
  name: 'entryType',
494
530
  label: true,
495
- header: i18next.t('field.entry-type'),
531
+ header: {
532
+ renderer: i18next.t('field.entry-type'),
533
+ group: i18next.t('field.view')
534
+ },
496
535
  record: {
497
536
  editable: true,
498
537
  options: ENTRY_TYPES
@@ -502,7 +541,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
502
541
  {
503
542
  type: 'string',
504
543
  name: 'entryView',
505
- header: i18next.t('field.entry-view'),
544
+ header: {
545
+ renderer: i18next.t('field.entry-view'),
546
+ group: i18next.t('field.view')
547
+ },
506
548
  record: {
507
549
  editable: true,
508
550
  editor: function (value, column, record, rowIndex, field) {
@@ -520,7 +562,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
520
562
  type: 'select',
521
563
  name: 'monitorType',
522
564
  label: true,
523
- header: i18next.t('field.monitor-type'),
565
+ header: {
566
+ renderer: i18next.t('field.monitor-type'),
567
+ group: i18next.t('field.view')
568
+ },
524
569
  record: {
525
570
  editable: true,
526
571
  options: MONITOR_TYPES
@@ -530,7 +575,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
530
575
  {
531
576
  type: 'string',
532
577
  name: 'monitorView',
533
- header: i18next.t('field.monitor-view'),
578
+ header: {
579
+ renderer: i18next.t('field.monitor-view'),
580
+ group: i18next.t('field.view')
581
+ },
534
582
  record: {
535
583
  editable: true,
536
584
  editor: function (value, column, record, rowIndex, field) {
@@ -548,7 +596,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
548
596
  type: 'select',
549
597
  name: 'reportType',
550
598
  label: true,
551
- header: i18next.t('field.report-type'),
599
+ header: {
600
+ renderer: i18next.t('field.report-type'),
601
+ group: i18next.t('field.view')
602
+ },
552
603
  record: {
553
604
  editable: true,
554
605
  options: REPORT_TYPES
@@ -558,7 +609,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
558
609
  {
559
610
  type: 'string',
560
611
  name: 'reportView',
561
- header: i18next.t('field.report-view'),
612
+ header: {
613
+ renderer: i18next.t('field.report-view'),
614
+ group: i18next.t('field.view')
615
+ },
562
616
  record: {
563
617
  editable: true,
564
618
  editor: function (value, column, record, rowIndex, field) {
@@ -575,7 +629,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
575
629
  {
576
630
  type: 'file',
577
631
  name: 'reportTemplate',
578
- header: i18next.t('field.report-template'),
632
+ header: {
633
+ renderer: i18next.t('field.report-template'),
634
+ group: i18next.t('field.view')
635
+ },
579
636
  record: {
580
637
  editable: true
581
638
  },
@@ -623,6 +680,7 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
623
680
  id
624
681
  name
625
682
  description
683
+ tag
626
684
  partitionKeys
627
685
  active
628
686
  type
@@ -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',
@@ -140,7 +140,7 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
140
140
  this.gristConfig = {
141
141
  list: {
142
142
  fields: ['name', 'description'],
143
- details: ['schedule', 'active']
143
+ details: ['schedule', 'active', 'tag']
144
144
  },
145
145
  columns: [
146
146
  { type: 'gutter', gutterName: 'sequence', fixed: true },
@@ -238,6 +238,22 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
238
238
  key: 'description'
239
239
  }
240
240
  },
241
+ {
242
+ type: 'string',
243
+ name: 'tag',
244
+ header: i18next.t('field.tag'),
245
+ record: {
246
+ editable: true
247
+ },
248
+ filter: 'search',
249
+ width: 120,
250
+ imex: {
251
+ width: 25,
252
+ header: i18next.t('field.tag'),
253
+ type: 'string',
254
+ key: 'tag'
255
+ }
256
+ },
241
257
  {
242
258
  type: 'checkbox',
243
259
  name: 'active',
@@ -321,7 +337,7 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
321
337
  objectified: true /* transfered as a object type */
322
338
  }
323
339
  },
324
- width: 50
340
+ width: 80
325
341
  },
326
342
  {
327
343
  type: 'select',
@@ -385,7 +401,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
385
401
  {
386
402
  type: 'resource-object',
387
403
  name: 'supervisoryRole',
388
- header: i18next.t('field.supervisory-role'),
404
+ header: {
405
+ renderer: i18next.t('field.supervisory-role'),
406
+ group: i18next.t('field.role')
407
+ },
389
408
  record: {
390
409
  editable: true,
391
410
  options: {
@@ -399,7 +418,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
399
418
  {
400
419
  type: 'resource-object',
401
420
  name: 'entryRole',
402
- header: i18next.t('field.entry-role'),
421
+ header: {
422
+ renderer: i18next.t('field.entry-role'),
423
+ group: i18next.t('field.role')
424
+ },
403
425
  record: {
404
426
  editable: true,
405
427
  options: {
@@ -412,35 +434,47 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
412
434
  {
413
435
  type: 'assignees',
414
436
  name: 'assignees',
415
- header: i18next.t('field.assignees'),
437
+ header: {
438
+ renderer: i18next.t('field.assignees'),
439
+ group: i18next.t('field.role')
440
+ },
416
441
  record: {
417
442
  editable: true
418
443
  },
419
- width: 50
444
+ width: 80
420
445
  },
421
446
  {
422
447
  type: 'approval-line',
423
448
  name: 'reviewApprovalLine',
424
- header: i18next.t('field.review-approval-line'),
449
+ header: {
450
+ renderer: i18next.t('field.review-approval-line'),
451
+ group: i18next.t('field.role')
452
+ },
425
453
  record: {
426
454
  editable: true
427
455
  },
428
- width: 50
456
+ width: 80
429
457
  },
430
458
  {
431
459
  type: 'approval-line',
432
460
  name: 'outlierApprovalLine',
433
- header: i18next.t('field.outlier-approval-line'),
461
+ header: {
462
+ renderer: i18next.t('field.outlier-approval-line'),
463
+ group: i18next.t('field.role')
464
+ },
434
465
  record: {
435
466
  editable: true
436
467
  },
437
- width: 50
468
+ width: 80
438
469
  },
439
470
  {
440
471
  type: 'checkbox',
441
472
  name: 'requiresReview',
442
473
  label: true,
443
- header: i18next.t('field.requires-review'),
474
+ header: {
475
+ renderer: i18next.t('field.requires-review'),
476
+ group: i18next.t('field.role')
477
+ },
444
478
  record: {
445
479
  editable: true
446
480
  },
@@ -458,7 +492,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
458
492
  type: 'select',
459
493
  name: 'entryType',
460
494
  label: true,
461
- header: i18next.t('field.entry-type'),
495
+ header: {
496
+ renderer: i18next.t('field.entry-type'),
497
+ group: i18next.t('field.view')
498
+ },
462
499
  record: {
463
500
  editable: true,
464
501
  options: ENTRY_TYPES
@@ -468,7 +505,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
468
505
  {
469
506
  type: 'string',
470
507
  name: 'entryView',
471
- header: i18next.t('field.entry-view'),
508
+ header: {
509
+ renderer: i18next.t('field.entry-view'),
510
+ group: i18next.t('field.view')
511
+ },
472
512
  record: {
473
513
  editable: true,
474
514
  editor: function (value, column, record, rowIndex, field) {
@@ -486,7 +526,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
486
526
  type: 'select',
487
527
  name: 'monitorType',
488
528
  label: true,
489
- header: i18next.t('field.monitor-type'),
529
+ header: {
530
+ renderer: i18next.t('field.monitor-type'),
531
+ group: i18next.t('field.view')
532
+ },
490
533
  record: {
491
534
  editable: true,
492
535
  options: MONITOR_TYPES
@@ -496,7 +539,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
496
539
  {
497
540
  type: 'string',
498
541
  name: 'monitorView',
499
- header: i18next.t('field.monitor-view'),
542
+ header: {
543
+ renderer: i18next.t('field.monitor-view'),
544
+ group: i18next.t('field.view')
545
+ },
500
546
  record: {
501
547
  editable: true,
502
548
  editor: function (value, column, record, rowIndex, field) {
@@ -514,7 +560,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
514
560
  type: 'select',
515
561
  name: 'reportType',
516
562
  label: true,
517
- header: i18next.t('field.report-type'),
563
+ header: {
564
+ renderer: i18next.t('field.report-type'),
565
+ group: i18next.t('field.view')
566
+ },
518
567
  record: {
519
568
  editable: true,
520
569
  options: REPORT_TYPES
@@ -524,7 +573,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
524
573
  {
525
574
  type: 'string',
526
575
  name: 'reportView',
527
- header: i18next.t('field.report-view'),
576
+ header: {
577
+ renderer: i18next.t('field.report-view'),
578
+ group: i18next.t('field.view')
579
+ },
528
580
  record: {
529
581
  editable: true,
530
582
  editor: function (value, column, record, rowIndex, field) {
@@ -541,7 +593,10 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
541
593
  {
542
594
  type: 'file',
543
595
  name: 'reportTemplate',
544
- header: i18next.t('field.report-template'),
596
+ header: {
597
+ renderer: i18next.t('field.report-template'),
598
+ group: i18next.t('field.view')
599
+ },
545
600
  record: {
546
601
  editable: true
547
602
  },
@@ -588,6 +643,7 @@ let DataSetListPage = class DataSetListPage extends connect(store)(localize(i18n
588
643
  id
589
644
  name
590
645
  description
646
+ tag
591
647
  partitionKeys
592
648
  active
593
649
  type
@@ -874,6 +930,8 @@ DataSetListPage.styles = [
874
930
 
875
931
  --grid-record-emphasized-background-color: red;
876
932
  --grid-record-emphasized-color: yellow;
933
+
934
+ --grid-header-padding: 2px 0 2px 9px;
877
935
  }
878
936
 
879
937
  ox-grist {