pangea-lib 1.12.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/main.cjs.js +9 -9
- package/dist/main.es.js +4497 -4521
- 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/helpers/coin.d.ts +1 -1
- package/dist/types/helpers/index.d.ts +6 -0
- package/dist/types/helpers/number.d.ts +1 -1
- 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/main.d.ts +1 -7
- package/dist/types/types/chart.d.ts +10 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function getCoinAmountInString(amount: number, significantDigits: number, coinName: string, withCoinName?: boolean): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function getNumberInString(value: number, maximumFractionDigits: number): string;
|
|
@@ -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
|
+
};
|
package/dist/types/main.d.ts
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
import { PangeaOptions } from './types/pangea-options';
|
|
3
3
|
|
|
4
|
-
import * as animationHelpers from './helpers/animation';
|
|
5
|
-
import * as coinHelpers from './helpers/coin';
|
|
6
|
-
import * as datetimeHelpers from './helpers/datetime';
|
|
7
|
-
import * as numberHelpers from './helpers/number';
|
|
8
|
-
import * as objectHelpers from './helpers/object';
|
|
9
|
-
import * as urlHelpers from './helpers/url';
|
|
10
4
|
declare const _default: (app: App, userOptions?: PangeaOptions) => void;
|
|
11
5
|
export default _default;
|
|
12
|
-
export
|
|
6
|
+
export * from './helpers';
|
|
13
7
|
export * from './types';
|
|
@@ -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[];
|