shadcn-data-views 1.0.3 → 1.0.5

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/dist/index.d.mts CHANGED
@@ -1,3 +1,159 @@
1
+ declare const PRESET_COLORS: readonly [{
2
+ readonly name: "Red";
3
+ readonly value: "red";
4
+ }, {
5
+ readonly name: "Blue";
6
+ readonly value: "blue";
7
+ }, {
8
+ readonly name: "Green";
9
+ readonly value: "green";
10
+ }, {
11
+ readonly name: "Yellow";
12
+ readonly value: "yellow";
13
+ }, {
14
+ readonly name: "Orange";
15
+ readonly value: "orange";
16
+ }, {
17
+ readonly name: "Purple";
18
+ readonly value: "purple";
19
+ }, {
20
+ readonly name: "Pink";
21
+ readonly value: "pink";
22
+ }, {
23
+ readonly name: "Brown";
24
+ readonly value: "brown";
25
+ }, {
26
+ readonly name: "Gray";
27
+ readonly value: "gray";
28
+ }, {
29
+ readonly name: "Black";
30
+ readonly value: "black";
31
+ }, {
32
+ readonly name: "White";
33
+ readonly value: "white";
34
+ }, {
35
+ readonly name: "Cyan";
36
+ readonly value: "cyan";
37
+ }, {
38
+ readonly name: "Magenta";
39
+ readonly value: "magenta";
40
+ }, {
41
+ readonly name: "Lime";
42
+ readonly value: "lime";
43
+ }, {
44
+ readonly name: "Indigo";
45
+ readonly value: "indigo";
46
+ }, {
47
+ readonly name: "Teal";
48
+ readonly value: "teal";
49
+ }, {
50
+ readonly name: "Violet";
51
+ readonly value: "violet";
52
+ }, {
53
+ readonly name: "Rose";
54
+ readonly value: "rose";
55
+ }, {
56
+ readonly name: "Fuchsia";
57
+ readonly value: "fuchsia";
58
+ }, {
59
+ readonly name: "Sky";
60
+ readonly value: "sky";
61
+ }, {
62
+ readonly name: "Emerald";
63
+ readonly value: "emerald";
64
+ }, {
65
+ readonly name: "Amber";
66
+ readonly value: "amber";
67
+ }, {
68
+ readonly name: "Slate";
69
+ readonly value: "slate";
70
+ }, {
71
+ readonly name: "Zinc";
72
+ readonly value: "zinc";
73
+ }, {
74
+ readonly name: "Stone";
75
+ readonly value: "stone";
76
+ }, {
77
+ readonly name: "Neutral";
78
+ readonly value: "neutral";
79
+ }, {
80
+ readonly name: "Crimson";
81
+ readonly value: "crimson";
82
+ }, {
83
+ readonly name: "Navy";
84
+ readonly value: "navy";
85
+ }, {
86
+ readonly name: "Maroon";
87
+ readonly value: "maroon";
88
+ }, {
89
+ readonly name: "Olive";
90
+ readonly value: "olive";
91
+ }, {
92
+ readonly name: "Coral";
93
+ readonly value: "coral";
94
+ }, {
95
+ readonly name: "Salmon";
96
+ readonly value: "salmon";
97
+ }, {
98
+ readonly name: "Gold";
99
+ readonly value: "gold";
100
+ }, {
101
+ readonly name: "Silver";
102
+ readonly value: "silver";
103
+ }, {
104
+ readonly name: "Turquoise";
105
+ readonly value: "turquoise";
106
+ }, {
107
+ readonly name: "Aqua";
108
+ readonly value: "aqua";
109
+ }, {
110
+ readonly name: "Mint";
111
+ readonly value: "mint";
112
+ }, {
113
+ readonly name: "Lavender";
114
+ readonly value: "lavender";
115
+ }, {
116
+ readonly name: "Peach";
117
+ readonly value: "peach";
118
+ }, {
119
+ readonly name: "Beige";
120
+ readonly value: "beige";
121
+ }, {
122
+ readonly name: "Ivory";
123
+ readonly value: "ivory";
124
+ }, {
125
+ readonly name: "Khaki";
126
+ readonly value: "khaki";
127
+ }, {
128
+ readonly name: "Plum";
129
+ readonly value: "plum";
130
+ }, {
131
+ readonly name: "Orchid";
132
+ readonly value: "orchid";
133
+ }, {
134
+ readonly name: "Tan";
135
+ readonly value: "tan";
136
+ }, {
137
+ readonly name: "Chocolate";
138
+ readonly value: "chocolate";
139
+ }, {
140
+ readonly name: "Sienna";
141
+ readonly value: "sienna";
142
+ }, {
143
+ readonly name: "Burgundy";
144
+ readonly value: "burgundy";
145
+ }, {
146
+ readonly name: "Mustard";
147
+ readonly value: "mustard";
148
+ }, {
149
+ readonly name: "Charcoal";
150
+ readonly value: "charcoal";
151
+ }];
152
+ declare const BADGE_COLOR_MAP: Record<string, string>;
153
+ declare const DOT_COLOR_MAP: Record<string, string>;
154
+ declare function getBadgeColor(color?: string): string;
155
+ declare function getDotColor(color?: string): string;
156
+
1
157
  interface FieldOption {
2
158
  id: string;
3
159
  name: string;
@@ -33,8 +189,698 @@ interface IDataViewsClient {
33
189
  deleteRecord(id: string): Promise<void>;
34
190
  }
35
191
 
192
+ declare const LANGUAGES: {
193
+ readonly en: {
194
+ readonly name: "English";
195
+ readonly dir: "ltr";
196
+ };
197
+ readonly es: {
198
+ readonly name: "Español";
199
+ readonly dir: "ltr";
200
+ };
201
+ readonly zh: {
202
+ readonly name: "中文";
203
+ readonly dir: "ltr";
204
+ };
205
+ readonly ar: {
206
+ readonly name: "العربية";
207
+ readonly dir: "rtl";
208
+ };
209
+ readonly hi: {
210
+ readonly name: "हिन्दी";
211
+ readonly dir: "ltr";
212
+ };
213
+ readonly fr: {
214
+ readonly name: "Français";
215
+ readonly dir: "ltr";
216
+ };
217
+ readonly pt: {
218
+ readonly name: "Português";
219
+ readonly dir: "ltr";
220
+ };
221
+ readonly ru: {
222
+ readonly name: "Русский";
223
+ readonly dir: "ltr";
224
+ };
225
+ readonly de: {
226
+ readonly name: "Deutsch";
227
+ readonly dir: "ltr";
228
+ };
229
+ readonly ja: {
230
+ readonly name: "日本語";
231
+ readonly dir: "ltr";
232
+ };
233
+ };
234
+ type Language = keyof typeof LANGUAGES;
235
+ declare const translations: {
236
+ en: {
237
+ add: string;
238
+ edit: string;
239
+ delete: string;
240
+ view: string;
241
+ save: string;
242
+ cancel: string;
243
+ close: string;
244
+ search: string;
245
+ filter: string;
246
+ sort: string;
247
+ addRecord: string;
248
+ createRecord: string;
249
+ editRecord: string;
250
+ deleteRecord: string;
251
+ viewRecord: string;
252
+ recordDetails: string;
253
+ records: string;
254
+ of: string;
255
+ gridView: string;
256
+ kanbanView: string;
257
+ galleryView: string;
258
+ calendarView: string;
259
+ formView: string;
260
+ title: string;
261
+ description: string;
262
+ status: string;
263
+ priority: string;
264
+ dueDate: string;
265
+ completed: string;
266
+ primary: string;
267
+ createNewRecord: string;
268
+ enterDetails: string;
269
+ modifyValues: string;
270
+ viewData: string;
271
+ addNewRecord: string;
272
+ sortBy: string;
273
+ noSorting: string;
274
+ ascending: string;
275
+ descending: string;
276
+ filterBy: string;
277
+ noFilter: string;
278
+ filterValue: string;
279
+ selectValue: string;
280
+ equals: string;
281
+ greater: string;
282
+ less: string;
283
+ greaterEqual: string;
284
+ lessEqual: string;
285
+ on: string;
286
+ before: string;
287
+ after: string;
288
+ yes: string;
289
+ no: string;
290
+ noDateField: string;
291
+ noSelectField: string;
292
+ uncategorized: string;
293
+ untitled: string;
294
+ event: string;
295
+ none: string;
296
+ today: string;
297
+ weekDays: string;
298
+ monthNames: string;
299
+ };
300
+ es: {
301
+ add: string;
302
+ edit: string;
303
+ delete: string;
304
+ view: string;
305
+ save: string;
306
+ cancel: string;
307
+ close: string;
308
+ search: string;
309
+ filter: string;
310
+ sort: string;
311
+ addRecord: string;
312
+ createRecord: string;
313
+ editRecord: string;
314
+ deleteRecord: string;
315
+ viewRecord: string;
316
+ recordDetails: string;
317
+ records: string;
318
+ of: string;
319
+ gridView: string;
320
+ kanbanView: string;
321
+ galleryView: string;
322
+ calendarView: string;
323
+ formView: string;
324
+ title: string;
325
+ description: string;
326
+ status: string;
327
+ priority: string;
328
+ dueDate: string;
329
+ completed: string;
330
+ primary: string;
331
+ createNewRecord: string;
332
+ enterDetails: string;
333
+ modifyValues: string;
334
+ viewData: string;
335
+ addNewRecord: string;
336
+ sortBy: string;
337
+ noSorting: string;
338
+ ascending: string;
339
+ descending: string;
340
+ filterBy: string;
341
+ noFilter: string;
342
+ filterValue: string;
343
+ selectValue: string;
344
+ equals: string;
345
+ greater: string;
346
+ less: string;
347
+ greaterEqual: string;
348
+ lessEqual: string;
349
+ on: string;
350
+ before: string;
351
+ after: string;
352
+ yes: string;
353
+ no: string;
354
+ noDateField: string;
355
+ noSelectField: string;
356
+ uncategorized: string;
357
+ untitled: string;
358
+ event: string;
359
+ none: string;
360
+ today: string;
361
+ weekDays: string;
362
+ monthNames: string;
363
+ };
364
+ zh: {
365
+ add: string;
366
+ edit: string;
367
+ delete: string;
368
+ view: string;
369
+ save: string;
370
+ cancel: string;
371
+ close: string;
372
+ search: string;
373
+ filter: string;
374
+ sort: string;
375
+ addRecord: string;
376
+ createRecord: string;
377
+ editRecord: string;
378
+ deleteRecord: string;
379
+ viewRecord: string;
380
+ recordDetails: string;
381
+ records: string;
382
+ of: string;
383
+ gridView: string;
384
+ kanbanView: string;
385
+ galleryView: string;
386
+ calendarView: string;
387
+ formView: string;
388
+ title: string;
389
+ description: string;
390
+ status: string;
391
+ priority: string;
392
+ dueDate: string;
393
+ completed: string;
394
+ primary: string;
395
+ createNewRecord: string;
396
+ enterDetails: string;
397
+ modifyValues: string;
398
+ viewData: string;
399
+ addNewRecord: string;
400
+ sortBy: string;
401
+ noSorting: string;
402
+ ascending: string;
403
+ descending: string;
404
+ filterBy: string;
405
+ noFilter: string;
406
+ filterValue: string;
407
+ selectValue: string;
408
+ equals: string;
409
+ greater: string;
410
+ less: string;
411
+ greaterEqual: string;
412
+ lessEqual: string;
413
+ on: string;
414
+ before: string;
415
+ after: string;
416
+ yes: string;
417
+ no: string;
418
+ noDateField: string;
419
+ noSelectField: string;
420
+ uncategorized: string;
421
+ untitled: string;
422
+ event: string;
423
+ none: string;
424
+ today: string;
425
+ weekDays: string;
426
+ monthNames: string;
427
+ };
428
+ ar: {
429
+ add: string;
430
+ edit: string;
431
+ delete: string;
432
+ view: string;
433
+ save: string;
434
+ cancel: string;
435
+ close: string;
436
+ search: string;
437
+ filter: string;
438
+ sort: string;
439
+ addRecord: string;
440
+ createRecord: string;
441
+ editRecord: string;
442
+ deleteRecord: string;
443
+ viewRecord: string;
444
+ recordDetails: string;
445
+ records: string;
446
+ of: string;
447
+ gridView: string;
448
+ kanbanView: string;
449
+ galleryView: string;
450
+ calendarView: string;
451
+ formView: string;
452
+ title: string;
453
+ description: string;
454
+ status: string;
455
+ priority: string;
456
+ dueDate: string;
457
+ completed: string;
458
+ primary: string;
459
+ createNewRecord: string;
460
+ enterDetails: string;
461
+ modifyValues: string;
462
+ viewData: string;
463
+ addNewRecord: string;
464
+ sortBy: string;
465
+ noSorting: string;
466
+ ascending: string;
467
+ descending: string;
468
+ filterBy: string;
469
+ noFilter: string;
470
+ filterValue: string;
471
+ selectValue: string;
472
+ equals: string;
473
+ greater: string;
474
+ less: string;
475
+ greaterEqual: string;
476
+ lessEqual: string;
477
+ on: string;
478
+ before: string;
479
+ after: string;
480
+ yes: string;
481
+ no: string;
482
+ noDateField: string;
483
+ noSelectField: string;
484
+ uncategorized: string;
485
+ untitled: string;
486
+ event: string;
487
+ none: string;
488
+ today: string;
489
+ weekDays: string;
490
+ monthNames: string;
491
+ };
492
+ hi: {
493
+ add: string;
494
+ edit: string;
495
+ delete: string;
496
+ view: string;
497
+ save: string;
498
+ cancel: string;
499
+ close: string;
500
+ search: string;
501
+ filter: string;
502
+ sort: string;
503
+ addRecord: string;
504
+ createRecord: string;
505
+ editRecord: string;
506
+ deleteRecord: string;
507
+ viewRecord: string;
508
+ recordDetails: string;
509
+ records: string;
510
+ of: string;
511
+ gridView: string;
512
+ kanbanView: string;
513
+ galleryView: string;
514
+ calendarView: string;
515
+ formView: string;
516
+ title: string;
517
+ description: string;
518
+ status: string;
519
+ priority: string;
520
+ dueDate: string;
521
+ completed: string;
522
+ primary: string;
523
+ createNewRecord: string;
524
+ enterDetails: string;
525
+ modifyValues: string;
526
+ viewData: string;
527
+ addNewRecord: string;
528
+ sortBy: string;
529
+ noSorting: string;
530
+ ascending: string;
531
+ descending: string;
532
+ filterBy: string;
533
+ noFilter: string;
534
+ filterValue: string;
535
+ selectValue: string;
536
+ equals: string;
537
+ greater: string;
538
+ less: string;
539
+ greaterEqual: string;
540
+ lessEqual: string;
541
+ on: string;
542
+ before: string;
543
+ after: string;
544
+ yes: string;
545
+ no: string;
546
+ noDateField: string;
547
+ noSelectField: string;
548
+ uncategorized: string;
549
+ untitled: string;
550
+ event: string;
551
+ none: string;
552
+ today: string;
553
+ weekDays: string;
554
+ monthNames: string;
555
+ };
556
+ fr: {
557
+ add: string;
558
+ edit: string;
559
+ delete: string;
560
+ view: string;
561
+ save: string;
562
+ cancel: string;
563
+ close: string;
564
+ search: string;
565
+ filter: string;
566
+ sort: string;
567
+ addRecord: string;
568
+ createRecord: string;
569
+ editRecord: string;
570
+ deleteRecord: string;
571
+ viewRecord: string;
572
+ recordDetails: string;
573
+ records: string;
574
+ of: string;
575
+ gridView: string;
576
+ kanbanView: string;
577
+ galleryView: string;
578
+ calendarView: string;
579
+ formView: string;
580
+ title: string;
581
+ description: string;
582
+ status: string;
583
+ priority: string;
584
+ dueDate: string;
585
+ completed: string;
586
+ primary: string;
587
+ createNewRecord: string;
588
+ enterDetails: string;
589
+ modifyValues: string;
590
+ viewData: string;
591
+ addNewRecord: string;
592
+ sortBy: string;
593
+ noSorting: string;
594
+ ascending: string;
595
+ descending: string;
596
+ filterBy: string;
597
+ noFilter: string;
598
+ filterValue: string;
599
+ selectValue: string;
600
+ equals: string;
601
+ greater: string;
602
+ less: string;
603
+ greaterEqual: string;
604
+ lessEqual: string;
605
+ on: string;
606
+ before: string;
607
+ after: string;
608
+ yes: string;
609
+ no: string;
610
+ noDateField: string;
611
+ noSelectField: string;
612
+ uncategorized: string;
613
+ untitled: string;
614
+ event: string;
615
+ none: string;
616
+ today: string;
617
+ weekDays: string;
618
+ monthNames: string;
619
+ };
620
+ pt: {
621
+ add: string;
622
+ edit: string;
623
+ delete: string;
624
+ view: string;
625
+ save: string;
626
+ cancel: string;
627
+ close: string;
628
+ search: string;
629
+ filter: string;
630
+ sort: string;
631
+ addRecord: string;
632
+ createRecord: string;
633
+ editRecord: string;
634
+ deleteRecord: string;
635
+ viewRecord: string;
636
+ recordDetails: string;
637
+ records: string;
638
+ of: string;
639
+ gridView: string;
640
+ kanbanView: string;
641
+ galleryView: string;
642
+ calendarView: string;
643
+ formView: string;
644
+ title: string;
645
+ description: string;
646
+ status: string;
647
+ priority: string;
648
+ dueDate: string;
649
+ completed: string;
650
+ primary: string;
651
+ createNewRecord: string;
652
+ enterDetails: string;
653
+ modifyValues: string;
654
+ viewData: string;
655
+ addNewRecord: string;
656
+ sortBy: string;
657
+ noSorting: string;
658
+ ascending: string;
659
+ descending: string;
660
+ filterBy: string;
661
+ noFilter: string;
662
+ filterValue: string;
663
+ selectValue: string;
664
+ equals: string;
665
+ greater: string;
666
+ less: string;
667
+ greaterEqual: string;
668
+ lessEqual: string;
669
+ on: string;
670
+ before: string;
671
+ after: string;
672
+ yes: string;
673
+ no: string;
674
+ noDateField: string;
675
+ noSelectField: string;
676
+ uncategorized: string;
677
+ untitled: string;
678
+ event: string;
679
+ none: string;
680
+ today: string;
681
+ weekDays: string;
682
+ monthNames: string;
683
+ };
684
+ ru: {
685
+ add: string;
686
+ edit: string;
687
+ delete: string;
688
+ view: string;
689
+ save: string;
690
+ cancel: string;
691
+ close: string;
692
+ search: string;
693
+ filter: string;
694
+ sort: string;
695
+ addRecord: string;
696
+ createRecord: string;
697
+ editRecord: string;
698
+ deleteRecord: string;
699
+ viewRecord: string;
700
+ recordDetails: string;
701
+ records: string;
702
+ of: string;
703
+ gridView: string;
704
+ kanbanView: string;
705
+ galleryView: string;
706
+ calendarView: string;
707
+ formView: string;
708
+ title: string;
709
+ description: string;
710
+ status: string;
711
+ priority: string;
712
+ dueDate: string;
713
+ completed: string;
714
+ primary: string;
715
+ createNewRecord: string;
716
+ enterDetails: string;
717
+ modifyValues: string;
718
+ viewData: string;
719
+ addNewRecord: string;
720
+ sortBy: string;
721
+ noSorting: string;
722
+ ascending: string;
723
+ descending: string;
724
+ filterBy: string;
725
+ noFilter: string;
726
+ filterValue: string;
727
+ selectValue: string;
728
+ equals: string;
729
+ greater: string;
730
+ less: string;
731
+ greaterEqual: string;
732
+ lessEqual: string;
733
+ on: string;
734
+ before: string;
735
+ after: string;
736
+ yes: string;
737
+ no: string;
738
+ noDateField: string;
739
+ noSelectField: string;
740
+ uncategorized: string;
741
+ untitled: string;
742
+ event: string;
743
+ none: string;
744
+ today: string;
745
+ weekDays: string;
746
+ monthNames: string;
747
+ };
748
+ de: {
749
+ add: string;
750
+ edit: string;
751
+ delete: string;
752
+ view: string;
753
+ save: string;
754
+ cancel: string;
755
+ close: string;
756
+ search: string;
757
+ filter: string;
758
+ sort: string;
759
+ addRecord: string;
760
+ createRecord: string;
761
+ editRecord: string;
762
+ deleteRecord: string;
763
+ viewRecord: string;
764
+ recordDetails: string;
765
+ records: string;
766
+ of: string;
767
+ gridView: string;
768
+ kanbanView: string;
769
+ galleryView: string;
770
+ calendarView: string;
771
+ formView: string;
772
+ title: string;
773
+ description: string;
774
+ status: string;
775
+ priority: string;
776
+ dueDate: string;
777
+ completed: string;
778
+ primary: string;
779
+ createNewRecord: string;
780
+ enterDetails: string;
781
+ modifyValues: string;
782
+ viewData: string;
783
+ addNewRecord: string;
784
+ sortBy: string;
785
+ noSorting: string;
786
+ ascending: string;
787
+ descending: string;
788
+ filterBy: string;
789
+ noFilter: string;
790
+ filterValue: string;
791
+ selectValue: string;
792
+ equals: string;
793
+ greater: string;
794
+ less: string;
795
+ greaterEqual: string;
796
+ lessEqual: string;
797
+ on: string;
798
+ before: string;
799
+ after: string;
800
+ yes: string;
801
+ no: string;
802
+ noDateField: string;
803
+ noSelectField: string;
804
+ uncategorized: string;
805
+ untitled: string;
806
+ event: string;
807
+ none: string;
808
+ today: string;
809
+ weekDays: string;
810
+ monthNames: string;
811
+ };
812
+ ja: {
813
+ add: string;
814
+ edit: string;
815
+ delete: string;
816
+ view: string;
817
+ save: string;
818
+ cancel: string;
819
+ close: string;
820
+ search: string;
821
+ filter: string;
822
+ sort: string;
823
+ addRecord: string;
824
+ createRecord: string;
825
+ editRecord: string;
826
+ deleteRecord: string;
827
+ viewRecord: string;
828
+ recordDetails: string;
829
+ records: string;
830
+ of: string;
831
+ gridView: string;
832
+ kanbanView: string;
833
+ galleryView: string;
834
+ calendarView: string;
835
+ formView: string;
836
+ title: string;
837
+ description: string;
838
+ status: string;
839
+ priority: string;
840
+ dueDate: string;
841
+ completed: string;
842
+ primary: string;
843
+ createNewRecord: string;
844
+ enterDetails: string;
845
+ modifyValues: string;
846
+ viewData: string;
847
+ addNewRecord: string;
848
+ sortBy: string;
849
+ noSorting: string;
850
+ ascending: string;
851
+ descending: string;
852
+ filterBy: string;
853
+ noFilter: string;
854
+ filterValue: string;
855
+ selectValue: string;
856
+ equals: string;
857
+ greater: string;
858
+ less: string;
859
+ greaterEqual: string;
860
+ lessEqual: string;
861
+ on: string;
862
+ before: string;
863
+ after: string;
864
+ yes: string;
865
+ no: string;
866
+ noDateField: string;
867
+ noSelectField: string;
868
+ uncategorized: string;
869
+ untitled: string;
870
+ event: string;
871
+ none: string;
872
+ today: string;
873
+ weekDays: string;
874
+ monthNames: string;
875
+ };
876
+ };
877
+ type TranslationKey = keyof typeof translations.en;
878
+ declare function getTranslation(lang: Language, key: TranslationKey): string;
879
+ declare function getDirection(lang: Language): 'ltr' | 'rtl';
880
+
36
881
  interface DataViewsConfig {
37
882
  defaultView?: 'grid' | 'kanban' | 'gallery' | 'calendar' | 'form';
883
+ language?: Language;
38
884
  }
39
885
 
40
886
  interface DataViewsProps {
@@ -42,6 +888,6 @@ interface DataViewsProps {
42
888
  dbClient: IDataViewsClient;
43
889
  config?: DataViewsConfig;
44
890
  }
45
- declare function DataViews({ schema, dbClient, config }: DataViewsProps): JSX.Element;
891
+ declare function DataViews(props: DataViewsProps): JSX.Element;
46
892
 
47
- export { DataViews, type DataViewsConfig, type DataViewsProps, type FieldOption, type FieldSchema, type IDataViewsClient, type IRecord, type TableSchema, getDateField, getPrimaryField, getSelectField, tableSchema };
893
+ export { BADGE_COLOR_MAP, DOT_COLOR_MAP, DataViews, type DataViewsConfig, type DataViewsProps, type FieldOption, type FieldSchema, type IDataViewsClient, type IRecord, LANGUAGES, type Language, PRESET_COLORS, type TableSchema, type TranslationKey, getBadgeColor, getDateField, getDirection, getDotColor, getPrimaryField, getSelectField, getTranslation, tableSchema, translations };