vue-chrts 0.0.150 → 0.0.151
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/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +17 -12
- package/dist/index.js.map +1 -1
- package/dist/utils.cjs +2 -0
- package/dist/utils.cjs.map +1 -0
- package/dist/utils.d.ts +4 -0
- package/dist/utils.js +10 -0
- package/dist/utils.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/Area/AreaChart.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./utils.cjs"),t=require("./components/Area/AreaChart.cjs"),r=require("./components/AreaStacked/AreaStackedChart.cjs"),u=require("./components/Line/LineChart.cjs"),_=require("./components/Bar/BarChart.cjs"),a=require("./components/Donut/DonutChart.cjs"),s=require("./components/Crosshair/Crosshair.cjs");exports.hasAutoOrScrollCss=e.hasAutoOrScrollCss;exports.isBrowser=e.isBrowser;exports.isIE=e.isIE;exports.isVerticalOrientation=e.isVerticalOrientation;exports.AreaChart=t.default;exports.AreaStackedChart=r.default;exports.LineChart=u.default;exports.BarChart=_.default;exports.DonutChart=a.default;exports.Crosshair=s.default;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
1
|
+
import { hasAutoOrScrollCss as t, isBrowser as e, isIE as o, isVerticalOrientation as s } from "./utils.js";
|
|
2
|
+
import { default as l } from "./components/Area/AreaChart.js";
|
|
3
|
+
import { default as u } from "./components/AreaStacked/AreaStackedChart.js";
|
|
4
|
+
import { default as h } from "./components/Line/LineChart.js";
|
|
5
|
+
import { default as p } from "./components/Bar/BarChart.js";
|
|
6
|
+
import { default as C } from "./components/Donut/DonutChart.js";
|
|
7
|
+
import { default as c } from "./components/Crosshair/Crosshair.js";
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
l as AreaChart,
|
|
10
|
+
u as AreaStackedChart,
|
|
11
|
+
p as BarChart,
|
|
12
|
+
c as Crosshair,
|
|
13
|
+
C as DonutChart,
|
|
14
|
+
h as LineChart,
|
|
15
|
+
t as hasAutoOrScrollCss,
|
|
16
|
+
e as isBrowser,
|
|
17
|
+
o as isIE,
|
|
18
|
+
s as isVerticalOrientation
|
|
14
19
|
};
|
|
15
20
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/utils.cjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=typeof window<"u"&&typeof document<"u",e=t&&/msie|trident/i.test(typeof navigator<"u"&&(navigator==null?void 0:navigator.userAgent)||""),i=/auto|scroll/,o=/^tb|vertical/;exports.hasAutoOrScrollCss=i;exports.isBrowser=t;exports.isIE=e;exports.isVerticalOrientation=o;
|
|
2
|
+
//# sourceMappingURL=utils.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.cjs","sources":["../src/utils.ts"],"sourcesContent":["// Browser environment detection utilities\n\nexport const isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nexport const isIE = isBrowser && /msie|trident/i.test(\n typeof navigator !== 'undefined' && navigator?.userAgent || ''\n);\n\nexport const hasAutoOrScrollCss = /auto|scroll/;\nexport const isVerticalOrientation = /^tb|vertical/;"],"names":["isBrowser","isIE","hasAutoOrScrollCss","isVerticalOrientation"],"mappings":"gFAEO,MAAMA,EAAY,OAAO,OAAW,KAAe,OAAO,SAAa,IAEjEC,EAAOD,GAAa,gBAAgB,KAC/C,OAAO,UAAc,MAAe,iCAAW,YAAa,EAC9D,EAEaE,EAAqB,cACrBC,EAAwB"}
|
package/dist/utils.d.ts
ADDED
package/dist/utils.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const t = typeof window < "u" && typeof document < "u", e = t && /msie|trident/i.test(
|
|
2
|
+
typeof navigator < "u" && (navigator == null ? void 0 : navigator.userAgent) || ""
|
|
3
|
+
), n = /auto|scroll/, o = /^tb|vertical/;
|
|
4
|
+
export {
|
|
5
|
+
n as hasAutoOrScrollCss,
|
|
6
|
+
t as isBrowser,
|
|
7
|
+
e as isIE,
|
|
8
|
+
o as isVerticalOrientation
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../src/utils.ts"],"sourcesContent":["// Browser environment detection utilities\n\nexport const isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nexport const isIE = isBrowser && /msie|trident/i.test(\n typeof navigator !== 'undefined' && navigator?.userAgent || ''\n);\n\nexport const hasAutoOrScrollCss = /auto|scroll/;\nexport const isVerticalOrientation = /^tb|vertical/;"],"names":["isBrowser","isIE","hasAutoOrScrollCss","isVerticalOrientation"],"mappings":"AAEO,MAAMA,IAAY,OAAO,SAAW,OAAe,OAAO,WAAa,KAEjEC,IAAOD,KAAa,gBAAgB;AAAA,EAC/C,OAAO,YAAc,QAAe,uCAAW,cAAa;AAC9D,GAEaE,IAAqB,eACrBC,IAAwB;"}
|