vue-chrts 0.0.156 → 0.0.157
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 +11 -0
- package/dist/Area/index.d.ts +23 -0
- package/dist/AreaStacked/AreaStackedChart.vue.d.ts +8 -0
- package/dist/AreaStacked/index.d.ts +7 -0
- package/dist/Bar/BarChart.vue.d.ts +11 -0
- package/dist/Bar/index.d.ts +23 -0
- package/dist/Donut/DonutChart.vue.d.ts +11 -0
- package/dist/Donut/index.d.ts +12 -0
- package/dist/Line/LineChart.vue.d.ts +8 -0
- package/dist/Line/index.d.ts +20 -0
- package/dist/Progress/Progress.vue.d.ts +2 -0
- package/dist/Status/Status.vue.d.ts +2 -0
- package/dist/Tooltip/Tooltip.vue.d.ts +10 -0
- package/dist/charts-CO6Yq10P.js +16172 -0
- package/dist/charts.d.ts +19 -0
- package/dist/index.d.ts +16 -1
- package/dist/index.js +192 -14
- package/package.json +16 -14
- package/dist/components/Area/AreaChart.cjs +0 -7
- package/dist/components/Area/AreaChart.cjs.map +0 -1
- package/dist/components/Area/AreaChart.js +0 -123
- package/dist/components/Area/AreaChart.js.map +0 -1
- package/dist/components/Area/AreaChart.vue.d.ts +0 -36
- package/dist/components/Area/AreaChart2.cjs +0 -2
- package/dist/components/Area/AreaChart2.cjs.map +0 -1
- package/dist/components/Area/AreaChart2.js +0 -5
- package/dist/components/Area/AreaChart2.js.map +0 -1
- package/dist/components/Area/index.d.ts +0 -1
- package/dist/components/AreaStacked/AreaStackedChart.cjs +0 -2
- package/dist/components/AreaStacked/AreaStackedChart.cjs.map +0 -1
- package/dist/components/AreaStacked/AreaStackedChart.js +0 -51
- package/dist/components/AreaStacked/AreaStackedChart.js.map +0 -1
- package/dist/components/AreaStacked/AreaStackedChart.vue.d.ts +0 -18
- package/dist/components/AreaStacked/AreaStackedChart2.cjs +0 -2
- package/dist/components/AreaStacked/AreaStackedChart2.cjs.map +0 -1
- package/dist/components/AreaStacked/AreaStackedChart2.js +0 -5
- package/dist/components/AreaStacked/AreaStackedChart2.js.map +0 -1
- package/dist/components/AreaStacked/index.d.ts +0 -1
- package/dist/components/Bar/BarChart.cjs +0 -2
- package/dist/components/Bar/BarChart.cjs.map +0 -1
- package/dist/components/Bar/BarChart.js +0 -107
- package/dist/components/Bar/BarChart.js.map +0 -1
- package/dist/components/Bar/BarChart.vue.d.ts +0 -36
- package/dist/components/Bar/BarChart2.cjs +0 -2
- package/dist/components/Bar/BarChart2.cjs.map +0 -1
- package/dist/components/Bar/BarChart2.js +0 -5
- package/dist/components/Bar/BarChart2.js.map +0 -1
- package/dist/components/Bar/index.d.ts +0 -1
- package/dist/components/Crosshair/Crosshair.cjs +0 -2
- package/dist/components/Crosshair/Crosshair.cjs.map +0 -1
- package/dist/components/Crosshair/Crosshair.js +0 -40
- package/dist/components/Crosshair/Crosshair.js.map +0 -1
- package/dist/components/Crosshair/Crosshair.vue.d.ts +0 -38
- package/dist/components/Crosshair/Crosshair2.cjs +0 -2
- package/dist/components/Crosshair/Crosshair2.cjs.map +0 -1
- package/dist/components/Crosshair/Crosshair2.js +0 -5
- package/dist/components/Crosshair/Crosshair2.js.map +0 -1
- package/dist/components/Crosshair/index.d.ts +0 -1
- package/dist/components/Donut/DonutChart.cjs +0 -6
- package/dist/components/Donut/DonutChart.cjs.map +0 -1
- package/dist/components/Donut/DonutChart.js +0 -59
- package/dist/components/Donut/DonutChart.js.map +0 -1
- package/dist/components/Donut/DonutChart.vue.d.ts +0 -31
- package/dist/components/Donut/DonutChart2.cjs +0 -2
- package/dist/components/Donut/DonutChart2.cjs.map +0 -1
- package/dist/components/Donut/DonutChart2.js +0 -5
- package/dist/components/Donut/DonutChart2.js.map +0 -1
- package/dist/components/Donut/index.d.ts +0 -1
- package/dist/components/Line/LineChart.cjs +0 -2
- package/dist/components/Line/LineChart.cjs.map +0 -1
- package/dist/components/Line/LineChart.js +0 -85
- package/dist/components/Line/LineChart.js.map +0 -1
- package/dist/components/Line/LineChart.vue.d.ts +0 -27
- package/dist/components/Line/LineChart2.cjs +0 -2
- package/dist/components/Line/LineChart2.cjs.map +0 -1
- package/dist/components/Line/LineChart2.js +0 -5
- package/dist/components/Line/LineChart2.js.map +0 -1
- package/dist/components/Line/index.d.ts +0 -1
- package/dist/components/Tooltip.cjs +0 -2
- package/dist/components/Tooltip.cjs.map +0 -1
- package/dist/components/Tooltip.js +0 -21
- package/dist/components/Tooltip.js.map +0 -1
- package/dist/components/Tooltip.vue.d.ts +0 -14
- package/dist/components/Tooltip2.cjs +0 -2
- package/dist/components/Tooltip2.cjs.map +0 -1
- package/dist/components/Tooltip2.js +0 -5
- package/dist/components/Tooltip2.js.map +0 -1
- package/dist/components.d.ts +0 -6
- package/dist/index.cjs +0 -2
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/types.cjs +0 -2
- package/dist/types.cjs.map +0 -1
- package/dist/types.d.ts +0 -4
- package/dist/types.js +0 -5
- package/dist/types.js.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
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<{
|
|
2
|
+
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & any, string | number | symbol>> & {} & any;
|
|
3
|
+
expose(exposed: import('../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
4
|
+
attrs: any;
|
|
5
|
+
slots: ReturnType<() => {}>;
|
|
6
|
+
emit: typeof __VLS_emit;
|
|
7
|
+
}>) => any;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_Prettify<T> = {
|
|
10
|
+
[K in keyof T]: T[K];
|
|
11
|
+
} & {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BulletLegendItemInterface, CurveType } from '@unovis/ts';
|
|
2
|
+
import { PaginationPosition } from '../charts';
|
|
3
|
+
|
|
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
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
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<{
|
|
2
|
+
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & any, string | number | symbol>> & {} & any;
|
|
3
|
+
expose(exposed: import('../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
4
|
+
attrs: any;
|
|
5
|
+
slots: ReturnType<() => {}>;
|
|
6
|
+
emit: typeof __VLS_emit;
|
|
7
|
+
}>) => any;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
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<{
|
|
2
|
+
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & any, string | number | symbol>> & {} & any;
|
|
3
|
+
expose(exposed: import('../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
4
|
+
attrs: any;
|
|
5
|
+
slots: ReturnType<() => {}>;
|
|
6
|
+
emit: typeof __VLS_emit;
|
|
7
|
+
}>) => any;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_Prettify<T> = {
|
|
10
|
+
[K in keyof T]: T[K];
|
|
11
|
+
} & {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BulletLegendItemInterface, Orientation } from '@unovis/ts';
|
|
2
|
+
import { PaginationPosition } from '../Line';
|
|
3
|
+
|
|
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
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: any;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
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<{
|
|
2
|
+
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & any, string | number | symbol>> & {} & any;
|
|
3
|
+
expose(exposed: import('../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
4
|
+
attrs: any;
|
|
5
|
+
slots: ReturnType<() => {}>;
|
|
6
|
+
emit: typeof __VLS_emit;
|
|
7
|
+
}>) => any;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BulletLegendItemInterface, CurveType, Position } from '@unovis/ts';
|
|
2
|
+
export { default as LineChart } from './LineChart.vue';
|
|
3
|
+
export type LineChartProps<T> = {
|
|
4
|
+
data: T[];
|
|
5
|
+
height: number;
|
|
6
|
+
xLabel?: string;
|
|
7
|
+
yLabel?: string;
|
|
8
|
+
categories: Record<string, BulletLegendItemInterface>;
|
|
9
|
+
xFormatter: (i: number, idx: number) => string;
|
|
10
|
+
yFormatter?: (i: number, idx: number) => string;
|
|
11
|
+
curveType?: CurveType;
|
|
12
|
+
yNumTicks?: number;
|
|
13
|
+
xNumTicks?: number;
|
|
14
|
+
paginationPoisition?: PaginationPosition;
|
|
15
|
+
};
|
|
16
|
+
export declare enum PaginationPosition {
|
|
17
|
+
Top = "top",
|
|
18
|
+
Bottom = "bottom"
|
|
19
|
+
}
|
|
20
|
+
export { CurveType, Position };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TooltipProps } from './types';
|
|
2
|
+
|
|
3
|
+
declare const _default: <T extends {}>(__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 & TooltipProps<T>, string | number | symbol>> & {} & any;
|
|
5
|
+
expose(exposed: import('../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
6
|
+
attrs: any;
|
|
7
|
+
slots: ReturnType<() => {}>;
|
|
8
|
+
emit: typeof __VLS_emit;
|
|
9
|
+
}>) => any;
|
|
10
|
+
export default _default;
|