v-nuxt-ui 0.2.12 → 0.2.13
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/module.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { use } from "echarts/core";
|
|
3
3
|
import { CanvasRenderer } from "echarts/renderers";
|
|
4
|
-
import { BarChart, PieChart, LineChart } from "echarts/charts";
|
|
4
|
+
import { BarChart, PieChart, LineChart, RadarChart } from "echarts/charts";
|
|
5
5
|
import {
|
|
6
6
|
TitleComponent,
|
|
7
7
|
TooltipComponent,
|
|
@@ -34,6 +34,9 @@ const componentsToUse = [
|
|
|
34
34
|
if (props.useGrid) {
|
|
35
35
|
componentsToUse.push(GridComponent);
|
|
36
36
|
}
|
|
37
|
+
if (props.useRadar) {
|
|
38
|
+
componentsToUse.push(RadarComponent);
|
|
39
|
+
}
|
|
37
40
|
if (props.useBar) {
|
|
38
41
|
chartsToUse.push(BarChart);
|
|
39
42
|
}
|
|
@@ -44,7 +47,7 @@ if (props.useLine) {
|
|
|
44
47
|
chartsToUse.push(LineChart);
|
|
45
48
|
}
|
|
46
49
|
if (props.useRadar) {
|
|
47
|
-
chartsToUse.push(
|
|
50
|
+
chartsToUse.push(RadarChart);
|
|
48
51
|
}
|
|
49
52
|
use([...chartsToUse, ...componentsToUse]);
|
|
50
53
|
const theme = useTheme();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { VTableProps } from '#v/types';
|
|
2
2
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
-
props: import("vue").PublicProps & __VLS_PrettifyLocal<Pick<VTableProps<T>, "bizColumns" | "
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<Pick<VTableProps<T>, "bizColumns" | "singleRow" | "singleColumn" | "hideLastRowBorder"> & {
|
|
4
4
|
data: T[];
|
|
5
5
|
}> & (typeof globalThis extends {
|
|
6
6
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { VTableProps } from '#v/types';
|
|
2
2
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
-
props: import("vue").PublicProps & __VLS_PrettifyLocal<Pick<VTableProps<T>, "bizColumns" | "
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<Pick<VTableProps<T>, "bizColumns" | "singleRow" | "singleColumn" | "hideLastRowBorder"> & {
|
|
4
4
|
data: T[];
|
|
5
5
|
}> & (typeof globalThis extends {
|
|
6
6
|
__VLS_PROPS_FALLBACK: infer P;
|
package/package.json
CHANGED