vuechrts 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,22 @@
1
+ import { BulletLegendItemInterface } from '@unovis/ts';
2
+
3
+ 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<(Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & {
5
+ data: T[];
6
+ categories: Record<string, BulletLegendItemInterface>;
7
+ xLabel: string;
8
+ yLabel: string;
9
+ displayProps: string[];
10
+ xFormatter: (v: number) => string;
11
+ generateChartTooltip: (d: T) => string;
12
+ }, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
13
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
14
+ attrs: any;
15
+ slots: ReturnType<() => {}>;
16
+ emit: typeof __VLS_emit;
17
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
18
+ [key: string]: any;
19
+ }> & {
20
+ __ctx?: Awaited<typeof __VLS_setup>;
21
+ };
22
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as AreaChart } from './components/AreaChart.vue';
2
+
3
+ export { AreaChart };
package/package.json CHANGED
@@ -1,20 +1,26 @@
1
1
  {
2
2
  "name": "vuechrts",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
8
  "main": "./dist/vuechrts.umd.cjs",
9
9
  "module": "./dist/vuechrts.js",
10
+ "types": "./dist/index.d.ts",
10
11
  "exports": {
11
12
  ".": {
13
+ "types": "./dist/index.d.ts",
12
14
  "import": "./dist/vuechrts.js",
13
15
  "require": "./dist/vuechrts.umd.cjs"
14
16
  },
15
17
  "./style.css": "./dist/style.css"
16
18
  },
17
- "types": "./dist/index.d.ts",
19
+ "scripts": {
20
+ "dev": "vite",
21
+ "build": "vue-tsc -b && vite build",
22
+ "preview": "vite preview"
23
+ },
18
24
  "dependencies": {
19
25
  "vue": "^3.5.13"
20
26
  },
@@ -23,13 +29,10 @@
23
29
  "@unovis/vue": "^1.5.0",
24
30
  "@vitejs/plugin-vue": "^5.2.1",
25
31
  "@vue/tsconfig": "^0.7.0",
32
+ "vite-plugin-dts": "^3.9.1",
26
33
  "typescript": "~5.6.2",
27
34
  "vite": "^6.0.5",
28
35
  "vue-tsc": "^2.2.0"
29
36
  },
30
- "scripts": {
31
- "dev": "vite",
32
- "build": "vue-tsc -b && vite build",
33
- "preview": "vite preview"
34
- }
35
- }
37
+ "packageManager": "pnpm@9.13.2+sha512.88c9c3864450350e65a33587ab801acf946d7c814ed1134da4a924f6df5a2120fd36b46aab68f7cd1d413149112d53c7db3a4136624cfd00ff1846a0c6cef48a"
38
+ }
File without changes
File without changes