vuechrts 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,3 +1 @@
1
- import { default as AreaChart } from './components/AreaChart.vue';
2
-
3
- export { AreaChart };
1
+ export { default as AreaChart } from './components/AreaChart.vue';
package/package.json CHANGED
@@ -1,17 +1,20 @@
1
1
  {
2
2
  "name": "vuechrts",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
+ "type": "module",
5
+ "main": "./dist/index.umd.cjs",
4
6
  "files": [
5
7
  "dist"
6
8
  ],
7
- "types": "./dist/index.d.ts",
8
- "main": "./dist/index.cjs",
9
9
  "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
10
11
  "exports": {
11
12
  ".": {
13
+ "types": "./dist/index.d.ts",
12
14
  "import": "./dist/index.js",
13
- "require": "./dist/index.cjs"
14
- }
15
+ "require": "./dist/index.umd.cjs"
16
+ },
17
+ "./dist/style.css": "./dist/style.css"
15
18
  },
16
19
  "dependencies": {
17
20
  "vue": "^3.5.13"
package/dist/index.cjs.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=e.defineComponent({__name:"AreaChart",props:{data:{},categories:{},xLabel:{},yLabel:{},displayProps:{},xFormatter:{type:Function},generateChartTooltip:{type:Function}},setup(t){const r=t;return(o,s)=>{const a=e.resolveComponent("BaseArea");return e.openBlock(),e.createBlock(a,e.mergeProps(r,{"cross-hair-template":o.generateChartTooltip}),null,16,["cross-hair-template"])}}});exports.AreaChart=n;
@@ -1 +0,0 @@
1
- var VueChrts=function(t,e){"use strict";const r=e.defineComponent({__name:"AreaChart",props:{data:{},categories:{},xLabel:{},yLabel:{},displayProps:{},xFormatter:{type:Function},generateChartTooltip:{type:Function}},setup(a){const o=a;return(n,c)=>{const s=e.resolveComponent("BaseArea");return e.openBlock(),e.createBlock(s,e.mergeProps(o,{"cross-hair-template":n.generateChartTooltip}),null,16,["cross-hair-template"])}}});return t.AreaChart=r,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t}({},Vue);
File without changes
File without changes