nuxt-echarts 0.3.0 → 0.3.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/LICENSE +21 -21
- package/dist/module.json +2 -2
- package/dist/module.mjs +4 -1
- package/dist/runtime/components/VChart.d.ts +1 -1
- package/dist/runtime/components/VChartIsland.server.vue +7 -17
- package/dist/runtime/components/VChartIsland.server.vue.d.ts +0 -1
- package/dist/runtime/components/VChartLight.vue +6 -6
- package/dist/runtime/components/VChartLight.vue.d.ts +2 -2
- package/dist/runtime/components/VChartServer.vue +3 -12
- package/dist/runtime/components/VChartServer.vue.d.ts +2 -221
- package/dist/runtime/server-plugin.d.ts +2 -0
- package/dist/runtime/server-plugin.js +4 -0
- package/package.json +13 -13
- package/dist/runtime/plugin.d.ts +0 -2
- package/dist/runtime/plugin.js +0 -3
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 - present, Yue JIN
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 - present, Yue JIN
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -23,7 +23,10 @@ const module = defineNuxtModule({
|
|
|
23
23
|
if (!nuxt.options.vite.optimizeDeps.exclude.includes("echarts")) {
|
|
24
24
|
nuxt.options.vite.optimizeDeps.exclude.push("echarts");
|
|
25
25
|
}
|
|
26
|
-
addPlugin(
|
|
26
|
+
addPlugin({
|
|
27
|
+
src: resolve("./runtime/server-plugin"),
|
|
28
|
+
mode: "server"
|
|
29
|
+
});
|
|
27
30
|
addComponentsDir({
|
|
28
31
|
path: resolve("./runtime/components"),
|
|
29
32
|
ignore: ["VChart.*"]
|
|
@@ -18,11 +18,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18
18
|
group: StringConstructor;
|
|
19
19
|
manualUpdate: BooleanConstructor;
|
|
20
20
|
}>, {
|
|
21
|
+
resize: (opts?: import("echarts/core").ResizeOpts) => void;
|
|
21
22
|
getWidth: () => number;
|
|
22
23
|
getHeight: () => number;
|
|
23
24
|
getDom: () => HTMLElement;
|
|
24
25
|
getOption: () => import("echarts/core").EChartsCoreOption;
|
|
25
|
-
resize: (opts?: import("echarts/core").ResizeOpts) => void;
|
|
26
26
|
dispatchAction: (payload: import("echarts/core").Payload, opt?: boolean | {
|
|
27
27
|
silent?: boolean;
|
|
28
28
|
flush?: boolean | undefined;
|
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import * as echarts from "echarts";
|
|
3
|
-
import "#build/echarts.mjs";
|
|
4
3
|
import { ref } from "vue";
|
|
5
4
|
const props = defineProps({
|
|
6
|
-
option: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
},
|
|
10
|
-
initOptions: {
|
|
11
|
-
type: null,
|
|
12
|
-
required: false
|
|
13
|
-
},
|
|
14
|
-
theme: {
|
|
15
|
-
type: null,
|
|
16
|
-
required: false
|
|
17
|
-
}
|
|
5
|
+
option: { type: null, required: false },
|
|
6
|
+
initOptions: { type: null, required: false },
|
|
7
|
+
theme: { type: null, required: false }
|
|
18
8
|
});
|
|
19
9
|
const svgStr = ref("");
|
|
20
10
|
const initOptions = echarts.util.merge(
|
|
@@ -29,8 +19,8 @@ defineSlots();
|
|
|
29
19
|
</script>
|
|
30
20
|
|
|
31
21
|
<template>
|
|
32
|
-
<div class="vue-echarts-container">
|
|
33
|
-
<!--eslint-disable-next-line vue/no-v-html-->
|
|
34
|
-
<div class="vue-echarts-inner" v-html="svgStr" />
|
|
35
|
-
</div>
|
|
22
|
+
<div class="vue-echarts-container">
|
|
23
|
+
<!--eslint-disable-next-line vue/no-v-html-->
|
|
24
|
+
<div class="vue-echarts-inner" v-html="svgStr" />
|
|
25
|
+
</div>
|
|
36
26
|
</template>
|
|
@@ -54,10 +54,10 @@ export default defineComponent({
|
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
56
|
<template>
|
|
57
|
-
<VChartServer
|
|
58
|
-
ref="root"
|
|
59
|
-
:option="option"
|
|
60
|
-
:init-options="initOptions"
|
|
61
|
-
:theme="theme"
|
|
62
|
-
/>
|
|
57
|
+
<VChartServer
|
|
58
|
+
ref="root"
|
|
59
|
+
:option="option"
|
|
60
|
+
:init-options="initOptions"
|
|
61
|
+
:theme="theme"
|
|
62
|
+
/>
|
|
63
63
|
</template>
|
|
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
68
68
|
onError?: ((error: unknown) => any) | undefined;
|
|
69
69
|
}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
70
70
|
$slots: {
|
|
71
|
-
fallback?: (
|
|
71
|
+
fallback?: (props: {}) => any;
|
|
72
72
|
};
|
|
73
73
|
}) | null, ({
|
|
74
74
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -129,7 +129,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
129
|
onError?: ((error: unknown) => any) | undefined;
|
|
130
130
|
}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
131
131
|
$slots: {
|
|
132
|
-
fallback?: (
|
|
132
|
+
fallback?: (props: {}) => any;
|
|
133
133
|
};
|
|
134
134
|
}) | null>;
|
|
135
135
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<ECSSREvent, ECSSRHandler>, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -4,18 +4,9 @@ import { THEME_KEY, INIT_OPTIONS_KEY } from "../utils/injection";
|
|
|
4
4
|
const defaultTheme = inject(THEME_KEY, null);
|
|
5
5
|
const defaultInitOptions = inject(INIT_OPTIONS_KEY, null);
|
|
6
6
|
const props = defineProps({
|
|
7
|
-
option: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
theme: {
|
|
12
|
-
type: null,
|
|
13
|
-
required: false
|
|
14
|
-
},
|
|
15
|
-
initOptions: {
|
|
16
|
-
type: null,
|
|
17
|
-
required: false
|
|
18
|
-
}
|
|
7
|
+
option: { type: null, required: false },
|
|
8
|
+
theme: { type: null, required: false },
|
|
9
|
+
initOptions: { type: null, required: false }
|
|
19
10
|
});
|
|
20
11
|
const emits = defineEmits(["error"]);
|
|
21
12
|
const realTheme = computed(() => props.theme || unref(defaultTheme) || {});
|
|
@@ -4,229 +4,10 @@ type __VLS_Props = {
|
|
|
4
4
|
theme?: Theme;
|
|
5
5
|
initOptions?: InitOptions;
|
|
6
6
|
};
|
|
7
|
-
declare const realTheme: import("vue").ComputedRef<Theme>;
|
|
8
|
-
declare const realInitOptions: import("vue").ComputedRef<import("echarts/core").EChartsInitOpts>;
|
|
9
|
-
declare function onError(e: unknown): void;
|
|
10
|
-
declare const root: import("vue").Ref<({
|
|
11
|
-
$: import("vue").ComponentInternalInstance;
|
|
12
|
-
$data: {};
|
|
13
|
-
$props: {
|
|
14
|
-
readonly option?: Option | undefined;
|
|
15
|
-
readonly initOptions?: InitOptions | undefined;
|
|
16
|
-
readonly theme?: Theme | undefined;
|
|
17
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
18
|
-
$attrs: {
|
|
19
|
-
[x: string]: unknown;
|
|
20
|
-
};
|
|
21
|
-
$refs: {
|
|
22
|
-
[x: string]: unknown;
|
|
23
|
-
};
|
|
24
|
-
$slots: Readonly<{
|
|
25
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
28
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
29
|
-
$host: Element | null;
|
|
30
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
31
|
-
$el: any;
|
|
32
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
33
|
-
option?: Option;
|
|
34
|
-
initOptions?: InitOptions;
|
|
35
|
-
theme?: Theme;
|
|
36
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
37
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
38
|
-
created?: (() => void) | (() => void)[];
|
|
39
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
40
|
-
mounted?: (() => void) | (() => void)[];
|
|
41
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
42
|
-
updated?: (() => void) | (() => void)[];
|
|
43
|
-
activated?: (() => void) | (() => void)[];
|
|
44
|
-
deactivated?: (() => void) | (() => void)[];
|
|
45
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
46
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
47
|
-
destroyed?: (() => void) | (() => void)[];
|
|
48
|
-
unmounted?: (() => void) | (() => void)[];
|
|
49
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
50
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
51
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
52
|
-
};
|
|
53
|
-
$forceUpdate: () => void;
|
|
54
|
-
$nextTick: typeof import("vue").nextTick;
|
|
55
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
56
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
57
|
-
option?: Option;
|
|
58
|
-
initOptions?: InitOptions;
|
|
59
|
-
theme?: Theme;
|
|
60
|
-
}> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
61
|
-
$slots: {
|
|
62
|
-
fallback: any;
|
|
63
|
-
};
|
|
64
|
-
} & {
|
|
65
|
-
$: import("vue").ComponentInternalInstance;
|
|
66
|
-
$data: {};
|
|
67
|
-
$props: Partial<{}> & Omit<{}, never>;
|
|
68
|
-
$attrs: {
|
|
69
|
-
[x: string]: unknown;
|
|
70
|
-
};
|
|
71
|
-
$refs: {
|
|
72
|
-
[x: string]: unknown;
|
|
73
|
-
};
|
|
74
|
-
$slots: Readonly<{
|
|
75
|
-
fallback: import("vue").Slot<{
|
|
76
|
-
error: unknown;
|
|
77
|
-
}>;
|
|
78
|
-
}>;
|
|
79
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
80
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
81
|
-
$host: Element | null;
|
|
82
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
83
|
-
$el: any;
|
|
84
|
-
$options: import("vue").ComponentOptionsBase<{}, {
|
|
85
|
-
refresh: () => Promise<void>;
|
|
86
|
-
}, {}, {}, {}, {}, {}, {}, string, {}, {}, string, import("vue").SlotsType<{
|
|
87
|
-
fallback: {
|
|
88
|
-
error: unknown;
|
|
89
|
-
};
|
|
90
|
-
}>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
91
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
92
|
-
created?: (() => void) | (() => void)[];
|
|
93
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
94
|
-
mounted?: (() => void) | (() => void)[];
|
|
95
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
96
|
-
updated?: (() => void) | (() => void)[];
|
|
97
|
-
activated?: (() => void) | (() => void)[];
|
|
98
|
-
deactivated?: (() => void) | (() => void)[];
|
|
99
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
100
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
101
|
-
destroyed?: (() => void) | (() => void)[];
|
|
102
|
-
unmounted?: (() => void) | (() => void)[];
|
|
103
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
104
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
105
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
106
|
-
};
|
|
107
|
-
$forceUpdate: () => void;
|
|
108
|
-
$nextTick: typeof import("vue").nextTick;
|
|
109
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
110
|
-
} & Readonly<{}> & Omit<{}, "refresh"> & import("vue").ShallowUnwrapRef<{
|
|
111
|
-
refresh: () => Promise<void>;
|
|
112
|
-
}>) | null, ({
|
|
113
|
-
$: import("vue").ComponentInternalInstance;
|
|
114
|
-
$data: {};
|
|
115
|
-
$props: {
|
|
116
|
-
readonly option?: Option | undefined;
|
|
117
|
-
readonly initOptions?: InitOptions | undefined;
|
|
118
|
-
readonly theme?: Theme | undefined;
|
|
119
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
120
|
-
$attrs: {
|
|
121
|
-
[x: string]: unknown;
|
|
122
|
-
};
|
|
123
|
-
$refs: {
|
|
124
|
-
[x: string]: unknown;
|
|
125
|
-
};
|
|
126
|
-
$slots: Readonly<{
|
|
127
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
128
|
-
}>;
|
|
129
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
130
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
131
|
-
$host: Element | null;
|
|
132
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
133
|
-
$el: any;
|
|
134
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
135
|
-
option?: Option;
|
|
136
|
-
initOptions?: InitOptions;
|
|
137
|
-
theme?: Theme;
|
|
138
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
139
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
140
|
-
created?: (() => void) | (() => void)[];
|
|
141
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
142
|
-
mounted?: (() => void) | (() => void)[];
|
|
143
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
144
|
-
updated?: (() => void) | (() => void)[];
|
|
145
|
-
activated?: (() => void) | (() => void)[];
|
|
146
|
-
deactivated?: (() => void) | (() => void)[];
|
|
147
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
148
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
149
|
-
destroyed?: (() => void) | (() => void)[];
|
|
150
|
-
unmounted?: (() => void) | (() => void)[];
|
|
151
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
152
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
153
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
154
|
-
};
|
|
155
|
-
$forceUpdate: () => void;
|
|
156
|
-
$nextTick: typeof import("vue").nextTick;
|
|
157
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
158
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
159
|
-
option?: Option;
|
|
160
|
-
initOptions?: InitOptions;
|
|
161
|
-
theme?: Theme;
|
|
162
|
-
}> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
163
|
-
$slots: {
|
|
164
|
-
fallback: any;
|
|
165
|
-
};
|
|
166
|
-
} & {
|
|
167
|
-
$: import("vue").ComponentInternalInstance;
|
|
168
|
-
$data: {};
|
|
169
|
-
$props: Partial<{}> & Omit<{}, never>;
|
|
170
|
-
$attrs: {
|
|
171
|
-
[x: string]: unknown;
|
|
172
|
-
};
|
|
173
|
-
$refs: {
|
|
174
|
-
[x: string]: unknown;
|
|
175
|
-
};
|
|
176
|
-
$slots: Readonly<{
|
|
177
|
-
fallback: import("vue").Slot<{
|
|
178
|
-
error: unknown;
|
|
179
|
-
}>;
|
|
180
|
-
}>;
|
|
181
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
182
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
183
|
-
$host: Element | null;
|
|
184
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
185
|
-
$el: any;
|
|
186
|
-
$options: import("vue").ComponentOptionsBase<{}, {
|
|
187
|
-
refresh: () => Promise<void>;
|
|
188
|
-
}, {}, {}, {}, {}, {}, {}, string, {}, {}, string, import("vue").SlotsType<{
|
|
189
|
-
fallback: {
|
|
190
|
-
error: unknown;
|
|
191
|
-
};
|
|
192
|
-
}>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
193
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
194
|
-
created?: (() => void) | (() => void)[];
|
|
195
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
196
|
-
mounted?: (() => void) | (() => void)[];
|
|
197
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
198
|
-
updated?: (() => void) | (() => void)[];
|
|
199
|
-
activated?: (() => void) | (() => void)[];
|
|
200
|
-
deactivated?: (() => void) | (() => void)[];
|
|
201
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
202
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
203
|
-
destroyed?: (() => void) | (() => void)[];
|
|
204
|
-
unmounted?: (() => void) | (() => void)[];
|
|
205
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
206
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
207
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
208
|
-
};
|
|
209
|
-
$forceUpdate: () => void;
|
|
210
|
-
$nextTick: typeof import("vue").nextTick;
|
|
211
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
212
|
-
} & Readonly<{}> & Omit<{}, "refresh"> & import("vue").ShallowUnwrapRef<{
|
|
213
|
-
refresh: () => Promise<void>;
|
|
214
|
-
}>) | null>;
|
|
215
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
216
7
|
declare var __VLS_11: {};
|
|
217
|
-
type __VLS_Slots =
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
218
9
|
fallback?: (props: typeof __VLS_11) => any;
|
|
219
|
-
}
|
|
220
|
-
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
221
|
-
realTheme: typeof realTheme;
|
|
222
|
-
realInitOptions: typeof realInitOptions;
|
|
223
|
-
onError: typeof onError;
|
|
224
|
-
root: typeof root;
|
|
225
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
226
|
-
error: (error: unknown) => any;
|
|
227
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
228
|
-
onError?: ((error: unknown) => any) | undefined;
|
|
229
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
};
|
|
230
11
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
231
12
|
error: (error: unknown) => any;
|
|
232
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-echarts",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Nuxt Module for Apache ECharts™",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"repository": "kingyue737/nuxt-echarts",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"type": "module",
|
|
17
|
-
"packageManager": "pnpm@10.
|
|
17
|
+
"packageManager": "pnpm@10.10.0",
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"types": "./dist/types.d.mts",
|
|
@@ -43,24 +43,24 @@
|
|
|
43
43
|
"test:types": "vue-tsc --noEmit && nuxi typecheck playground"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@nuxt/kit": "^3.
|
|
46
|
+
"@nuxt/kit": "^3.17.3",
|
|
47
47
|
"echarts": "^5.6.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@nuxt/eslint-config": "^1.3.
|
|
51
|
-
"@nuxt/module-builder": "^1.0.
|
|
52
|
-
"@nuxt/schema": "^3.
|
|
53
|
-
"@nuxt/test-utils": "^3.
|
|
54
|
-
"@types/node": "^22.
|
|
50
|
+
"@nuxt/eslint-config": "^1.3.1",
|
|
51
|
+
"@nuxt/module-builder": "^1.0.1",
|
|
52
|
+
"@nuxt/schema": "^3.17.3",
|
|
53
|
+
"@nuxt/test-utils": "^3.18.0",
|
|
54
|
+
"@types/node": "^22.15.18",
|
|
55
55
|
"changelogen": "^0.6.1",
|
|
56
|
-
"eslint": "^9.
|
|
57
|
-
"nuxt": "^3.
|
|
56
|
+
"eslint": "^9.26.0",
|
|
57
|
+
"nuxt": "^3.17.3",
|
|
58
58
|
"prettier": "^3.5.3",
|
|
59
59
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
60
60
|
"typescript": "^5.8.3",
|
|
61
|
-
"vite": "^6.
|
|
62
|
-
"vitest": "^3.1.
|
|
63
|
-
"vue-tsc": "^2.2.
|
|
61
|
+
"vite": "^6.3.5",
|
|
62
|
+
"vitest": "^3.1.3",
|
|
63
|
+
"vue-tsc": "^2.2.10"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"echarts": "^5.5.1"
|
package/dist/runtime/plugin.d.ts
DELETED
package/dist/runtime/plugin.js
DELETED