vue-chrts 0.0.107 → 0.0.109
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/Area/AreaChart.vue.d.ts +1 -22
- package/dist/Area/index.d.ts +22 -0
- package/dist/AreaStacked/AreaStackedChart.vue.d.ts +1 -6
- package/dist/AreaStacked/index.d.ts +6 -0
- package/dist/Bar/BarChart.vue.d.ts +1 -22
- package/dist/Bar/index.d.ts +22 -0
- package/dist/charts.d.ts +3 -14
- package/dist/index.d.ts +1 -3
- package/package.json +1 -1
|
@@ -1,26 +1,5 @@
|
|
|
1
|
-
import { BulletLegendItemInterface, CurveType } from '@unovis/ts';
|
|
2
|
-
import { PaginationPosition } from '../Line';
|
|
3
|
-
|
|
4
1
|
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & {
|
|
6
|
-
data: T[];
|
|
7
|
-
height: number;
|
|
8
|
-
xLabel?: string;
|
|
9
|
-
yLabel?: string;
|
|
10
|
-
categories: Record<string, BulletLegendItemInterface>;
|
|
11
|
-
xFormatter: (i: number, idx: number) => string;
|
|
12
|
-
yFormatter?: (i: number, idx?: number) => string | number;
|
|
13
|
-
curveType?: CurveType;
|
|
14
|
-
xNumTicks?: number;
|
|
15
|
-
yNumTicks?: number;
|
|
16
|
-
hideLegend?: boolean;
|
|
17
|
-
hideTooltip?: boolean;
|
|
18
|
-
gridLineX?: boolean;
|
|
19
|
-
domainLineX?: boolean;
|
|
20
|
-
gridLineY?: boolean;
|
|
21
|
-
domainLineY?: boolean;
|
|
22
|
-
paginationPoisition?: PaginationPosition;
|
|
23
|
-
}, string | number | symbol>> & {} & any;
|
|
2
|
+
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & any, string | number | symbol>> & {} & any;
|
|
24
3
|
expose(exposed: import('../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
25
4
|
attrs: any;
|
|
26
5
|
slots: ReturnType<() => {}>;
|
package/dist/Area/index.d.ts
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
|
+
import { BulletLegendItemInterface, CurveType } from '@unovis/ts';
|
|
2
|
+
import { PaginationPosition } from '../charts';
|
|
3
|
+
|
|
1
4
|
export { default as AreaChart } from './AreaChart.vue';
|
|
5
|
+
export type AreaChartProps<T> = {
|
|
6
|
+
data: T[];
|
|
7
|
+
height: number;
|
|
8
|
+
xLabel?: string;
|
|
9
|
+
yLabel?: string;
|
|
10
|
+
categories: Record<string, BulletLegendItemInterface>;
|
|
11
|
+
xFormatter: (i: number, idx: number) => string;
|
|
12
|
+
yFormatter?: (i: number, idx?: number) => string | number;
|
|
13
|
+
curveType?: CurveType;
|
|
14
|
+
xNumTicks?: number;
|
|
15
|
+
yNumTicks?: number;
|
|
16
|
+
hideLegend?: boolean;
|
|
17
|
+
hideTooltip?: boolean;
|
|
18
|
+
gridLineX?: boolean;
|
|
19
|
+
domainLineX?: boolean;
|
|
20
|
+
gridLineY?: boolean;
|
|
21
|
+
domainLineY?: boolean;
|
|
22
|
+
paginationPoisition?: PaginationPosition;
|
|
23
|
+
};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
-
|
|
3
1
|
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & {
|
|
5
|
-
data: T[];
|
|
6
|
-
categories: Record<string, BulletLegendItemInterface>;
|
|
7
|
-
}, string | number | symbol>> & {} & any;
|
|
2
|
+
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & any, string | number | symbol>> & {} & any;
|
|
8
3
|
expose(exposed: import('../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
9
4
|
attrs: any;
|
|
10
5
|
slots: ReturnType<() => {}>;
|
|
@@ -1,26 +1,5 @@
|
|
|
1
|
-
import { BulletLegendItemInterface, Orientation } from '@unovis/ts';
|
|
2
|
-
import { PaginationPosition } from '../Line';
|
|
3
|
-
|
|
4
1
|
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & {
|
|
6
|
-
data: T[];
|
|
7
|
-
stacked?: boolean;
|
|
8
|
-
height: number;
|
|
9
|
-
xLabel?: string;
|
|
10
|
-
yLabel?: string;
|
|
11
|
-
categories: Record<string, BulletLegendItemInterface>;
|
|
12
|
-
xFormatter: (i: number, idx?: number) => string | number;
|
|
13
|
-
yFormatter?: (i: number, idx?: number) => string | number;
|
|
14
|
-
yNumTicks?: number;
|
|
15
|
-
xNumTicks?: number;
|
|
16
|
-
yAxis: (keyof T)[];
|
|
17
|
-
groupPadding?: number;
|
|
18
|
-
barPadding?: number;
|
|
19
|
-
radius?: number;
|
|
20
|
-
hideLegend?: boolean;
|
|
21
|
-
orientation?: Orientation;
|
|
22
|
-
paginationPosition?: PaginationPosition;
|
|
23
|
-
}, string | number | symbol>> & {} & any;
|
|
2
|
+
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & any, string | number | symbol>> & {} & any;
|
|
24
3
|
expose(exposed: import('../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
25
4
|
attrs: any;
|
|
26
5
|
slots: ReturnType<() => {}>;
|
package/dist/Bar/index.d.ts
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
|
+
import { BulletLegendItemInterface, Orientation } from '@unovis/ts';
|
|
2
|
+
import { PaginationPosition } from '../Line';
|
|
3
|
+
|
|
1
4
|
export { default as BarChart } from './BarChart.vue';
|
|
5
|
+
export type BarChartProps<T> = {
|
|
6
|
+
data: T[];
|
|
7
|
+
stacked?: boolean;
|
|
8
|
+
height: number;
|
|
9
|
+
xLabel?: string;
|
|
10
|
+
yLabel?: string;
|
|
11
|
+
categories: Record<string, BulletLegendItemInterface>;
|
|
12
|
+
xFormatter: (i: number, idx?: number) => string | number;
|
|
13
|
+
yFormatter?: (i: number, idx?: number) => string | number;
|
|
14
|
+
yNumTicks?: number;
|
|
15
|
+
xNumTicks?: number;
|
|
16
|
+
yAxis: (keyof T)[];
|
|
17
|
+
groupPadding?: number;
|
|
18
|
+
barPadding?: number;
|
|
19
|
+
radius?: number;
|
|
20
|
+
hideLegend?: boolean;
|
|
21
|
+
orientation?: Orientation;
|
|
22
|
+
paginationPosition?: PaginationPosition;
|
|
23
|
+
};
|
package/dist/charts.d.ts
CHANGED
|
@@ -1,18 +1,7 @@
|
|
|
1
1
|
import { AreaChart } from './Area/index';
|
|
2
2
|
import { AreaStackedChart } from './AreaStacked/index';
|
|
3
3
|
import { BarChart } from './Bar/index';
|
|
4
|
-
import { DonutChart
|
|
5
|
-
import { LineChart, PaginationPosition
|
|
4
|
+
import { DonutChart } from './Donut/index';
|
|
5
|
+
import { LineChart, PaginationPosition } from './Line/index';
|
|
6
6
|
|
|
7
|
-
export { AreaChart, AreaStackedChart, BarChart, DonutChart, LineChart };
|
|
8
|
-
type ChartModule = {
|
|
9
|
-
AreaChart: typeof AreaChart;
|
|
10
|
-
AreaStackedChart: typeof AreaStackedChart;
|
|
11
|
-
BarChart: typeof BarChart;
|
|
12
|
-
DonutChart: typeof DonutChart;
|
|
13
|
-
LineChart: typeof LineChart;
|
|
14
|
-
DonutChartProps: DonutChartProps;
|
|
15
|
-
LineChartProps: LineChartProps<any>;
|
|
16
|
-
PaginationPosition: typeof PaginationPosition;
|
|
17
|
-
};
|
|
18
|
-
export { type ChartModule, type DonutChartProps, type LineChartProps, PaginationPosition };
|
|
7
|
+
export { AreaChart, AreaStackedChart, BarChart, DonutChart, LineChart, PaginationPosition, };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { ChartModule } from './charts.ts';
|
|
2
1
|
import { default as Progress } from './Progress/Progress.vue';
|
|
3
2
|
import { default as Status } from './Status/Status.vue';
|
|
4
3
|
import { default as Tooltip } from './Tooltip/Tooltip.vue';
|
|
5
4
|
|
|
6
5
|
export { Progress, Status, Tooltip };
|
|
7
|
-
export declare const loadCharts: () => Promise<
|
|
8
|
-
export type LoadCharts = typeof loadCharts;
|
|
6
|
+
export declare const loadCharts: () => Promise<{}>;
|