@flux-ui/statistics 3.0.0-next.66 → 3.0.0-next.68
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/README.md +1 -1
- package/dist/component/FluxStatisticsAreaChart.vue.d.ts +13 -5
- package/dist/component/FluxStatisticsBarChart.vue.d.ts +13 -5
- package/dist/component/FluxStatisticsBase.vue.d.ts +8 -15
- package/dist/component/FluxStatisticsBoxPlotChart.vue.d.ts +15 -0
- package/dist/component/FluxStatisticsBubbleChart.vue.d.ts +14 -0
- package/dist/component/FluxStatisticsCandlestickChart.vue.d.ts +15 -0
- package/dist/component/FluxStatisticsChange.vue.d.ts +2 -1
- package/dist/component/FluxStatisticsChart.vue.d.ts +8 -19
- package/dist/component/FluxStatisticsChartPane.vue.d.ts +9 -17
- package/dist/component/FluxStatisticsComparison.vue.d.ts +16 -0
- package/dist/component/FluxStatisticsDetailsTable.vue.d.ts +6 -13
- package/dist/component/FluxStatisticsDetailsTableRow.vue.d.ts +2 -1
- package/dist/component/FluxStatisticsDonutChart.vue.d.ts +10 -5
- package/dist/component/FluxStatisticsEmpty.vue.d.ts +19 -0
- package/dist/component/FluxStatisticsGrid.vue.d.ts +7 -11
- package/dist/component/FluxStatisticsHeatmapChart.vue.d.ts +15 -0
- package/dist/component/FluxStatisticsKpi.vue.d.ts +2 -1
- package/dist/component/FluxStatisticsLegend.vue.d.ts +7 -11
- package/dist/component/FluxStatisticsLegendItem.vue.d.ts +3 -1
- package/dist/component/FluxStatisticsLineChart.vue.d.ts +13 -5
- package/dist/component/FluxStatisticsMeter.vue.d.ts +2 -1
- package/dist/component/FluxStatisticsMetric.vue.d.ts +6 -13
- package/dist/component/FluxStatisticsMixedChart.vue.d.ts +17 -0
- package/dist/component/FluxStatisticsPieChart.vue.d.ts +10 -5
- package/dist/component/FluxStatisticsPolarAreaChart.vue.d.ts +14 -0
- package/dist/component/FluxStatisticsRadarChart.vue.d.ts +12 -0
- package/dist/component/FluxStatisticsRadialBar.vue.d.ts +11 -0
- package/dist/component/FluxStatisticsScatterChart.vue.d.ts +14 -0
- package/dist/component/FluxStatisticsSparkline.vue.d.ts +13 -0
- package/dist/component/FluxStatisticsTreemapChart.vue.d.ts +11 -0
- package/dist/component/index.d.ts +13 -0
- package/dist/composable/index.d.ts +10 -0
- package/dist/composable/useChartHoverSync.d.ts +9 -0
- package/dist/composable/useChartLegend.d.ts +14 -0
- package/dist/composable/useChartSeriesSetup.d.ts +23 -0
- package/dist/composable/useECharts.d.ts +9 -0
- package/dist/composable/usePieSlicesSetup.d.ts +14 -0
- package/dist/echarts.d.ts +1 -0
- package/dist/index.css +230 -37
- package/dist/index.d.ts +5 -2
- package/dist/index.js +10924 -9047
- package/dist/index.js.map +1 -1
- package/dist/util/baseOptions.d.ts +15 -0
- package/dist/util/colors.d.ts +4 -0
- package/dist/util/convert.d.ts +22 -0
- package/dist/util/defaultOptions.d.ts +76 -0
- package/dist/util/iconSvg.d.ts +2 -0
- package/dist/util/index.d.ts +7 -0
- package/dist/util/seriesDefaults.d.ts +15 -0
- package/dist/util/sparklineOptions.d.ts +7 -0
- package/package.json +14 -15
- package/src/component/FluxStatisticsAreaChart.vue +38 -41
- package/src/component/FluxStatisticsBarChart.vue +38 -33
- package/src/component/FluxStatisticsBase.vue +14 -1
- package/src/component/FluxStatisticsBoxPlotChart.vue +69 -0
- package/src/component/FluxStatisticsBubbleChart.vue +56 -0
- package/src/component/FluxStatisticsCandlestickChart.vue +81 -0
- package/src/component/FluxStatisticsChart.vue +19 -169
- package/src/component/FluxStatisticsChartPane.vue +23 -11
- package/src/component/FluxStatisticsComparison.vue +113 -0
- package/src/component/FluxStatisticsDonutChart.vue +39 -18
- package/src/component/FluxStatisticsEmpty.vue +44 -0
- package/src/component/FluxStatisticsHeatmapChart.vue +80 -0
- package/src/component/FluxStatisticsLegend.vue +33 -1
- package/src/component/FluxStatisticsLegendItem.vue +3 -1
- package/src/component/FluxStatisticsLineChart.vue +38 -41
- package/src/component/FluxStatisticsMixedChart.vue +55 -0
- package/src/component/FluxStatisticsPieChart.vue +39 -18
- package/src/component/FluxStatisticsPolarAreaChart.vue +53 -0
- package/src/component/FluxStatisticsRadarChart.vue +108 -0
- package/src/component/FluxStatisticsRadialBar.vue +48 -0
- package/src/component/FluxStatisticsScatterChart.vue +56 -0
- package/src/component/FluxStatisticsSparkline.vue +67 -0
- package/src/component/FluxStatisticsTreemapChart.vue +39 -0
- package/src/component/index.ts +13 -0
- package/src/composable/index.ts +10 -0
- package/src/composable/useChartHoverSync.ts +92 -0
- package/src/composable/useChartLegend.ts +23 -0
- package/src/composable/useChartSeriesSetup.ts +75 -0
- package/src/composable/useECharts.ts +55 -0
- package/src/composable/usePieSlicesSetup.ts +58 -0
- package/src/css/Base.module.scss +28 -1
- package/src/css/Chart.module.scss +66 -32
- package/src/css/ChartPane.module.scss +24 -9
- package/src/css/Comparison.module.scss +52 -0
- package/src/css/Empty.module.scss +39 -0
- package/src/css/Grid.module.scss +1 -0
- package/src/css/Legend.module.scss +11 -1
- package/src/css/Metric.module.scss +6 -0
- package/src/css/Sparkline.module.scss +13 -0
- package/src/echarts.ts +47 -0
- package/src/index.ts +7 -3
- package/src/util/baseOptions.ts +74 -0
- package/src/util/colors.ts +86 -0
- package/src/util/convert.ts +360 -0
- package/src/util/defaultOptions.ts +398 -0
- package/src/util/iconSvg.ts +20 -0
- package/src/util/index.ts +7 -0
- package/src/util/seriesDefaults.ts +210 -0
- package/src/util/sparklineOptions.ts +67 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Chart and statistics components for [Flux UI](https://flux-ui.dev).
|
|
4
4
|
|
|
5
|
-
Built on top of [
|
|
5
|
+
Built on top of [Apache ECharts](https://echarts.apache.org/), themed to match the Flux design system. Locale-aware labels are provided through `vue-i18n`.
|
|
6
6
|
|
|
7
7
|
## Highlights
|
|
8
8
|
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FluxStatisticsChartAreaSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { ChartTooltipValueFormatter } from '../util';
|
|
2
4
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
5
|
type __VLS_Props = {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly series:
|
|
6
|
+
readonly advancedOptions?: EChartsOption;
|
|
7
|
+
readonly labels?: readonly string[];
|
|
8
|
+
readonly series: readonly FluxStatisticsChartAreaSeries[];
|
|
9
|
+
readonly splitLines?: boolean;
|
|
10
|
+
readonly tooltip?: boolean;
|
|
11
|
+
readonly tooltipValueFormatter?: ChartTooltipValueFormatter;
|
|
12
|
+
readonly xAxisLabels?: boolean;
|
|
13
|
+
readonly yAxisLabels?: boolean;
|
|
7
14
|
};
|
|
8
|
-
declare const
|
|
15
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
9
17
|
export default _default;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FluxStatisticsChartBarSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { ChartTooltipValueFormatter } from '../util';
|
|
2
4
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
5
|
type __VLS_Props = {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly series:
|
|
6
|
+
readonly advancedOptions?: EChartsOption;
|
|
7
|
+
readonly labels?: readonly string[];
|
|
8
|
+
readonly series: readonly FluxStatisticsChartBarSeries[];
|
|
9
|
+
readonly splitLines?: boolean;
|
|
10
|
+
readonly tooltip?: boolean;
|
|
11
|
+
readonly tooltipValueFormatter?: ChartTooltipValueFormatter;
|
|
12
|
+
readonly xAxisLabels?: boolean;
|
|
13
|
+
readonly yAxisLabels?: boolean;
|
|
7
14
|
};
|
|
8
|
-
declare const
|
|
15
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
9
17
|
export default _default;
|
|
@@ -5,23 +5,16 @@ type __VLS_Props = {
|
|
|
5
5
|
readonly isSmall?: boolean;
|
|
6
6
|
readonly title?: string;
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
default?(): any;
|
|
13
|
-
}> & {
|
|
14
|
-
content?(): any;
|
|
15
|
-
default?(): any;
|
|
16
|
-
};
|
|
17
|
-
refs: {};
|
|
18
|
-
rootEl: HTMLDivElement;
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
content?(): any;
|
|
10
|
+
default?(): any;
|
|
11
|
+
info?(): any;
|
|
19
12
|
};
|
|
20
|
-
|
|
21
|
-
declare const
|
|
22
|
-
declare const _default:
|
|
13
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
23
16
|
export default _default;
|
|
24
|
-
type
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
18
|
new (): {
|
|
26
19
|
$slots: S;
|
|
27
20
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FluxStatisticsChartBoxPlotSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
readonly advancedOptions?: EChartsOption;
|
|
6
|
+
readonly labels?: readonly string[];
|
|
7
|
+
readonly series: readonly FluxStatisticsChartBoxPlotSeries[];
|
|
8
|
+
readonly splitLines?: boolean;
|
|
9
|
+
readonly tooltip?: boolean;
|
|
10
|
+
readonly xAxisLabels?: boolean;
|
|
11
|
+
readonly yAxisLabels?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FluxStatisticsChartBubbleSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
readonly advancedOptions?: EChartsOption;
|
|
6
|
+
readonly series: readonly FluxStatisticsChartBubbleSeries[];
|
|
7
|
+
readonly splitLines?: boolean;
|
|
8
|
+
readonly tooltip?: boolean;
|
|
9
|
+
readonly xAxisLabels?: boolean;
|
|
10
|
+
readonly yAxisLabels?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FluxStatisticsChartCandlestickSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
readonly advancedOptions?: EChartsOption;
|
|
6
|
+
readonly labels?: readonly string[];
|
|
7
|
+
readonly series: readonly FluxStatisticsChartCandlestickSeries[];
|
|
8
|
+
readonly splitLines?: boolean;
|
|
9
|
+
readonly tooltip?: boolean;
|
|
10
|
+
readonly xAxisLabels?: boolean;
|
|
11
|
+
readonly yAxisLabels?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -5,5 +5,6 @@ type __VLS_Props = {
|
|
|
5
5
|
readonly icon?: FluxIconName;
|
|
6
6
|
readonly value: string | number;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions
|
|
3
|
-
import {
|
|
1
|
+
import { EChartsOption } from '../composable';
|
|
2
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { ECharts } from 'echarts/core';
|
|
4
4
|
type __VLS_Props = {
|
|
5
|
-
readonly options?:
|
|
6
|
-
readonly series: ApexOptions['series'];
|
|
5
|
+
readonly options?: EChartsOption;
|
|
7
6
|
};
|
|
8
|
-
declare const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
P: {};
|
|
13
|
-
B: {};
|
|
14
|
-
D: {};
|
|
15
|
-
C: {};
|
|
16
|
-
M: {};
|
|
17
|
-
Defaults: {};
|
|
18
|
-
}, Readonly< VueApexChartsComponentProps>, VueApexChartsComponentMethods, {}, ComputedOptions, MethodOptions, {
|
|
19
|
-
series: any;
|
|
20
|
-
}>;
|
|
21
|
-
}, HTMLDivElement>;
|
|
7
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {
|
|
8
|
+
chartInstance: Ref<ECharts, ECharts>;
|
|
9
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
22
11
|
export default _default;
|
|
@@ -7,25 +7,17 @@ type __VLS_Props = {
|
|
|
7
7
|
readonly icon?: FluxIconName;
|
|
8
8
|
readonly title?: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
toolbar?(): any;
|
|
16
|
-
}> & {
|
|
17
|
-
default(): any;
|
|
18
|
-
legend?(): any;
|
|
19
|
-
toolbar?(): any;
|
|
20
|
-
};
|
|
21
|
-
refs: {};
|
|
22
|
-
rootEl: HTMLDivElement;
|
|
10
|
+
type __VLS_Slots = {
|
|
11
|
+
default(): any;
|
|
12
|
+
info?(): any;
|
|
13
|
+
legend?(): any;
|
|
14
|
+
toolbar?(): any;
|
|
23
15
|
};
|
|
24
|
-
|
|
25
|
-
declare const
|
|
26
|
-
declare const _default:
|
|
16
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
27
19
|
export default _default;
|
|
28
|
-
type
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
21
|
new (): {
|
|
30
22
|
$slots: S;
|
|
31
23
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FluxIconName } from '@flux-ui/types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
readonly current: number;
|
|
5
|
+
readonly currentLabel?: string;
|
|
6
|
+
readonly footer?: string;
|
|
7
|
+
readonly format?: (value: number) => string;
|
|
8
|
+
readonly icon?: FluxIconName;
|
|
9
|
+
readonly previous: number;
|
|
10
|
+
readonly previousLabel?: string;
|
|
11
|
+
readonly showDelta?: boolean;
|
|
12
|
+
readonly title: string;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -2,21 +2,14 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
readonly title: string;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
slots: Readonly<{
|
|
8
|
-
default(): any;
|
|
9
|
-
}> & {
|
|
10
|
-
default(): any;
|
|
11
|
-
};
|
|
12
|
-
refs: {};
|
|
13
|
-
rootEl: HTMLDivElement;
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default(): any;
|
|
14
7
|
};
|
|
15
|
-
|
|
16
|
-
declare const
|
|
17
|
-
declare const _default:
|
|
8
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
18
11
|
export default _default;
|
|
19
|
-
type
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
13
|
new (): {
|
|
21
14
|
$slots: S;
|
|
22
15
|
};
|
|
@@ -3,5 +3,6 @@ type __VLS_Props = {
|
|
|
3
3
|
readonly label: string;
|
|
4
4
|
readonly value: string;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FluxStatisticsChartPieSlice } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { ChartTooltipValueFormatter } from '../util';
|
|
2
4
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
5
|
type __VLS_Props = {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
6
|
+
readonly advancedOptions?: EChartsOption;
|
|
7
|
+
readonly slices: readonly FluxStatisticsChartPieSlice[];
|
|
8
|
+
readonly title?: string;
|
|
9
|
+
readonly tooltip?: boolean;
|
|
10
|
+
readonly tooltipValueFormatter?: ChartTooltipValueFormatter;
|
|
7
11
|
};
|
|
8
|
-
declare const
|
|
12
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
9
14
|
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FluxIconName } from '@flux-ui/types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
readonly description?: string;
|
|
5
|
+
readonly icon?: FluxIconName;
|
|
6
|
+
readonly title?: string;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
default?(): any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -7,19 +7,15 @@ type __VLS_Props = {
|
|
|
7
7
|
readonly lg?: number;
|
|
8
8
|
readonly xl?: number;
|
|
9
9
|
};
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
default?(_: {}): any;
|
|
14
|
-
};
|
|
15
|
-
refs: {};
|
|
16
|
-
rootEl: HTMLDivElement;
|
|
10
|
+
declare var __VLS_1: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_1) => any;
|
|
17
13
|
};
|
|
18
|
-
|
|
19
|
-
declare const
|
|
20
|
-
declare const _default:
|
|
14
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
21
17
|
export default _default;
|
|
22
|
-
type
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
19
|
new (): {
|
|
24
20
|
$slots: S;
|
|
25
21
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FluxStatisticsChartHeatmapSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
readonly advancedOptions?: EChartsOption;
|
|
6
|
+
readonly series: readonly FluxStatisticsChartHeatmapSeries[];
|
|
7
|
+
readonly tooltip?: boolean;
|
|
8
|
+
readonly xAxisLabels?: boolean;
|
|
9
|
+
readonly xLabels?: readonly string[];
|
|
10
|
+
readonly yAxisLabels?: boolean;
|
|
11
|
+
readonly yLabels?: readonly string[];
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -7,5 +7,6 @@ type __VLS_Props = {
|
|
|
7
7
|
readonly title: string;
|
|
8
8
|
readonly value: string | number;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
10
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: HTMLDivElement;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
|
@@ -3,8 +3,10 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
readonly color?: FluxColor | `#${string}`;
|
|
5
5
|
readonly icon?: FluxIconName;
|
|
6
|
+
readonly isHovered?: boolean;
|
|
6
7
|
readonly label: string;
|
|
7
8
|
readonly value?: string | number;
|
|
8
9
|
};
|
|
9
|
-
declare const
|
|
10
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
10
12
|
export default _default;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FluxStatisticsChartLineSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { ChartTooltipValueFormatter } from '../util';
|
|
2
4
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
5
|
type __VLS_Props = {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly series:
|
|
6
|
+
readonly advancedOptions?: EChartsOption;
|
|
7
|
+
readonly labels?: readonly string[];
|
|
8
|
+
readonly series: readonly FluxStatisticsChartLineSeries[];
|
|
9
|
+
readonly splitLines?: boolean;
|
|
10
|
+
readonly tooltip?: boolean;
|
|
11
|
+
readonly tooltipValueFormatter?: ChartTooltipValueFormatter;
|
|
12
|
+
readonly xAxisLabels?: boolean;
|
|
13
|
+
readonly yAxisLabels?: boolean;
|
|
7
14
|
};
|
|
8
|
-
declare const
|
|
15
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
9
17
|
export default _default;
|
|
@@ -10,5 +10,6 @@ type __VLS_Props = {
|
|
|
10
10
|
readonly title?: string;
|
|
11
11
|
readonly value: number;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
14
15
|
export default _default;
|
|
@@ -8,21 +8,14 @@ type __VLS_Props = {
|
|
|
8
8
|
readonly title: string;
|
|
9
9
|
readonly value?: string | number;
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
slots: Readonly<{
|
|
14
|
-
default?(): any;
|
|
15
|
-
}> & {
|
|
16
|
-
default?(): any;
|
|
17
|
-
};
|
|
18
|
-
refs: {};
|
|
19
|
-
rootEl: HTMLDivElement;
|
|
11
|
+
type __VLS_Slots = {
|
|
12
|
+
default?(): any;
|
|
20
13
|
};
|
|
21
|
-
|
|
22
|
-
declare const
|
|
23
|
-
declare const _default:
|
|
14
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
24
17
|
export default _default;
|
|
25
|
-
type
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
19
|
new (): {
|
|
27
20
|
$slots: S;
|
|
28
21
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FluxStatisticsChartMixedSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { ChartTooltipValueFormatter } from '../util';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
readonly advancedOptions?: EChartsOption;
|
|
7
|
+
readonly labels?: readonly string[];
|
|
8
|
+
readonly series: readonly FluxStatisticsChartMixedSeries[];
|
|
9
|
+
readonly splitLines?: boolean;
|
|
10
|
+
readonly tooltip?: boolean;
|
|
11
|
+
readonly tooltipValueFormatter?: ChartTooltipValueFormatter;
|
|
12
|
+
readonly xAxisLabels?: boolean;
|
|
13
|
+
readonly yAxisLabels?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FluxStatisticsChartPieSlice } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { ChartTooltipValueFormatter } from '../util';
|
|
2
4
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
5
|
type __VLS_Props = {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
6
|
+
readonly advancedOptions?: EChartsOption;
|
|
7
|
+
readonly slices: readonly FluxStatisticsChartPieSlice[];
|
|
8
|
+
readonly title?: string;
|
|
9
|
+
readonly tooltip?: boolean;
|
|
10
|
+
readonly tooltipValueFormatter?: ChartTooltipValueFormatter;
|
|
7
11
|
};
|
|
8
|
-
declare const
|
|
12
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
9
14
|
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FluxStatisticsChartPieSlice } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { ChartTooltipValueFormatter } from '../util';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
readonly advancedOptions?: EChartsOption;
|
|
7
|
+
readonly slices: readonly FluxStatisticsChartPieSlice[];
|
|
8
|
+
readonly title?: string;
|
|
9
|
+
readonly tooltip?: boolean;
|
|
10
|
+
readonly tooltipValueFormatter?: ChartTooltipValueFormatter;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FluxStatisticsChartRadarIndicator, FluxStatisticsChartRadarSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
readonly advancedOptions?: EChartsOption;
|
|
6
|
+
readonly indicators: readonly FluxStatisticsChartRadarIndicator[];
|
|
7
|
+
readonly series: readonly FluxStatisticsChartRadarSeries[];
|
|
8
|
+
readonly tooltip?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FluxStatisticsChartGaugeSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
readonly advancedOptions?: EChartsOption;
|
|
6
|
+
readonly series: readonly FluxStatisticsChartGaugeSeries[];
|
|
7
|
+
readonly tooltip?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FluxStatisticsChartScatterSeries } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
readonly advancedOptions?: EChartsOption;
|
|
6
|
+
readonly series: readonly FluxStatisticsChartScatterSeries[];
|
|
7
|
+
readonly splitLines?: boolean;
|
|
8
|
+
readonly tooltip?: boolean;
|
|
9
|
+
readonly xAxisLabels?: boolean;
|
|
10
|
+
readonly yAxisLabels?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FluxColor } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { SparklineSeriesItem } from '../util';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
readonly color?: FluxColor | `#${string}`;
|
|
7
|
+
readonly options?: EChartsOption;
|
|
8
|
+
readonly series: readonly SparklineSeriesItem[];
|
|
9
|
+
readonly variant?: 'line' | 'bar' | 'area';
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FluxStatisticsChartTreemapNode } from '@flux-ui/types';
|
|
2
|
+
import { EChartsOption } from '../composable';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
readonly advancedOptions?: EChartsOption;
|
|
6
|
+
readonly nodes: readonly FluxStatisticsChartTreemapNode[];
|
|
7
|
+
readonly tooltip?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|