vuechrts 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +4 -0
- package/dist/index.js +13 -8
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
const
|
1
|
+
import { defineComponent as n, resolveComponent as s, openBlock as p, createBlock as c, mergeProps as l } from "vue";
|
2
|
+
const t = /* @__PURE__ */ n({
|
3
3
|
__name: "AreaChart",
|
4
4
|
props: {
|
5
5
|
data: {},
|
@@ -11,13 +11,18 @@ const m = /* @__PURE__ */ a({
|
|
11
11
|
generateChartTooltip: { type: Function }
|
12
12
|
},
|
13
13
|
setup(e) {
|
14
|
-
const
|
15
|
-
return (
|
16
|
-
const
|
17
|
-
return p(),
|
14
|
+
const o = e;
|
15
|
+
return (a, i) => {
|
16
|
+
const r = s("BaseArea");
|
17
|
+
return p(), c(r, l(o, { "cross-hair-template": a.generateChartTooltip }), null, 16, ["cross-hair-template"]);
|
18
18
|
};
|
19
19
|
}
|
20
|
-
})
|
20
|
+
}), h = {
|
21
|
+
install(e) {
|
22
|
+
e.components(t.name, t);
|
23
|
+
}
|
24
|
+
};
|
21
25
|
export {
|
22
|
-
|
26
|
+
t as AreaChart,
|
27
|
+
h as default
|
23
28
|
};
|
package/dist/index.umd.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.VueChrts={},t.Vue))})(this,function(t,e){"use strict";const
|
1
|
+
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.VueChrts={},t.Vue))})(this,function(t,e){"use strict";const n=e.defineComponent({__name:"AreaChart",props:{data:{},categories:{},xLabel:{},yLabel:{},displayProps:{},xFormatter:{type:Function},generateChartTooltip:{type:Function}},setup(o){const a=o;return(s,p)=>{const i=e.resolveComponent("BaseArea");return e.openBlock(),e.createBlock(i,e.mergeProps(a,{"cross-hair-template":s.generateChartTooltip}),null,16,["cross-hair-template"])}}}),r={install(o){o.components(n.name,n)}};t.AreaChart=n,t.default=r,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|