pangea-lib 1.13.0 → 1.13.1
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/types/components/_i18n/PgaModal.i18n.d.ts +7 -0
- package/dist/types/components/_i18n/form/PgaDatePicker.i18n.d.ts +7 -0
- package/dist/types/i18n/i18n.d.ts +3 -0
- package/dist/types/i18n/i18n.messages.d.ts +15 -0
- package/dist/types/i18n/i18n.store.d.ts +9 -0
- package/dist/types/i18n/i18n.types.d.ts +9 -0
- package/dist/types/types/chart.d.ts +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as allMessages } from './i18n.messages';
|
|
2
|
+
|
|
3
|
+
export type Language = 'es';
|
|
4
|
+
export type FileName = keyof typeof allMessages;
|
|
5
|
+
export type MessageKey<T extends FileName> = keyof (typeof allMessages)[T][Language];
|
|
6
|
+
export type Props = {
|
|
7
|
+
[prop: string]: string | number;
|
|
8
|
+
count?: number;
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ChartOptions, ChartData } from 'chart.js';
|
|
2
|
+
|
|
3
|
+
export type BarChartOptions = ChartOptions<'bar'>;
|
|
4
|
+
export type BarChartData = ChartData<'bar'>;
|
|
5
|
+
export type BarChart = {
|
|
6
|
+
id: string;
|
|
7
|
+
options?: BarChartOptions;
|
|
8
|
+
data: BarChartData;
|
|
9
|
+
};
|
|
10
|
+
export type BarCharts = BarChart[];
|